Bug 489243 - Muting one app from its Task Manager mute badge mutes all apps playing audio
Summary: Muting one app from its Task Manager mute badge mutes all apps playing audio
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.1.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 467125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-26 14:57 UTC by Stuart Morgan
Modified: 2025-01-04 04:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Morgan 2024-06-26 14:57:39 UTC
SUMMARY

In Plasma 5 clicking on the audio icon of an application in the task manager would mute ONLY that application. With Plasma 6 (Fedora 40), the behaviour has changed, erroneously I believe, to muting ALL applications.

The original feature was added through this submitted patch:
https://phabricator.kde.org/D19822



STEPS TO REPRODUCE
1. Open more than one application that outputs audio
2. Click on the audio (speaker) icon in the task bar to mute ONE application

OBSERVED RESULT
All applications are muted.


EXPECTED RESULT
Only the application that was explicitly muted should be muted.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Comment 1 Stuart Morgan 2024-06-26 15:05:01 UTC
As always seems to happen after an hour of testing, but mere moments after submitting the ticket, I've noticed that this behaviour happens under a specific circumstance. The application I had been muting was a game launched through Steam (Hitman Go), the behaviour described occurs if you mute this specific application, but not when muting other applications (so far). I can individually mute the game through pavucontrol or kde sound settings, and muting it through the task manager has worked in previous plasma releases but there's obviously something specific to the way audio is routed for this game which is causing this issue in Plasma 6.
Comment 2 Nate Graham 2024-06-26 16:48:01 UTC
When you mute the game through it's task manager icon, what other apps get inappropriately muted as well?

