Bug 467690

Summary: kwin --replace triggers Plasma session restart with loss of data
Product: [Plasma] kwin Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version First Reported In: 5.27.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Germano Massullo (Thetra) 2023-03-22 13:15:05 UTC
During Xorg Plasma sessions it happens that I have to run
$ kwin --replace &
in order to fix some graphical glitches I experience on both Intel and AMDGPU drivers, in particular using Firefox.

If I run the same command in a Wayland Plasma session, the result is that the entire Plasma session will be lost, and all opened applications will be lost too, with consequential loss of data

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37 KDE
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 22.12.3
Qt Version: 5.15.8
Comment 1 David Redondo 2023-03-23 09:03:17 UTC
This is expected, most applications atm can't handle the wayland compositor going down. Don't run this command.