Bug 418742

Summary: Mute/unmute button on the start bar icons targets the wrong application
Product: [Plasma] plasmashell Reporter: Mihai Sorin Dobrescu <msdobrescu>
Component: Icons-only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, msdobrescu, plasma-bugs
Priority: NOR    
Version: 5.18.1   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mihai Sorin Dobrescu 2020-03-11 18:57:37 UTC
SUMMARY

I have icons-only task manager setup and the restore Plasma session activated.
As effect, several (four in this case) Dolphin instances are restored at startup.

OBSERVED RESULT

I have started two VLC instances and a Firefox instance.

Firefox has no mute button on its icon.

The multiple instances are collapse in one icon on the icons-only task manager bar.

Dolphin icon has a mute button.
VLC icon has a mute button.

The bug consists in the fact that the mute button of Dolphin icon has effect over the first opened instance of VLC and that only.
The mute button on the VLC icon seems to affect nothing (I don't have an instance of some application to be muted by it, apparently).
Closing the second VLC instance removed the mute button from the Dolphin group icon.

Also, its unclear which instance the mute button should operate on which instance, as there are many, but seems to work on one only.
It's unclear if it is icons-only task manager related too.

STEPS TO REPRODUCE

Not sure of the sequence to open the instance of what application to get to the problem yet.

EXPECTED RESULT

The mute button should be assigned to a specific instance of an application or group of some kind and manage the application whose the icon belongs to.

SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux 
KDE Plasma Version: 5.18.1
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.4.0-sabayon
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7 CPU 920 @ 2.67GHz
Memory: 23,5 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Mihai Sorin Dobrescu 2020-03-11 19:12:11 UTC
Opening a second VLC again would activate the mute button on the Dolphin icon again.
Comment 2 Mihai Sorin Dobrescu 2020-03-12 17:24:31 UTC
I see the pattern. The mute button is assigned to Dolphin because VLC is opened as effect of the file type association with VLC, by launching a file associated with VLC from Dolphin.

I think it is not correct because Dolphin isn't the source of sound, but VLC.
Comment 3 Kai Uwe Broulik 2020-03-13 08:39:43 UTC

*** This bug has been marked as a duplicate of bug 417457 ***