Bug 443377 - QML error in ExpandedRepresentation.qml:83: TypeError: Cannot read property 'action' of null
Summary: QML error in ExpandedRepresentation.qml:83: TypeError: Cannot read property '...
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: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 01:52 UTC by Fushan Wen
Modified: 2021-10-06 18:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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