https://bugs.kde.org/show_bug.cgi?id=504269

--- Comment #3 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Ian H from comment #2)
> Actual behavior:
> opens an empty session
> 
> Expected behavior: 
> Should open original session
SessionController::initialize() deletes unnamed sessions without projects on
KDevelop start. Without command line arguments,
SessionController::loadDefaultSession() attempts to load the last opened or
created session stored in ~/.config/kdeveloprc at [Sessions]|"Active Session
ID". If that fails, loadDefaultSession() creates a new session. The penultimate
session ID is not stored in config and therefore cannot be opened.

If you always use the same session, you can create a launcher (a .desktop file)
with two arguments to the kdevelop executable `-s "<session name>"` and launch
it instead of the default KDevelop launcher.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to