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

            Bug ID: 528850
           Summary: System tray freezes with 100% plasmashell CPU due to
                    TypeError: Cannot read property 'width' of null in
                    DeviceDelegate.qml:474
    Classification: Applications
           Product: kdeconnect
      Version First 26.08.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plasmoid
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Whenever interacting with system tray icons after a while (such as opening the
clipboard or other applets), the Plasma panel and taskbar freeze for several
seconds, while plasmashell spikes to 100% CPU usage on a single core.

Inspection of the journal logs reveals a continuous QML property binding error
originating from the KDE Connect plasmoid's DeviceDelegate.qml:

file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/DeviceDelegate.qml:474:25:
TypeError: Cannot read property 'width' of null

This error repeats hundreds of times during the tray interaction, trapping the
QML engine in an infinite property evaluation loop until the paint
cycle/garbage collection finishes.

OBSERVED RESULT
The system tray freezes for 10+ seconds.

EXPECTED RESULT
The widget window should open immediately


SOFTWARE/OS VERSIONS
Operating System: Fedora 45
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION

It happens with any system tray icon, but looks like the cause is kde-connect.

Once it loads, there won't be a freeze in the subsequent clicks, until after a
few hours.

I have 2 devices connected through kde-connect

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

Reply via email to