https://bugs.kde.org/show_bug.cgi?id=500508

            Bug ID: 500508
           Summary: Nullpointer exceptions:
                    plasma-desktop-6.3.0/share/plasma/plasmoids/org.kde.pl
                    asma.taskmanager/contents/ui/Task.qml:79: TypeError:
                    Cannot read property 'status' of null
    Classification: Plasma
           Product: plasmashell
           Version: git-stable-Plasma/6.3
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: plasma-b...@kde.org
          Reporter: elles.rob...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

Hello,

In the plasmashell log I see a lot of Nullpointer error messages:

plasma-desktop-6.3.0/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:79:
TypeError: Cannot read property 'status' of null

So in line 79 of the file Task.qml of
plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui the code tries to read
a 'status' property of something that is null.

Looking in this file I see line 79 is the following:
active: !inPopup && !tasksRoot.groupDialog && contextMenu.status !==
PlasmaExtras.Menu.Open

It is trying to read status from contextMenu. So contextMenu musst be null.

I think in line 79 one there should be an extra null check before the 'status'
property is accessed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to