Bug 224445 - shutting down KDE takes too long
Summary: shutting down KDE takes too long
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-01-27 10:46 UTC by Per Ångström
Modified: 2018-10-27 04:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to disable logout-sound per default (436 bytes, patch)
2010-01-29 20:20 UTC, Sebastian Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per Ångström 2010-01-27 10:46:38 UTC
Version:            (using Devel)
Installed from:    Compiled sources

KDE 4.3.95, Ubuntu 10.4 Alpha 2+.

I've been switching between Gnome and KDE very frequently while testing different aspects of the upcoming Ubuntu 10.4, and I've noticed great differences in the time it takes to exit KDE and Gnome, respectively: Gnome shuts down almost instantaneously (at most 1 second), whereas shutting down KDE takes at least 6 seconds on my fastest test machine. And this is with no open applications; if I increase the number of open applications, KDE's shutdown time goes up even more.

The long wait is enough to sometimes make me wonder whether KDE somehow didn't register my shutdown request at all.
Comment 1 Lubos Lunak 2010-01-27 14:57:46 UTC
Are you really talking about shutdown or just showing up of the logout dialog?
Comment 2 Per Ångström 2010-01-27 15:08:03 UTC
> Are you really talking about shutdown or just showing up of the logout dialog?
The logout dialog shows up immediately, and then it takes several 
seconds after I have confirmed the logout till anything visible happens.
Comment 3 Lubos Lunak 2010-01-27 15:12:15 UTC
And it is not, by any chance, simply waiting for the logout sound to finish?
Comment 4 Per Ångström 2010-01-27 15:20:21 UTC
> And it is not, by any chance, simply waiting for the logout sound to finish?
I can't stand that sound, so I have turned it off. But I will check.
Comment 5 Per Ångström 2010-01-27 15:32:46 UTC
Having turned on the sound notifications on my slower test machine, I 
find that the shutdown process seems to stand still while the tune is 
playing, and then my windows are closed.

These are my immediate thoughts:
- Can it be that the tune is being played even though I have turned off 
sound notifications?
- Can it be that the playing of the tune and the shutting down of the 
open windows is not done in parallel?
Comment 6 Per Ångström 2010-01-28 09:03:08 UTC
I just installed KDE 4.3.95 on my desktop machine running openSUSE 11.2, and I don't get any shutdown delay if I turn off sound notifications: shutdown is almost instantaneous.

I'm beginning to suspect this is a Ubuntu issue, but let's keep it open for a while.
Comment 7 Sebastian Sauer 2010-01-29 20:20:17 UTC
Created attachment 40358 [details]
patch to disable logout-sound per default

Lubos: what do you think? commit?
Comment 8 Sebastian Sauer 2010-02-26 18:07:32 UTC
FYI: KDE 4.5 will have a much shorter logout song.

What still could be done;
* try to play the logout song earlier
* do not wait till the sound finished but already start shutdown
Comment 9 Lamarque V. Souza 2012-08-24 17:25:39 UTC
Does this problem still happen?
Comment 10 Myriam Schweingruber 2012-09-08 09:49:01 UTC
Waiting for feedback.
Comment 11 Per Ångström 2012-09-08 10:47:21 UTC
Sorry, I run KDE very seldom these days, and I don't have access to a recent version, so I can't tell.
Comment 12 Andrew Crouthamel 2018-09-23 02:21:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Andrew Crouthamel 2018-10-27 04:15:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!