Bug 450984 - Scrolling on volume slider is reversed from expected action
Summary: Scrolling on volume slider is reversed from expected action
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-28 23:49 UTC by Daniel Petrov
Modified: 2022-04-04 21:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.04
Sentry Crash Report:


Attachments
Volume slider areas (10.46 KB, image/png)
2022-03-07 23:54 UTC, Nagy Tibor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Petrov 2022-02-28 23:49:18 UTC
SUMMARY
When scrolling on the volume slider next to the progress bar, scrolling up/down changes the volume down/up instead of up/down.
**NOTE: My 'Invert scroll direction' option is disabled

STEPS TO REPRODUCE
1. Hover over the volume slider
2. Scroll up or down

OBSERVED RESULT
- When scrolling up, the volume decreases
- When scrolling down, the volume decreases
**When 'Invert scroll direction' is enabled, these behaviors are reversed.

EXPECTED RESULT
- When scrolling up, the volume should increase
- When scrolling down, the volume should decrease
[Same behavior as scrolling on the media or volume icons in the system tray]

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 21.10 / Linux 5.8.0-43-generic (64-bit)
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2022-03-01 15:19:35 UTC
Probably this bug should be re-assigned to another product.
Sliders in Mouse and General Behavior KCMs are also affected on Arch Linux running Plasma 5.24.2 and frameworks 5.91.
Comment 2 Nagy Tibor 2022-03-07 23:54:17 UTC
Created attachment 147357 [details]
Volume slider areas

I can also reproduce this. However this bug also depends on where you scroll on the volume bar:

- If you scroll exactly on the slider, it's busted.
- If you scroll on the padding above/below the volume bar, it works as expected.

I marked these areas on the attached screenshot.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 3 Nate Graham 2022-03-22 21:51:53 UTC
There is something weird going on with these sliders, yeah. Will investigate.
Comment 4 Nate Graham 2022-04-04 21:18:54 UTC
Git commit 611c0bf86ee3a2b1a0408c8fb7ec6caac2b8f3e1 by Nate Graham, on behalf of Jack Hill.
Committed on 04/04/2022 at 21:18.
Pushed by ngraham into branch 'release/22.04'.

Fix volume and duration slider mouse wheel events

Moved the MouseArea to inside the slider. Previously the Slider was
overriding the MouseArea and wheel events were not working correctly.
FIXED-IN: 22.04

M  +18   -32   src/qml/DurationSlider.qml
M  +1    -1    src/qml/MediaPlayerControl.qml
M  +21   -26   src/qml/VolumeSlider.qml
M  +2    -2    src/qml/mobile/MobileVolumeButton.qml

https://invent.kde.org/multimedia/elisa/commit/611c0bf86ee3a2b1a0408c8fb7ec6caac2b8f3e1