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

            Bug ID: 454726
           Summary: ksmserver does not store certain apps session
                    information
           Product: ksmserver
           Version: 5.24.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: ilabsentu...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 149387
  --> https://bugs.kde.org/attachment.cgi?id=149387&action=edit
ksmserver file

SUMMARY
With restore last session option selected in system settings when leaving the
system (log out, reboot, shutdown) the information of certain apps is not
stored for its later restoration. The fail seems to be during the process of
saving the information and not while trying to restore the applications. More
details in the additional info section.

STEPS TO REPRODUCE
1. Open the affected app (kate, dolphin)
2. Log out/Reboot/Shutdown
3. Login to your account

OBSERVED RESULT
The affected apps do not restore while others do.

EXPECTED RESULT
The apps should be restored normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
At some point in the past (couple of days ago) all previous apps where restored
correctly. Suddenly dolphin stopped being restored on session start. No update
to dolphin or any other component of plasma occurred during those days as far
as I remember. After some tinkering and information gathering I checked the
information at: ~/.config/session/ and ~/.config/ksmserverrc to figure out the
problem, under the session directory I found information about the apps that
are where to be restored. In the ksmserverrc file I found entries for most apps
but not dolphin. After some tinkering and enabling debugging on ksmserver by
following steps provided on other bug reports I proceeded to check the journal
and check the data on session folder. Tried changing options from "restore last
session" to "restore manually saved session" after a logout/login cycle
everything worked. Next reboot, dolphin failed to be restored again, but now,
kate fails also. After deleting content on the session folder (backed up first
in case it is needed) y deleted all content and did the same with the file
ksmserverrc. Proceeded to reboot, after login I still se the same behavior
(kate and dolphin are not restored) checked that there are no entries for
neither on ksmserverrc and there was no data generated for neither on session
folder. As such, I would say that data is not properly being saved and as such
restoration is not currently possible.
I also consulted information on bugs: 442380, 453471, 404318. In my case no
encrypted drives are present, nor internal nor external. While it could be a
problem with dolphin not saving its state correctly, kate started to exhibit
the same behavior so I would guess a more general problem is present with
ksmserver instead. I also tried saving the session manually from the option in
the leave menu when the appropriate option is selected on settings and doing so
using the terminal. In all instances the problem can be reproduced.

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

Reply via email to