Bug 503259

Summary: Kate forgets list of open files when switching to Plasma Wayland and back
Product: [Plasma] plasmashell Reporter: Alexander Potashev <aspotashev>
Component: Session ManagementAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2025-04-24 00:09:37 UTC
SUMMARY
Kate forgets list of open files when switching to Plasma Wayland and back.

STEPS TO REPRODUCE
1. Use a Plasma X11 session.
2. In System Settings, configure Plasma session to automatically restore applications from previous session.
3. Start Kate.
4. Open a few text files in Kate.
5. Logout.
6. Start a new Plasma Wayland session. (Observation: Kate automatically starts and opens the same files from previous X11 session.)
7. Logout.
8. Start a new Plasma X11 session.

OBSERVED RESULT
Kate automatically starts, but looks like a fresh start: it doesn't open the files from previous session.

EXPECTED RESULT
Kate should automatically start and open the same files from previous Plasma Wayland session.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.13.11-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor 1: Intel® HD Graphics 530
Graphics Processor 2: NVIDIA GeForce GTX 960M

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2025-05-30 19:07:45 UTC
I would assume that is an issue in the Plasma desktop session management (if that is at all supported).
Comment 2 Nate Graham 2025-06-10 16:11:33 UTC

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