Bug 435575

Summary: kwin_x11 --replace doesn't preserve activities
Product: [Plasma] kwin Reporter: Alex <allo>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aspotashev, kde, nate
Priority: NOR    
Version: 5.20.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex 2021-04-10 12:44:32 UTC
SUMMARY

When using kwin_x11 --replace all windows are assigned to "all activities"

STEPS TO REPRODUCE
1. Have some windows on different activities
2. Run kwin_x11 --replace

OBSERVED RESULT

All existing windows are assigned to "all activities"

EXPECTED RESULT

kwin could preserve the information about to which activity a window belongs, when replacing kwin with a new instance of kwin.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.20.5
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Alex 2021-05-09 09:54:08 UTC
*** Bug 418972 has been marked as a duplicate of this bug. ***
Comment 2 Alex 2021-05-09 09:56:46 UTC
The same happens, when changing the window decoration style (does this restart kwin?)

One could think this is an edge case, but my workaround for Bug 435972 is to either use kwin_x11 --replace or change the window decoration to another one and then back to Plastik and then I need to re-assign activities every time.
Comment 3 David Edmundson 2022-07-27 15:13:05 UTC

*** This bug has been marked as a duplicate of bug 438312 ***