SUMMARY If there is no media player opened and there is a media player applet on the desktop, plasmashell will report some errors at startup. file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:34: TypeError: Cannot read property 'CanSeek' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:32: TypeError: Cannot read property 'Rate' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:31: TypeError: Cannot read property 'Position' of undefined
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1221
Git commit 1ccce6c18e7cc023c5cabfc054f2b12e3ad4fa98 by Nate Graham, on behalf of Fushan Wen. Committed on 29/11/2021 at 19:41. Pushed by ngraham into branch 'master'. applets/mediacontroller: Fix "Cannot read property of undefined" When no media player is opened and there is a media player applet on the desktop, `mpris2Source.currentData` is undefined and plasmashell will report some TypeErrors. FIXED-IN: 5.24 M +3 -3 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/commit/1ccce6c18e7cc023c5cabfc054f2b12e3ad4fa98