darktable-org / darktable-org/darktable
Horizontal scroll is flipped
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
When using the normal/vertical mouse wheel over a slider (or scrolling vertically on a touch pad), the logical (to me) thing happens: scrolling up increases the slider, and scrolling down decreases it. Using the normal/vertical mouse wheel to zoom also does the logical (to me) thing: scroll up zooms in, scroll down zooms out.
However, for horizontal scrolling, the direction is flipped: scrolling left increases sliders, and scrolling right decreases it. That seems backwards. For zooming, it is a little more arbitrary which direction does what, but my intuition also goes the other way around: scrolling left should zoom out, and scrolling right should zoom in, but they do the opposite.
Steps to reproduce
- Enter darkroom
- Hover your mouse over a slider, for example: "exposure"
- (optionally press ctrl+alt if the "mouse wheel scrolls modules side panel by default" is enabled)
- scroll left
Expected behavior
The value of the slider should decrease
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
5.2.1
What OS are you using?
Mac
What is the version of your OS?
macOS 15.6.1 (24G90)
Describe your system
14" M1 MacBook Pro
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in darkroom by reproducing the issue on macOS with horizontal scrolling over the exposure slider, then trace the handling for horizontal wheel input and compare it with vertical scrolling and zooming. Done means scrolling left decreases the slider value, while horizontal zooming follows the expected direction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100