On session restore, windows should be restored to the previous position, screen, virtual desktop & activity. Since 5.9.3 (maybe even 5.9.x) all my apps seem to be restored to the primary screen on a more or less random activity.
Git commit 7fca524e0846fd16558a4ac085afa551a9f22c99 by Luboš Luňák. Committed on 21/04/2017 at 11:59. Pushed by lunakl into branch 'Plasma/5.8'. recognize the WM even if given with a full path Normally kWin is launched simply as "kwin" ("kwin_x11", whatever), but in some cases it's restart command may be "/usr/bin/kwin", most notably when KWin restarts itself after a crash. Failing to recognize this client as the WM leads to KWin starting without any session management restoring. M +1 -1 ksmserver/legacy.cpp M +5 -2 ksmserver/server.cpp M +1 -1 ksmserver/server.h M +2 -2 ksmserver/startup.cpp https://commits.kde.org/plasma-workspace/7fca524e0846fd16558a4ac085afa551a9f22c99
Git commit 71908e79626b240d1c32ee88d726c227fa7d6a2d by Luboš Luňák. Committed on 21/04/2017 at 12:00. Pushed by lunakl into branch 'Plasma/5.9'. recognize the WM even if given with a full path Normally kWin is launched simply as "kwin" ("kwin_x11", whatever), but in some cases it's restart command may be "/usr/bin/kwin", most notably when KWin restarts itself after a crash. Failing to recognize this client as the WM leads to KWin starting without any session management restoring. M +1 -1 ksmserver/legacy.cpp M +5 -2 ksmserver/server.cpp M +1 -1 ksmserver/server.h M +2 -2 ksmserver/startup.cpp https://commits.kde.org/plasma-workspace/71908e79626b240d1c32ee88d726c227fa7d6a2d
*** Bug 379421 has been marked as a duplicate of this bug. ***
This seems to work a lot better in the latest release! I can't reproduce it with the bunch of common applications I use anymore, so I'd suggest to mark this as RESOLVED. Unless someone objects?
Thanks for the update; closing.