Bug 502007 - When starting kate with autostart no sessions or recent files are available at start
Summary: When starting kate with autostart no sessions or recent files are available a...
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: 24.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-26 06:18 UTC by Kai
Modified: 2025-03-26 06:32 UTC (History)
1 user (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 Kai 2025-03-26 06:18:24 UTC
SUMMARY

When starting kate with autostart no sessions or recent files are available directly after starting the plasma user session.


STEPS TO REPRODUCE
1. Open kate, open some files and save a session
2. Put kate into .config/autostart or use the autostart settings
3. Log out and Log in again or restart the computer
4. The kate window does not suggest any sessions or recent files

OBSERVED RESULT

When starting kate directly after the plasma session is started, no sessions or recent files are available.

EXPECTED RESULT

Sessions and recent files should be available when autostarting kate.

It should also be possible to autostart directly into a existing session with --name.


SOFTWARE/OS VERSIONS
Kate Version: 24.12.3-1
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.8-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Kai 2025-03-26 06:32:28 UTC
(In reply to Kai from comment #0)
> STEPS TO REPRODUCE
> 1. Open kate, open some files and save a session
> 2. Put kate into .config/autostart or use the autostart settings
> 3. Log out and Log in again or restart the computer
> 4. The kate window does not suggest any sessions or recent files

Small correction, this problem only occurs after the system is started. Log out and log in is not enough.

> OBSERVED RESULT
>
> When starting kate with autostart no sessions or recent files are available directly after starting the plasma user session.

Also the session which is used as session with --name in the autostart command is empty after restart.