Bug 470804 - org.kde.plasma.desktop/contents/views/Desktop.qml:206: TypeError: Cannot read property 'plasmoid' of null
Summary: org.kde.plasma.desktop/contents/views/Desktop.qml:206: TypeError: Cannot read...
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:57 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:33 UTC
Seen in journal logs for Plasmashell on Plasma 6 Wayland git master.

Code on line 206 in Desktop.qml does this:

target: containment.plasmoid
Comment 1 Marco Martin 2023-06-09 07:57:57 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 470805

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