https://bugs.kde.org/show_bug.cgi?id=508494
--- Comment #12 from Andreas Hartmetz <[email protected]> --- + // Save session now, else if the user never opens a new doc or closes one session-autosave will never trigger and + // the session will only get saved if Kate is properly closed and not if it gets killed. + // Do it delayed, don't block the startup + QTimer::singleShot(100, this, [this] { + sessionManager()->saveActiveSession(true); + }); + That one looks suspicious and the timing (change added / problem appeared) seems about right. If at all possible, better to add the call into some code that will run at the right time or attach it to a signal that signals the right startup phase. -- You are receiving this mail because: You are watching all bug changes.
