Bug 480321

Summary: sound volume adjustment broken via mouse scroll with cursor hover over speaker icon
Product: [Unmaintained] plasma-pa Reporter: Flap <frambooisier>
Component: appletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan, isma.af, me, nate, nowrep
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description Flap 2024-01-25 14:59:18 UTC
SUMMARY
***
sound scroll when hovering mouse cursor over speaker icon on the bottom right of the screen control wrong sound device if default output sound device changed. It controls previous device instead of the currently in use one. opening sound volume applet and scrolling briefly on the correct device fixes the issue.
***


STEPS TO REPRODUCE
1. change the output sound device 
2. hover over speaker icon and scroll to change the volume
3.  observe volume to change on previosly used sound device

OBSERVED RESULT
sound change apply to old device

EXPECTED RESULT

cursor hover over speaker change the active default sound device volume
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 23.10
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.10
ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-01-25 18:30:54 UTC
Can't reproduce on plasma 6.
Comment 2 Nate Graham 2024-02-15 19:05:55 UTC
Me neither. Let's say it's fixed there.
Comment 3 Ismael Asensio 2024-02-15 19:44:58 UTC
I can reproduce it, but it is also a duplicate (I only could find one other but I remember some more of them)

I'm on Kubuntu 23.10 same as the reporter, and this looks like an upstream issue with the control of the default device, so version of pipewire/wireplumber might matter here:

- pipewire: 0.3.79-2
- wireplumber: 0.4.14-4ubuntu1

*** This bug has been marked as a duplicate of bug 476626 ***
Comment 4 Flap 2024-02-16 04:47:30 UTC
(In reply to Ismael Asensio from comment #3)
> I can reproduce it, but it is also a duplicate (I only could find one other
> but I remember some more of them)
> 
> I'm on Kubuntu 23.10 same as the reporter, and this looks like an upstream
> issue with the control of the default device, so version of
> pipewire/wireplumber might matter here:
> 
> - pipewire: 0.3.79-2
> - wireplumber: 0.4.14-4ubuntu1
> 
> *** This bug has been marked as a duplicate of bug 476626 ***

Thank you for suggestion, I updated the pipewire with community Ubuntu repository and now it seems to be working fine.
Comment 5 Flap 2024-02-16 04:55:25 UTC
well, the only problem I noticed is if the sound applet is open, and the sound device is changed to new one then fraction or first "blip" sound is played on old device before it switches to new one, in other words it catches on with slight delay. If I change the device and close the sound applet, then there is no delay.