https://bugs.kde.org/show_bug.cgi?id=399324

            Bug ID: 399324
           Summary: Mouse wheel changes sliders, list widgets, and numeric
                    fields
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: jimbo1...@protonmail.com
  Target Milestone: ---

SUMMARY
Scrolling through a long form results in accidentally changing form values.
Mouse wheel changes values of sliders, list widgets, and numeric fields, even
when not focused.

STEPS TO REPRODUCE
Scroll through a page or form. If any {slider, list widget, numeric field}
passes under the mouse pointer, the scroll is interrupted, and the widget's
value is changed instead.

Example (Qt):
- Open KDE System Settings, Screen Edges.
- Make window vertically short.
- Scroll vertically, moving cursor so that after scrolling, cursor ends up on
top of any numeric text field.

Example (Gtk+3):
- Firefox, Ctrl+P to open Print dialog
- Click Advanced tab
- Scroll down.

OBSERVED RESULT
All future scroll operations result in changing form values instead of
scrolling through the form.

EXPECTED RESULT
Scrolling only affects the value of a field/widget, either:
a. if field has keyboard focus AND cursor is on top
b. never

WORKAROUND
The only way to reliably *scroll* through a form without *randomly* corrupting
form state, is to position the cursor on the scrollbar before using the wheel.
Which nearly defeats the purpose of the scroll wheel.

https://old.reddit.com/r/kde/comments/9cbema/mouse_wheel_changes_sliders_and_drop_down_menus/

> In e.g. Firefox this is more intelligent: If you just "scroll over" an 
> element, it is not activated/changed. Only if you move your mouse over it by 
> yourself and use the wheel, it triggers. I guess Firefox (or GTK?) checks on 
> mouse over if the last input event was a scroll or a move, and only triggers 
> on move, or if some time has passed. So you can just fly through a page 
> without accidentally activating elements. I love this behavior.
>Long story short: Is there a way to change this to the "intelligent' behavior? 
>If not, can I turn off the "change value via mouse wheel" feature for Qt 
>applications completely?


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to