[Bug 955280] New: session not restored after logout/login
http://bugzilla.opensuse.org/show_bug.cgi?id=955280 Bug ID: 955280 Summary: session not restored after logout/login Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: kde-maintainers@suse.de Reporter: ulrich.deiters@uni-koeln.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- 1. After upgrading from openSuse 13.4 to Leap 42.1, all my desktop settings were lost. 2. I set up 4 virtual desktops. On desktop 1, I start a dolphin window and move it to the upper right corner, then a terminal window in the lower left corner. On desktop 3, I start another dolphin window in the upper left corner. I log out and in. Then I find 1 dolphin session that shows on all desktops, and the terminal window does not show at all. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c1
Walter Augenstein
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c2
Wolfgang Bauer
When I set up a konsole session in desktop 1 and logout, it is not recreated upon login. In the directory ~/.config/session, a file, `konsole_10145100a1ea000144831997300000028770008_1448319997_596458' is created which appears to have the proper information to restart the session, however this file does not appear to be read or deleted upon login.
Yes, because it isn't added to ~/.config/ksmserver. Note that this is only a problem with KF5/Qt5 applications, the session management itself works fine and other applications will be restored. They seem to crash (randomly, not always) when/after saving their state to ~/.config/session/, so they are not regarded as running any more by the session management and not added to ksmserverrc to be restarted at login. Apparently they try to access their window, which can already be closed at that time it seems, thus causing the crash. Applications not having a window open in the first place (like kmix running in the system tray), are restored reliably in my experience. A possible workaround for you could be to set "Start with a previously saved session", and then select "Save session" in the application menu (Session/Powersaving). The manually saved session should work perfectly fine even for KF5 apps (likely because no windows are actually closed at this point). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c3
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c4
Wolfgang Bauer
They seem to crash (randomly, not always) when/after saving their state to ~/.config/session/, so they are not regarded as running any more by the session management and not added to ksmserverrc to be restarted at login. Apparently they try to access their window, which can already be closed at that time it seems, thus causing the crash. Applications not having a window open in the first place (like kmix running in the system tray), are restored reliably in my experience.
Apparently they don't crash, they just quit too early and might not be seen by the session management as still running. See here for a more thorough analysis: https://bugs.kde.org/show_bug.cgi?id=354724 A related bug report (specifically against konsole) can be found here: https://bugs.kde.org/show_bug.cgi?id=349481 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c8
--- Comment #8 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c14
--- Comment #14 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c15
--- Comment #15 from Ulrich Deiters
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c16
--- Comment #16 from Wolfgang Bauer
I cannot confirm that the problem is solved. On my machine, merely 1 dolphin window is restored (but at a wrong location), but the dolphin windows on the other workspaces are forgotten. The terminal window is also forgotten after a logout.
Note that the patches are only in the additional KDE:Frameworks5 repo for now. Are you using that? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c17
--- Comment #17 from Ulrich Deiters
Note that the patches are only in the additional KDE:Frameworks5 repo for now. Are you using that?
Sorry, that little detail had escaped me. I have been using the standard repositories. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c18
--- Comment #18 from Wolfgang Bauer
Sorry, that little detail had escaped me. I have been using the standard repositories.
See comment#12. That's why I reopened this bug report in the first place: it got erroneously closed after the release of the latest Qt5 update which doesn't fix anything yet but is required to be able to add fixes to KF5. You will get those fixes together with a full KDE Frameworks update to 5.19.0 via the official update repo, but that will still take some time. If you don't want to wait and/or try it out now, you can add the KDE:Frameworks5 repo and do a full switch to it. You'll always get the latest stable Frameworks and Plasma versions at the day of release then. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
http://bugzilla.opensuse.org/show_bug.cgi?id=955280#c19
--- Comment #19 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=955280
Manfred Härtel
participants (1)
-
bugzilla_noreply@novell.com