SUMMARY the Media Player plasmoid doesn't clear the player list until all players are closed STEPS TO REPRODUCE 1. open 2 media player and make sure they both get added to the plasmoid 2. close one 3. check the plasmoid OBSERVED RESULT the closed player won't get removed from the list; closing all players will however properly clear the list EXPECTED RESULT players should get removed from the list as they're closed SOFTWARE/OS VERSIONS KDE Plasma Version: 5.22.2 KDE Frameworks Version: 5.83 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Can confirm, getting an error: file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml:306: TypeError: Value is undefined and could not be converted to an object
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/953
Git commit 36ed4658c673cc2f5350e8f852880b503441dea9 by Kai Uwe Broulik. Committed on 02/07/2021 at 18:10. Pushed by broulik into branch 'master'. [Media Player] Skip source if it doesn't exist We get `sourceRemoved` emitted before the source is actually removed from the list. This is a change from 5984d4960fa5ecf60a20b1fbc782fb841faa4af7 in plasma-framework but better be safe than sorry. FIXED-IN: 5.23.3 M +8 -2 applets/mediacontroller/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/36ed4658c673cc2f5350e8f852880b503441dea9
Git commit 58fecd9ba1e1a45cd5ab01f0832a3b06ed818c5a by Kai Uwe Broulik. Committed on 02/07/2021 at 18:10. Pushed by broulik into branch 'Plasma/5.22'. [Media Player] Skip source if it doesn't exist We get `sourceRemoved` emitted before the source is actually removed from the list. This is a change from 5984d4960fa5ecf60a20b1fbc782fb841faa4af7 in plasma-framework but better be safe than sorry. FIXED-IN: 5.23.3 (cherry picked from commit 36ed4658c673cc2f5350e8f852880b503441dea9) M +8 -2 applets/mediacontroller/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/58fecd9ba1e1a45cd5ab01f0832a3b06ed818c5a