STEPS TO REPRODUCE 1. click on sound icon in the system tray and check "Raise maximum volume" 2. set volume level to 100% 3. play some audio 4. lock your screen 5. increase the volume level OBSERVED RESULT the volume level increases but OSD is still showing 100% EXPECTED RESULT OSD should show volume level above 100% while the screen is locked SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2
Fixed in Plasma 5.21.
it's still reproducible at least on neon unstable. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Graphics Platform: Wayland
Confirmed, there is no mention of maxValue in all of kscreenlocker. The logic isn't wired up there at all.
Oops yeah, I was testing wrong.
The lock screen relies on signals from osdService to display its own OSDs. But those signals don't have any information about max percentage. Adding a max percent parameter to the osdProgress signal would mean breaking the DBus API (because as far as I know, DBus doesn't have overloads or default values so existing users would break). So a proper solution would need to wait for KDE 6 I think. As a hack in the meantime we can assume that the max is 150 if the value is >100.
https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/108
Git commit f35d5ba4bafb12c00608d6a7141cc522f2d4c790 by Bharadwaj Raju. Committed on 26/10/2022 at 20:58. Pushed by bharadwaj-raju into branch 'master'. Workaround: assume max percent is 150 if percent is >100 in OSD Proper solution seems like it'll need to wait for KF6. M +4 -0 greeter/greeterapp.cpp https://invent.kde.org/plasma/kscreenlocker/commit/f35d5ba4bafb12c00608d6a7141cc522f2d4c790
This bug is still reproducible on neon unstable. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Graphics Platform: Wayland
Don't know how that happened... Make sure you're actually raising volume above 100. Even if raise max volume is enabled but current volume is <= 100, the lockscreen OSD will show the slider going upto 100 only, and this is expected behavior for now.
(There is another bug I notice where the volume keys seem to straight up not change the volume sometimes when in the lock screen, maybe this is another confounding factor)
This has been fixed for good in Plasma 6.