https://bugs.kde.org/show_bug.cgi?id=508494
--- Comment #19 from Christoph Cullmann <[email protected]> --- (In reply to Waqar Ahmed from comment #18) > Yeah(In reply to Andreas Hartmetz from comment #16) > > (In reply to Waqar Ahmed from comment #15) > > Does that also explain losing (apparently) all other settings in the > > session? As I mentioned, it's not only the document list that is lost. > > yeah. > > > I think a simple fix could be to not close the documents if we have just 1 > > main window. > > Did some testing, this won't fix much. We will be able to keep the document > list but the rest of the session will get wiped out. This is because how we > save sessions i.e., we wipe old session data, and then save the session to > avoid accumulating outdated entries/data in the session. If the session > saving is done too late e.g., after the mainwindows are gone then there > won't be anything left to save and on next start the session will be empty. > > So I think the solution is to block unix signal handling when we are done > saving everything and ready to die. I guess we could just disable the signal handler we install during shutdown, then it is anyways pointless. -- You are receiving this mail because: You are watching all bug changes.
