Bug 463759

Summary: If 'Star' tab is selected, volume adjusted via Media Player applet is not properly updated in the OSD after source changes
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Media Player widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: jonas, kde, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2023-01-03 00:06:55 UTC
SUMMARY
This issue was reported in the bug tracker of Strawberry player:
https://github.com/strawberrymusicplayer/strawberry/issues/1083

The developer of Strawberry can also reproduce with Pragha player.

STEPS TO REPRODUCE
1. play an video/audio with an app controllable by the Media Player applet.
You can play a video in youtube with a browser, for example.
2. stop playback but does not close the app
3. play an audio with Strawberry music player
4. click on the Media Player applet and make sure that the 'Star' tab is selected
5. hover over the Media Player applet in the system tray and adjust the volume by scrolling up/down several times

OBSERVED RESULT
When we scroll several times in the last step, the volume level shown in the OSD is not continuously updated according to. The volume level shown in the OSD is continuously updated as expected if Strawberry tab of the applet is selected instead of the 'Star' one.

EXPECTED RESULT
The volume level shown in the OSD should be updated each time we scroll down/up.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-01-09 19:58:50 UTC
The OSD shows changes to global system volume; when you do this, you're changing the volume only in that app, and there's no OSD for that.

I gather you think there should be? If so, can you file a new bug report for that? Thanks!
Comment 2 Patrick Silva 2023-01-09 20:06:53 UTC
Created attachment 155156 [details]
screenshot

The OSD exists, and it includes the icon of the app whose volume was adjusted. Please see the attached screenshot.
Comment 3 Nate Graham 2023-01-09 20:21:08 UTC
Oh, right you are.

What seems to happen is that the OSD stops appearing after the source changes automatically.
Comment 4 Patrick Silva 2023-11-19 15:28:57 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland