Bug 443377

Summary: QML error in ExpandedRepresentation.qml:83: TypeError: Cannot read property 'action' of null
Product: [Plasma] plasmashell Reporter: Fushan Wen <qydwhotmail>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: materka
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=443287
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fushan Wen 2021-10-06 01:52:42 UTC
When closing the expanded panel of Network Connections, this error can be triggered:

file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:83: TypeError: Cannot read property 'action' of null
Comment 1 Bug Janitor Service 2021-10-06 01:53:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1092
Comment 2 Nate Graham 2021-10-06 18:13:18 UTC
Git commit 97497949af8028a76f9fb850cc5df88056413c35 by Nate Graham, on behalf of Fushan Wen.
Committed on 06/10/2021 at 18:13.
Pushed by ngraham into branch 'master'.

[systemtray] Check for menuItemFactory.object existence

Removes the warning: TypeError: Cannot read property 'action' of null

M  +1    -1    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/commit/97497949af8028a76f9fb850cc5df88056413c35
Comment 3 Nate Graham 2021-10-06 18:22:53 UTC
Git commit 28026240ffa5c8708cbfe0f67706d1ffb2573dd5 by Nate Graham, on behalf of Fushan Wen.
Committed on 06/10/2021 at 18:22.
Pushed by ngraham into branch 'Plasma/5.23'.

[systemtray] Check for menuItemFactory.object existence

Removes the warning: TypeError: Cannot read property 'action' of null


(cherry picked from commit 97497949af8028a76f9fb850cc5df88056413c35)

M  +1    -1    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/commit/28026240ffa5c8708cbfe0f67706d1ffb2573dd5