Can you paste the output of `pstree`?
Comment 3 Stuart Morgan 2024-06-27 09:19:14 UTC
(In reply to Nate Graham from comment #2)
> When you mute the game through it's task manager icon, what other apps get
> inappropriately muted as well?

So far, every application I've tried - VLC, Elisa, Google Meet app (Electron), Audacity and ffplay (launched from Konsole). I don't have audio notifications enabled so I'm not sure if they are similarly affected.

> Can you paste the output of `pstree`?

$ pstree
systemd─┬─ModemManager───3*[{ModemManager}]
        ├─NetworkManager───3*[{NetworkManager}]
        ├─abrt-dbus───3*[{abrt-dbus}]
        ├─3*[abrt-dump-journ]
        ├─abrtd───3*[{abrtd}]
        ├─accounts-daemon───3*[{accounts-daemon}]
        ├─alsactl
        ├─atd
        ├─auditd───{auditd}
        ├─avahi-daemon───avahi-daemon
        ├─bluetoothd
        ├─chronyd
        ├─colord───3*[{colord}]
        ├─crond
        ├─cupsd───{cupsd}
        ├─dbus-broker-lau───dbus-broker
        ├─earlyoom
        ├─firewalld───{firewalld}
        ├─gssproxy───5*[{gssproxy}]
        ├─irqbalance───{irqbalance}
        ├─kwalletd6───3*[{kwalletd6}]
        ├─mariadbd───8*[{mariadbd}]
        ├─passimd───3*[{passimd}]
        ├─pcscd───9*[{pcscd}]
        ├─polkitd───3*[{polkitd}]
        ├─power-profiles-───3*[{power-profiles-}]
        ├─python3
        ├─rngd───4*[{rngd}]
        ├─rsyslogd───2*[{rsyslogd}]
        ├─rtkit-daemon───2*[{rtkit-daemon}]
        ├─sddm─┬─Xorg───{Xorg}
        │      ├─sddm-helper───startplasma-way───{startplasma-way}
        │      └─{sddm}
        ├─smartd
        ├─sshd
        ├─sssd_kcm
        ├─switcheroo-cont───3*[{switcheroo-cont}]
        ├─systemd─┬─(sd-pam)
        │         ├─DiscoverNotifie───6*[{DiscoverNotifie}]
        │         ├─abrt-applet───4*[{abrt-applet}]
        │         ├─agent───3*[{agent}]
        │         ├─akonadi_control─┬─akonadi_akonote───4*[{akonadi_akonote}]
        │         │                 ├─akonadi_archive───5*[{akonadi_archive}]
        │         │                 ├─akonadi_birthda───4*[{akonadi_birthda}]
        │         │                 ├─akonadi_contact───4*[{akonadi_contact}]
        │         │                 ├─akonadi_followu───4*[{akonadi_followu}]
        │         │                 ├─akonadi_ical_re───4*[{akonadi_ical_re}]
        │         │                 ├─2*[akonadi_imap_re───4*[{akonadi_imap_re}]]
        │         │                 ├─akonadi_imap_re───6*[{akonadi_imap_re}]
        │         │                 ├─akonadi_indexin───4*[{akonadi_indexin}]
        │         │                 ├─akonadi_maildir───4*[{akonadi_maildir}]
        │         │                 ├─akonadi_maildis───4*[{akonadi_maildis}]
        │         │                 ├─akonadi_mailfil───5*[{akonadi_mailfil}]
        │         │                 ├─akonadi_mailmer───4*[{akonadi_mailmer}]
        │         │                 ├─akonadi_migrati───4*[{akonadi_migrati}]
        │         │                 ├─akonadi_newmail───5*[{akonadi_newmail}]
        │         │                 ├─akonadi_sendlat───4*[{akonadi_sendlat}]
        │         │                 ├─akonadi_unified───4*[{akonadi_unified}]
        │         │                 ├─akonadiserver─┬─mysqld───16*[{mysqld}]
        │         │                 │               └─41*[{akonadiserver}]
        │         │                 └─6*[{akonadi_control}]
        │         ├─at-spi-bus-laun─┬─dbus-broker-lau───dbus-broker
        │         │                 └─4*[{at-spi-bus-laun}]
        │         ├─at-spi2-registr───3*[{at-spi2-registr}]
        │         ├─audacity───11*[{audacity}]
        │         ├─baloorunner───3*[{baloorunner}]
        │         ├─bash─┬─srt-logger
        │         │      └─steam─┬─gameoverlayui───3*[{gameoverlayui}]
        │         │              ├─reaper───HitmanGo.x86_64───156*[{HitmanGo.x86_64}]
        │         │              ├─steam-runtime-l───2*[{steam-runtime-l}]
        │         │              ├─steam-runtime-s─┬─srt-bwrap───pressure-vessel─┬─steamwebhelper─┬─steamwebhelper───steamwebhelper─┬─steamwebhelper
        │         │              │                 │                             │                │                                 └─4*[{steamwebhelper}]
        │         │              │                 │                             │                ├─steamwebhelper───steamwebhelper─┬─steamwebhelper───3*[{steamwebhelper}]
        │         │              │                 │                             │                │                                 ├─steamwebhelper───13*[{steamwebhelper}]
        │         │              │                 │                             │                │                                 └─steamwebhelper───11*[{steamwebhelper}]
        │         │              │                 │                             │                ├─steamwebhelper───5*[{steamwebhelper}]
        │         │              │                 │                             │                └─17*[{steamwebhelper}]
        │         │              │                 │                             └─steamwebhelper───2*[{steamwebhelper}]
        │         │              │                 └─srt-logger
        │         │              └─42*[{steam}]
        │         ├─buttercup-deskt─┬─buttercup-deskt───buttercup-deskt
        │         │                 ├─buttercup-deskt───5*[{buttercup-deskt}]
        │         │                 └─28*[{buttercup-deskt}]
        │         ├─2*[chrome_crashpad───{chrome_crashpad}]
        │         ├─chrome_crashpad
        │         ├─chrome_crashpad───2*[{chrome_crashpad}]
        │         ├─chromium-freewo─┬─2*[cat]
        │         │                 ├─chromium-freewo───chromium-freewo─┬─chromium-freewo
        │         │                 │                                   └─6*[{chromium-freewo}]
        │         │                 ├─chromium-freewo───chromium-freewo─┬─chromium-freewo───3*[{chromium-freewo}]
        │         │                 │                                   ├─chromium-freewo───30*[{chromium-freewo}]
        │         │                 │                                   ├─chromium-freewo───6*[{chromium-freewo}]
        │         │                 │                                   └─chromium-freewo───13*[{chromium-freewo}]
        │         │                 ├─chromium-freewo───6*[{chromium-freewo}]
        │         │                 ├─chromium-freewo───7*[{chromium-freewo}]
        │         │                 └─27*[{chromium-freewo}]
        │         ├─dbus-broker-lau───dbus-broker
        │         ├─dconf-service───3*[{dconf-service}]
        │         ├─gmenudbusmenupr───2*[{gmenudbusmenupr}]
        │         ├─goa-daemon───4*[{goa-daemon}]
        │         ├─goa-identity-se───4*[{goa-identity-se}]
        │         ├─gpg-agent─┬─scdaemon───{scdaemon}
        │         │           └─{gpg-agent}
        │         ├─gvfs-goa-volume───3*[{gvfs-goa-volume}]
        │         ├─gvfs-udisks2-vo───4*[{gvfs-udisks2-vo}]
        │         ├─gvfsd─┬─gvfsd-dnssd───3*[{gvfsd-dnssd}]
        │         │       ├─gvfsd-network───4*[{gvfsd-network}]
        │         │       ├─gvfsd-trash───4*[{gvfsd-trash}]
        │         │       ├─gvfsd-wsdd─┬─wsdd
        │         │       │            └─3*[{gvfsd-wsdd}]
        │         │       └─3*[{gvfsd}]
        │         ├─kaccess───2*[{kaccess}]
        │         ├─kactivitymanage───6*[{kactivitymanage}]
        │         ├─kalendarac───5*[{kalendarac}]
        │         ├─kdeconnectd───6*[{kdeconnectd}]
        │         ├─kded6───11*[{kded6}]
        │         ├─kio-fuse───{kio-fuse}
        │         ├─kmail─┬─QtWebEngineProc
        │         │       ├─QtWebEngineProc───QtWebEngineProc───QtWebEngineProc───17*[{QtWebEngineProc}]
        │         │       └─28*[{kmail}]
        │         ├─konsole─┬─4*[bash]
        │         │         ├─bash───su───bash
        │         │         ├─2*[bash───python]
        │         │         ├─bash───node───13*[{node}]
        │         │         ├─bash───ffplay───57*[{ffplay}]
        │         │         ├─bash───pstree
        │         │         ├─bash───elisa───51*[{elisa}]
        │         │         └─14*[{konsole}]
        │         ├─ksmserver───2*[{ksmserver}]
        │         ├─ksystemstats───{ksystemstats}
        │         ├─kwalletmanager5───3*[{kwalletmanager5}]
        │         ├─kwin_wayland_wr─┬─kwin_wayland─┬─Xwayland
        │         │                 │              ├─maliit-keyboard───14*[{maliit-keyboard}]
        │         │                 │              └─12*[{kwin_wayland}]
        │         │                 └─{kwin_wayland_wr}
        │         ├─nextcloud───10*[{nextcloud}]
        │         ├─obexd
        │         ├─org_kde_powerde───6*[{org_kde_powerde}]
        │         ├─pipewire───2*[{pipewire}]
        │         ├─pipewire-media-───2*[{pipewire-media-}]
        │         ├─pipewire-pulse───2*[{pipewire-pulse}]
        │         ├─plasmashell───64*[{plasmashell}]
        │         ├─polkit-kde-auth───6*[{polkit-kde-auth}]
        │         ├─solaar───8*[{solaar}]
        │         ├─ssh-agent
        │         ├─synergy-service─┬─synergy-tray───5*[{synergy-tray}]
        │         │                 └─9*[{synergy-service}]
        │         ├─uresourced───4*[{uresourced}]
        │         ├─vivaldi-bin─┬─2*[cat]
        │         │             ├─vivaldi-bin───vivaldi-bin─┬─vivaldi-bin
        │         │             │                           └─10*[{vivaldi-bin}]
        │         │             ├─vivaldi-bin───vivaldi-bin─┬─vivaldi-bin───5*[{vivaldi-bin}]
        │         │             │                           ├─vivaldi-bin───37*[{vivaldi-bin}]
        │         │             │                           ├─vivaldi-bin───41*[{vivaldi-bin}]
        │         │             │                           ├─2*[vivaldi-bin───16*[{vivaldi-bin}]]
        │         │             │                           ├─vivaldi-bin───17*[{vivaldi-bin}]
        │         │             │                           ├─2*[vivaldi-bin───8*[{vivaldi-bin}]]
        │         │             │                           ├─vivaldi-bin───42*[{vivaldi-bin}]
        │         │             │                           ├─vivaldi-bin───25*[{vivaldi-bin}]
        │         │             │                           ├─vivaldi-bin───30*[{vivaldi-bin}]
        │         │             │                           ├─vivaldi-bin───28*[{vivaldi-bin}]
        │         │             │                           └─vivaldi-bin───29*[{vivaldi-bin}]
        │         │             ├─vivaldi-bin───11*[{vivaldi-bin}]
        │         │             ├─vivaldi-bin───6*[{vivaldi-bin}]
        │         │             └─43*[{vivaldi-bin}]
        │         ├─vlc───21*[{vlc}]
        │         ├─xdg-desktop-por───6*[{xdg-desktop-por}]
        │         ├─xdg-desktop-por───3*[{xdg-desktop-por}]
        │         ├─xdg-desktop-por───4*[{xdg-desktop-por}]
        │         ├─xdg-document-po─┬─fusermount3
        │         │                 └─6*[{xdg-document-po}]
        │         ├─xdg-permission-───3*[{xdg-permission-}]
        │         ├─xembedsniproxy───2*[{xembedsniproxy}]
        │         └─xsettingsd
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-oomd
        ├─systemd-resolve
        ├─systemd-tty-ask
        ├─systemd-udevd
        ├─udisksd───5*[{udisksd}]
        ├─upowerd───3*[{upowerd}]
        ├─vmware-authdlau
        ├─vmware-usbarbit
        └─vmware-vmblock-───2*[{vmware-vmblock-}]
Comment 4 Nate Graham 2024-06-27 18:59:38 UTC
Thanks. I was hoping it would be obvious because they all had the same non-systemd parent process or something, but no dice.

Are you also seeing an issue whereby when one app is playing, all of them erroneously get mute badges in the corner?
Comment 5 Stuart Morgan 2024-06-27 19:16:30 UTC
(In reply to Nate Graham from comment #4)
> Are you also seeing an issue whereby when one app is playing, all of them
> erroneously get mute badges in the corner?

No, only the apps currently playing audio shows the speaker icon.

When muted individually when muted only the muted app shows a muted icon.

When the game is muted however, all apps which were currently playing display the mute icon. In other words this behaviour is at a high enough level that the icons correctly reflect the application status. This is distinct behaviour from say muting line out which isn't reflected in the task manager icon.
Comment 6 Bug Janitor Service 2024-07-12 03:47:06 UTC Comment hidden (spam)
Comment 7 Nate Graham 2024-07-22 18:47:57 UTC
Well, that's confusing. No idea what to do about it, and can't reproduce it on current git master with any of those apps or some Steam games.
Comment 8 TraceyC 2024-09-26 19:23:21 UTC
This is the same bug as 375943, please follow that report to keep track of progress. Thanks!

*** This bug has been marked as a duplicate of bug 375943 ***
Comment 9 Nate Graham 2024-10-28 21:37:01 UTC
*** Bug 467125 has been marked as a duplicate of this bug. ***