Sliders in scrollable dialogs (Preferences) are still affected by mouse wheel
Summary:
Previously, issue 1587 was resolved, which fixed some places where scrolling dialog contents would inadvertently modify the values of sliders as they came under the mouse cursor. However, either the solution was incomplete or more instances have since been introduced. This same effect can be seen throughout the main preferences, such as in the Interface (Zoom correction factor, Handle size), Theming (Font Scale, Contrast) and Snapping (Persistence, Weight factor, Delay) pages.
Steps to reproduce:
- open Inkscape
- open the Preferences dialog (e.g. Edit -> Preferences)
- open the Interface page
- if the window is so large that the page isn't scrollable, resize it until it is
- use the mouse wheel (or touchpad scroll gestures) to scroll up and down the page
What happened?
- as the sliders came under the mouse cursor the page stopped scrolling and their values were changed unintentionally
Sample attachments: (inbox#12569 from @Steffo99 )
What should have happened?
Honestly, I never ever want the sliders to be manipulated by the mouse wheel/scroll gestures under any circumstances. (As an aside, I don't want checkboxes to change value when I click in the empty space to the right of the text either.) But I certainly don't want my mouse scrolling to spontaneously change from one behaviour to another during a scroll. Scrolling should be 100% reversible, so if it starts doing something else and moving in the opposite direction doesn't put things back the way they were, it's badly betraying my expectations.
Sample attachments:
Version info
Inkscape 1.4.2 (ebf0e940d0, 2025-05-08)
(On Arch Linux)