https://bugs.kde.org/show_bug.cgi?id=514795
Bug ID: 514795
Summary: plasmashell can crash or fail to restore desktop
non-deterministically due to serialized layout state
in plasma-org.kde.plasma.desktop-appletsrc
Classification: Plasma
Product: plasmashell
Version First 6.5.5
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: generic-crash
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 188646
--> https://bugs.kde.org/attachment.cgi?id=188646&action=edit
Replace plasma-org.kde.plasma.desktop-appletsrc with this things start failing
on both reboots and logins
STEPS TO REPRODUCE
Replace ~/.config/plasma-org.kde.plasma.desktop-appletsrc with the attached
file (buggy_config).
Log out and log back in, or reboot.
Repeat logout/login if the issue does not trigger immediately.
OBSERVED RESULT
At login or after logout/login, the desktop may fail to restore correctly
(black background, missing panels), or plasmashell may crash or enter a restart
loop.
The same configuration may sometimes work and sometimes fail without any
changes.
Logout/login triggers the issue more reliably than a full reboot.
Restarting plasmashell manually may sometimes succeed and sometimes fail.
EXPECTED RESULT
plasmashell should never crash or fail to restore the desktop due to malformed,
stale, or edge-case user layout state. Invalid or inconsistent layout data
should be handled defensively.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS (Arch-based Linux)
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.5.5
Qt Version: 6.10.1
Session type: Wayland
ADDITIONAL INFORMATION
Deleting or renaming ~/.config/plasma-org.kde.plasma.desktop-appletsrc always
restores a working desktop immediately.
Rebuilding the layout manually, even recreating the same widgets and settings,
results in a stable system.
The issue is not tied to a specific widget. The same widgets work correctly
after layout regeneration.
The problem appears related to layout/state restoration, such as containments,
screen bindings, applet ordering, or restore sequencing, not widget logic,
drivers, or hardware.
The failure is non-deterministic and race-condition-like. The same config may
succeed or fail depending on startup timing.
Kernel, Mesa, Qt, and Plasma package changes do not affect the behavior as long
as the same appletsrc file is used.
Snapshots and system rollbacks do not resolve the issue unless the appletsrc
file itself is removed or regenerated.
Attached is a plasma-org.kde.plasma.desktop-appletsrc file (buggy_config) that
reproduces the issue non-deterministically.
--
You are receiving this mail because:
You are watching all bug changes.