Bug 484209

Summary: System Settings > Session > Desktop Session > Session Restore (Does not restore last session)
Product: [Plasma] plasmashell Reporter: darrenllr
Component: Session ManagementAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bdk, eugene.savitsky, kde, kdedev, natalie_clarius, peter.snauwaert, pm
Priority: NOR    
Version First Reported In: 6.0.2   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description darrenllr 2024-03-22 06:12:28 UTC
SUMMARY
When logging out, and back in again, my Session is not restored.


STEPS TO REPRODUCE
System Settings > 
Session > 
Desktop Session > 
Session Restore = "On login, launch apps that were open: = On last logout"
Log out
Log back in

OBSERVED RESULT
An empty session with none of the applications open.

EXPECTED RESULT
The session I was working on, with the applications open that I was working on (and, I guess, on the same Virtual Desktops)

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: ASUS
Product Name: All Series

ADDITIONAL INFORMATION
Comment 1 darrenllr 2024-03-22 06:15:13 UTC
At the time I might be using e.g.

Obsidian MD
Zotero
Brave browser (multiple windows / tabs)
Settings
Comment 2 Rolf Eike Beer 2024-04-02 07:15:44 UTC
I see similar problems on openSUSE Tumbleweed with Plasma 6.0.3. I think it's the "save" part that is broken: when I first started after upgrading from Plasma 5 3 of my activities 4 were active, and most of the programs were started (Chromium has never been restarted, so that was no surprise), and IIRC even some of the activity/virtual desktop settings were right. I would count that as a successful update. After logging out and in again basically nothing was started. When I started the remaining activity (it was intentionally disabled in back in Plasma 5 for unrelated reasons) things in that activity were also more or less correctly set up. But after the next restart things are gone as well.
Comment 3 Eugene Savitsky 2024-06-27 08:22:19 UTC
On Wayland it was broken. In KDE 6.1 it is sort of restored.
Comment 4 Brian Kaye 2024-11-09 17:41:28 UTC
Fedora 41. Problem persists.
Comment 5 Brian Kaye 2024-11-09 17:42:42 UTC
Applications restored but to wrong desktop.
Comment 6 Petr 2024-12-13 10:22:10 UTC
maybe related to bug 496063
Comment 7 peter.snauwaert 2025-01-25 11:04:15 UTC
I have been experiencing this on Opensuse Tumbleweed also for quite some time now. Plasma version is 6.2.5.
(It becomes quite annoying after some time when you have a sort of arrangement to help your work. Would really want to see this fixed.)
Comment 8 TraceyC 2025-02-07 21:35:46 UTC
Updating metadata(In reply to Brian Kaye from comment #5)
> Applications restored but to wrong desktop.

This is a different issue. It's covered by bug 436318
Comment 9 TraceyC 2025-02-07 21:46:26 UTC
This seems like the same behavior as in bug 491130 which was supposed to be fixed in 6.2.5
Also seems related to bug 488520 which is fixed for some people but not others. I'm going to make this a duplicate of that report. Please follow that report for updates. Thanks!

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