Bug 437160

Summary: After reaching max. volume(for odd numbered increments) and min. volume(for even numbered increments),there's a discrepancy between on-screen volume changer and the volume changing applet.
Product: [Unmaintained] plasma-pa Reporter: sayan <swastiksayan2712>
Component: appletAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null, swastiksayan2712
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22
Sentry Crash Report:
Attachments: Video of the issue
Screenshot of the issue

Description sayan 2021-05-15 15:24:20 UTC
SUMMARY
My volume jumps are set in 5% jumps.
Changing the volume from 0-95%(145% in case of extended volume) works fine, but as soon as the max volume is reached, the on-screen display shows the volume 1% less than the applet(the first decrease is from 100% to 94%, subsequent toggles work fine). This behavior fixes itself when you turn the volume to 0 again. 


STEPS TO REPRODUCE
1.Set the volume step to anything but 1 
2.Go to the max volume(in case of odd-valued volume steps) or min volume(in case of even-valued volume steps).
3.Try changing the volume using the keyboard. 

OBSERVED RESULT

The on-screen volume display and the volume-control applet show different values.

EXPECTED RESULT

They should show the same values.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

OS: Manjaro KDE
Kernel: 5.11.18-1-MANJARO
Comment 1 sayan 2021-05-15 15:33:45 UTC
Created attachment 138461 [details]
Video of the issue
Comment 2 sayan 2021-05-15 15:35:21 UTC
Created attachment 138462 [details]
Screenshot of the issue
Comment 3 Nate Graham 2021-05-18 21:07:46 UTC
This was fixed in Plasma 5.22 already, thank goodness. :)