Bug 435575 - kwin_x11 --replace doesn't preserve activities
Summary: kwin_x11 --replace doesn't preserve activities
Status: RESOLVED DUPLICATE of bug 438312
Alias: None
Product: kwin
Classification: Plasma
Component: activities (show other bugs)
Version: 5.20.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 418972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-10 12:44 UTC by Alex
Modified: 2022-07-27 15:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***