Bug 459639 - Nothing happens when I scroll on top of the sliders in Audio KCM
Summary: Nothing happens when I scroll on top of the sliders in Audio KCM
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_pulseaudio (show other bugs)
Version: 5.27.80
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 10:31 UTC by Patrick Silva
Modified: 2024-01-24 18:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-25 10:31:01 UTC
SUUMARY
We can adjust the volume level by scrolling on top of the sliders of plasma-pa applet.
But we cannot do the same with the sliders in Audio KCM.

STEPS TO REPRODUCE
1. open Audio KCM
2. hover over any slider
3. scroll up/down

OBSERVED RESULT
nothing happens

EXPECTED RESULT
volume level changes

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-09-26 19:25:28 UTC
Can reproduce. Seems like an issue specific to the custom slider object in this KCM.
Comment 2 Bug Janitor Service 2024-01-24 04:08:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/234
Comment 3 fanzhuyifan 2024-01-24 18:02:34 UTC
Git commit 661f40d7a4f81fd0aebf67c09a9dd5ea17b6fb1f by Yifan Zhu.
Committed on 24/01/2024 at 19:00.
Pushed by fanzhuyifan into branch 'master'.

kcm/VolumeSlider: fix scroll

stepSize was not set to disable tickmarks. However scrolling also
depends on stepSize. qqc2-desktop-stlye implements scrolling via
increase()/descrease() functions, which default to steps of 0.1
when stepSize is not set.

Override them to get scrolling working without setting stepSize.
Related: bug 409325
FIXED-IN: 6.0

M  +6    -2    src/kcm/ui/VolumeSlider.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/661f40d7a4f81fd0aebf67c09a9dd5ea17b6fb1f
Comment 4 fanzhuyifan 2024-01-24 18:16:07 UTC
Git commit ec336f6451e92b8946eb750068ebe31875a2fd4e by Yifan Zhu.
Committed on 24/01/2024 at 19:14.
Pushed by fanzhuyifan into branch 'Plasma/6.0'.

kcm/VolumeSlider: fix scroll

stepSize was not set to disable tickmarks. However scrolling also
depends on stepSize. qqc2-desktop-stlye implements scrolling via
increase()/descrease() functions, which default to steps of 0.1
when stepSize is not set.

Override them to get scrolling working without setting stepSize.
Related: bug 409325
FIXED-IN: 6.0


(cherry picked from commit 661f40d7a4f81fd0aebf67c09a9dd5ea17b6fb1f)

M  +6    -2    src/kcm/ui/VolumeSlider.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/ec336f6451e92b8946eb750068ebe31875a2fd4e