Bug 279620 - kde session management does not restore session properly
Summary: kde session management does not restore session properly
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandriva RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-07 23:08 UTC by ndeb
Modified: 2025-10-13 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
session management settings (105.77 KB, image/jpeg)
2011-08-07 23:08 UTC, ndeb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ndeb 2011-08-07 23:08:37 UTC
Created attachment 62648 [details]
session management settings

Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

My KDE sessions options are set to restore previous session (see attached image). If I quit/kill KDE by ctrl-alt-backspace and then restart it, then often the konqueror windows are not restored properly. Out of 2 konqueror windows, only one gets restored. Sometimes at startup it asks to restore one of the 2 konqueror windows, but ends up creating a duplicate of an already restored konqueror window. The behavior is erratic and inconsistent.

Reproducible: Sometimes

Steps to Reproduce:
See details.

Actual Results:  
As KDE restart, some konqueror windows are lost while others are duplicated. The behavior is unpredictable.

Expected Results:  
The previous session should be restored as is.
Comment 1 Oswald Buddenhagen 2011-08-08 07:33:09 UTC
i can confirm the behavior.
but it has nothing to do with ksmserver; it's "only" a konqueror bug.
needs further triaging (check for dupes).
Comment 2 Anton Aylward 2011-08-08 17:05:30 UTC
This _MIGHT_ be a specific case of a larger context bug I'm encountering.

When I log in to KDE4 I don't see the previous session, I see an earlier session.
The last session is not being saved properly.   Position of Widgets, 'previously used' in the menu ... they all date back to the first session after I wiped my ~/.kde4/share hierarchy to solve another problem.
Comment 3 Anguo 2012-04-25 18:54:11 UTC
I have often experienced the erratic behavior described by the OP, the last time no later than today. I am surprised it is not more widely reported.
Comment 4 Raphael Rosch 2025-04-03 13:30:52 UTC
Hi all, I have been working on the session restore code and found this bug. The changes should fix this if it is not already fixed. Can any of you confirm if this is still a problem? If not, I will go ahead and close.
Comment 5 Raphael Rosch 2025-09-13 05:48:55 UTC
Sorry, I got confused by search results, and thought this was a konqueror session manager bug. De-assigned myself
Comment 6 Raphael Rosch 2025-09-13 05:54:12 UTC
This bug was incorrectly assigned as applying to "konqueror".
It is also 14 years old. I am changing the status to NEEDSINFO.

If this is still an issue, please confirm it. But I'm guessing this should just be closed
Comment 7 Bug Janitor Service 2025-09-28 03:46:15 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2025-10-13 03:47:07 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.