Bug 470805 - org.kde.plasma.desktop/contents/applet/CompactApplet.qml:22: TypeError: Cannot read property 'expanded' of null
Summary: org.kde.plasma.desktop/contents/applet/CompactApplet.qml:22: TypeError: Canno...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-08 19:05 UTC by Nate Graham
Modified: 2023-06-09 07:58 UTC (History)
1 user (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 Nate Graham 2023-06-08 19:05:35 UTC
Jun 08 12:53:53 Liberator plasmashell[652848]: file:///home/nate/kde/usr6/share/plasma/shells/org.kde.plasma.desktop/contents/applet/CompactApplet.qml:22: TypeError: Cannot read property 'expanded' of null

Seen in journal logs for Plasmashell on Plasma 6 Wayland git master.

Code on line 22 in CompactApplet.qml does this:

active: !plasmoidItem.expanded
Comment 1 Marco Martin 2023-06-09 07:58:14 UTC
Git commit b99b1e517da83df4cfa20a9dc7b4c4dc9d87284c by Marco Martin.
Committed on 09/06/2023 at 07:56.
Pushed by mart into branch 'master'.

some properties aren't immediately available

containment for Desktop and plasmoiditem for CompactApplet
become available only afer startup: guard them
Related: bug 470804

M  +1    -1    desktoppackage/contents/applet/CompactApplet.qml
M  +4    -2    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/b99b1e517da83df4cfa20a9dc7b4c4dc9d87284c