Bug 470803 - org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml TypeError errors
Summary: org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml TypeErro...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 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 09:00 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:31 UTC
Jun 08 12:30:17 Liberator plasmashell[638613]: file:///home/nate/kde/usr6/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:126: TypeError: Cannot read property 'fullRepresentationItem' of null
Jun 08 12:30:17 Liberator plasmashell[638613]: file:///home/nate/kde/usr6/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:141: TypeError: Cannot read property 'plasmoid' of null

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

Code in PlasmoidItem.qml does this:

126: target: findMouseArea(applet.compactRepresentationItem ? applet.compactRepresentationItem : applet.fullRepresentationItem)

141: target: plasmoidContainer.applet.plasmoid
Comment 1 Marco Martin 2023-06-09 09:00:25 UTC
Git commit f1fa17d9159f220835d8b3cd421213feef7597ca by Marco Martin.
Committed on 09/06/2023 at 08:59.
Pushed by mart into branch 'master'.

guard against possible nulls

M  +2    -2    applets/systemtray/package/contents/ui/items/PlasmoidItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/f1fa17d9159f220835d8b3cd421213feef7597ca