Bug 510393

Summary: Restore sessions does not respect workspaces and activities
Product: [Plasma] kwin Reporter: Miguel Rozsas <miguel>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Miguel Rozsas 2025-10-08 14:55:21 UTC
SUMMARY
The save/restore sessions does not respect workspaces and activities.
When the session is restored, all apps saved before in a session, that was is several desktops/workspaces and activities are placed on the first workspace in the first activity.

STEPS TO REPRODUCE
1.  Place apps along workspaces and activities. KCalc on workspace 2, activity 1, kate on workspace 3, activity 2, for instance..
2.  Go to kicker, save session.
3. logout and login again. 

OBSERVED RESULT
KCalc and kate are in the first workspace and first activity.

EXPECTED RESULT
I expect to see KCalc  on workspace 2, activity 1 and kate on workspace 3, activity 2

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20251006
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-2-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
running on wayland.
Comment 1 David Edmundson 2025-10-09 12:59:00 UTC

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