Bug 506797 - Since about V25.04.2 Kate Autostart now regularly purges my Kate Session
Summary: Since about V25.04.2 Kate Autostart now regularly purges my Kate Session
Status: RESOLVED DUPLICATE of bug 508494
Alias: None
Product: kate
Classification: Applications
Component: sessions (other bugs)
Version First Reported In: 25.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-09 11:55 UTC by Dominik Kummer
Modified: 2025-09-24 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kummer 2025-07-09 11:55:23 UTC
I added Kate in Autostart KCM with the following parameters `-n -s <my-session-name>`. But when I boot my machine and login my user with SDDM - since latest update - Kate starts with the welcome page, telling me that my most important session has zero files. Without regular backup I'd probably quit myself.
Comment 1 Thomas Bertels 2025-08-19 10:52:04 UTC
I just had this too with Kate 25.04.3 on Wayland with the "On login, launch apps that were open: On last logout" Session Restore KCM setting enabled.
I used to manually close Kate before rebooting and reopening it by opening a file.

For anyone wondering, the sessions are saved in ~/.local/share/kate/sessions/
Comment 2 Waqar Ahmed 2025-08-20 08:40:24 UTC
Can someone try with latest Kate and see if this is still reproducible?
Comment 3 Bug Janitor Service 2025-09-04 03:47:49 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Dominik Kummer 2025-09-04 21:35:53 UTC
I is still reproducable with autostart application settings:

program: kate
arguments: -s [yoursessionname]
Comment 5 Dominik Kummer 2025-09-04 21:37:02 UTC
btw it does not happen after every single login, so its not reliably reproducable IMHO.
Comment 6 Waqar Ahmed 2025-09-24 04:34:35 UTC

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