https://bugs.kde.org/show_bug.cgi?id=501973
Bug ID: 501973 Summary: Session Restore fails to restore Snap-apps on X11 (with manual fix for restoring manually saved sessions) Classification: Plasma Product: plasmashell Version: 5.27.12 Platform: Kubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Session Management Assignee: plasma-b...@kde.org Reporter: j...@mailbox.org CC: natalie_clar...@yahoo.de Target Milestone: 1.0 SUMMARY Snap apps are not restored when restoring the session, regardless of using the "restore last session" or "Restore manually saved session". The problem seems to be related to a wrong path to the snap-bin written to .config/ksmserverrc and the bug can be manually fixed (see below). STEPS TO REPRODUCE 1. Open a Snap App (tested with Thunderbird, Obsidian and Firefox) 2. Either manually store the session and reboot, or reboot directly (depending on restore setting) 3. Login OBSERVED RESULT Snap App (e.g. Thunderbird) is not opened again. EXPECTED RESULT Snap App is restored and opens at the desktop. SOFTWARE/OS VERSIONS Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 ADDITIONAL INFORMATION Manual fix: Snap applications are saved to the Block "LegacySession" in .config/.ksmserverrc, but the command saved is not working properly/as intended. Manually changing the command to the correct path/to/bin (evaluated by the which command) leads to the proper behaviour of the restore session, but is conceptually only a solution for restoring manually saved sessions. Detailed steps for manual fix: 1. Manually save the session as usual 2. Open .config/.ksmserverrc. It should contain something like this: [LegacySession: saved by user] clientMachine1=localhost command1=thunderbird-esr count=1 3. Correct command1 to actual path/to/bin, e.g.: [LegacySession: saved by user] clientMachine1=localhost command1=/usr/bin/thunderbird count=1 4. Save file and reboot -> Restore session now works. -- You are receiving this mail because: You are watching all bug changes.