When all players are closed, media player applet on the desktop still shows a track from the last player, and player control buttons are still clickable but have no effect.
STEPS TO REPRODUCE
1. Add media player applet to the desktop
2. Open Audacious and play any song
3. Close Audacious
Media player applet is not reset.
Media player applet is reset.
Information for package plasma5-desktop:
Repository : unstable-kde-frameworks
Name : plasma5-desktop
Version : 5.23.80git.20211125T020221~c193fd4c3-ku.67.1
Arch : x86_64
Vendor : obs://build.opensuse.org/KDE:Unstable
Installed Size : 8.8 MiB
Installed : Yes
Status : out-of-date (version 5.23.80git.20211124T013809~d3bb439d6-ku.66.1 installed)
Source package : plasma5-desktop-5.23.80git.20211125T020221~c193fd4c3-ku.67.1.src
Summary : The KDE Plasma Workspace Components
This package contains the basic packages for a Plasma workspace.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1223
Git commit 1a1f672c4221bd5a876fbaedfd647445d82a229a by Fushan Wen.
Committed on 01/12/2021 at 00:14.
Pushed by ngraham into branch 'master'.
dataengines/mpris2: Delete Multiplexer when there is no player
When all players are closed, media player applet on the
desktop still shows a track from the last player, and
player control buttons are still clickable but have no effect.
Add a new signal named `playerListEmptied()`. When the proxy list is empty,
the signal is emitted and `m_multiplexer` is scheduled to be deleted, so
the media player applet on the desktop can indicate the right status of
no player opened.
M +2 -0 dataengines/mpris2/mpris2engine.cpp
M +5 -0 dataengines/mpris2/multiplexer.cpp
M +7 -0 dataengines/mpris2/multiplexer.h