[Bug 297068] When shutting down via Lock Screen, the sleep countdown runs first

Lamarque V. Souza lamarque at kde.org
Thu Mar 29 20:24:40 UTC 2012


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

Lamarque V. Souza <lamarque at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lamarque at kde.org

--- Comment #1 from Lamarque V. Souza <lamarque at kde.org> ---
I had already noticed those problems:

1. The lock screen disappears because ksmserver (a KDE program) closes all user
programas before exiting and ending the KDE session.

2. kwin is the last program ksmserver closes before exiting. I think kwin is
re-launching the lock screen when it notices it was closed.

3. Since ksmserver gets the list of programs to kill before start killing
processes the new lock  screen is not killed and lonly disappears when Xorg is
closed and the system proceed with the shutdown process.

The shutdown is slow because ksmserver first try to contact each program for
them to save their data and close themselves gracefully. If we do a fast
shutdown we will be risking losing user data. The shutdown can also be very
slow (2 or more minutes) if there are too much data on the swap partition.

If we move the lockscreen code to ksmserver I think that will prevent the
second launch of the lock screen and there will be no countdown after
triggering the shutdown process too.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Active mailing list