Bug 385270 - Disable volume slider by scroll function optionally
Summary: Disable volume slider by scroll function optionally
Alias: None
Product: plasma-pa
Classification: Unclassified
Component: applet (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: David Rosca
Keywords: usability
: 365277 385834 401716 (view as bug list)
Depends on:
Reported: 2017-10-01 17:10 UTC by Matthias
Modified: 2022-01-06 16:55 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: Frameworks 5.90 with Plasma 5.24


Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2017-10-01 17:10:10 UTC
I scroll on my laptop with two fingers on the touchpad, I think this is quite common. So, when I do this in plasma-pa, to reach the different streams (there are quite a lot here) does this change the actual volume instead scrolling down.
Comment 1 Nate Graham 2020-01-31 15:55:07 UTC
*** Bug 365277 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2020-01-31 15:55:14 UTC
*** Bug 401716 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2020-01-31 15:55:18 UTC
*** Bug 385834 has been marked as a duplicate of this bug. ***
Comment 4 Bug Janitor Service 2021-04-27 15:20:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/58
Comment 5 Bart Ribbers 2021-10-11 12:40:38 UTC
This is not just annoying with the touchpad, it happens when scrolling with the scrollwheel of a mouse too.

This is actually something that Linus from Linus Tech Tips mentioned as something that's bothering him, it would be great to have this fixed anytime soon so he can show off to his viewers that KDE is actively improving and fixing things all the time with an example of his own experience :D
Comment 6 Nate Graham 2021-10-11 18:48:00 UTC
Good idea! I think I have a way to fix this that will avoid upsetting the small number of people who would otherwise complain that this broke their workflow: we only allow scrolling on a control to change its value when it's focused. Then you can focus a control to fine-tune its value with a scroll, but unfocused controls will ignore scroll events to avoid the conflict between "view scroll" and "change control values scroll".
Comment 7 Bug Janitor Service 2021-10-11 18:50:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/350
Comment 8 Nate Graham 2022-01-06 16:55:46 UTC
This has been fixed by Noah Davis with https://invent.kde.org/frameworks/kirigami/-/commit/f6ca218607ff7e5d5066eb3224154c3256cb9516 in Frameworks 5.90 with Plasma 5.24.

The fix is as follows: Now when you scroll on a scrollable view, any controls on the view which handle scroll events (like the sliders here) will not start changing when the cursor passes over them. They will only respond to a scroll when the cursor *starts* over them, not when it just happens to pass over them because the view is scrolling. This fixes the annoyance described here while preserving the controls' ability to be modified by scrolling on them, giving us the best of both worlds. Thanks Noah!