Bug 404178

Summary: TypeError: Cannot read property 'textWidth' of null
Product: [Unmaintained] kdeplasma-addons Reporter: Serhiy <serhiy.int>
Component: Application DashboardAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Serhiy 2019-02-10 15:09:07 UTC
SUMMARY
DashboardRepresentation.qml:977 does not check that filterList.currentItem is defined

STEPS TO REPRODUCE
1. Launch Plasma from terminal

OBSERVED RESULT
/usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/DashboardRepresentation.qml:977: TypeError: Cannot read property 'textWidth' of null


EXPECTED RESULT
No errors in terminal

SOFTWARE/OS VERSIONS
Linux: Ubuntu 19.04
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
+ (filterList.currentItem ? filterList.currentItem.textWidth : 0)
Comment 1 Christoph Feck 2019-03-09 15:08:08 UTC
Could you upload the patch to https://phabricator.kde.org/differential/diff/create/ so that Plasma developers can review them?

It is possible that the complete width should be 0 when there is no currentItem.
Comment 2 Christoph Feck 2019-03-24 14:20:57 UTC
Any success with the link from comment #1? More information about phabricator is available at https://community.kde.org/Infrastructure/Phabricator
Comment 3 Nate Graham 2022-06-25 19:36:23 UTC
Looks like that change was made at some point.