https://bugs.kde.org/show_bug.cgi?id=472539

            Bug ID: 472539
           Summary: Speaker icon appears on applications that have the
                    same name of the audio context name
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.6
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: tinozzo...@tutanota.com
  Target Milestone: 1.0

Created attachment 160473
  --> https://bugs.kde.org/attachment.cgi?id=160473&action=edit
Task manager screenshot, showing the speaker icon on Dolphin file manager due
to Dolphin Emulator

SUMMARY
When an application is playing audio, the task manager will put a speaker icon
over the app. (Which can be clicked to mute it.)
However, if there's an application that has the same name of the context name
of the audio source, both applications will have the speaker icon.

For example, let's take Dolphin, the GameCube/Wii emulator. Its context name
for the audio (when using the Cubeb audio backend) is simply "Dolphin", meaning
that the speaker icon will also appear over Dolphin, the file manager, even
though it may even not be open.

Note: this doesn't apply to having multiple instances. See the image attached,
where:
- The first mpv is playing music, the second is not.
- The first Dolphin Emulator instance is playing a game, and Dolphin file
manager is "inheriting" the speaker icon (even though it's not even open).
- However, the second Dolphin Emulator instance is not playing any games, and
it doesn't have the speaker icon (as it should).

(You could argue that Dolphin Emulator should use "Dolphin Emulator" for the
audio context name, so I made this PR:
https://github.com/dolphin-emu/dolphin/pull/12063. With it, the file manager
doesn't have the speaker icon anymore. Still, it doesn't mean that there isn't
a KDE bug to be solved.)


STEPS TO REPRODUCE
I can't find any other example of conflicting names like this, meaning that you
need to have Dolphin Emulator set up to reproduce it.
You can find an unofficial AppImage here:
https://github.com/qurious-pixel/dolphin/releases

1. Have Dolphin (file manager) pinned on the task manager;
2. Open Dolphin Emulator;
3. Go to Config > Audio and select "Cubeb" as the Audio Backend;
4. Make Dolphin Emulator play sound by playing a game.
  * If you don't have any game, you can go to Tools > Perform Online System
Update, then Tools > Load Wii System Menu.

OBSERVED RESULT
Dolphin (file manager) will have a speaker icon on top of it.

EXPECTED RESULT
Dolphin (file manager) shouldn't have a speaker icon on top of it.

SOFTWARE/OS VERSIONS
Operating System: NixOS 23.11
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.9
Kernel Version: 6.4.3-cachyos (64-bit)
Graphics Platform: Wayland (Dolphin Emulator uses XWayland)

ADDITIONAL INFORMATION
I'm using PipeWire with WirePlumber.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to