Created attachment 146972 [details] Backtrace SUMMARY Every time the screen wakes up from energy saving, plasmashell crashes and restarts. This happens both on Wayland and X11 (the attached backtrace is from X11). It started with Plasma 5.24.0 (and persists in 5.24.1). The PC is not suspended, just the screen (if the entire PC is suspended, not just the screen, waking up seems to work smoothly). STEPS TO REPRODUCE 1. In "System Settings -> Power Management -> Energy Saving", set "Screen Energy Saving -> Switch off after" to some finite value. 2. Wait until the screen is sent to energy saving mode, then move the mouse or press a key to wake it up. OBSERVED RESULT The panel is missing when the screen turns on and then reappears after ~1 second. Sometimes the KDE crash handler opens (most of the time it doesn't although the crash does happen). Use top or ps to see that the plasmashell process was restarted or check the syslog. EXPECTED RESULT Well, plasmashell shouldn't crash. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION This is not reproducible on all machines. But if so it happens every time.
The crash part can be from desktoppackage/contents/views/Panel.qml ``` onContainmentChanged: { if (!containment) { return; } containment.parent = containmentParent; containment.visible = true; containment.anchors.fill = containmentParent; containment.locationChanged.connect(adjustPrefix); adjustPrefix(); } ```
*** This bug has been marked as a duplicate of bug 449981 ***