Bug 151201 - kde should have a forceful shutdown policy
Summary: kde should have a forceful shutdown policy
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 23:02 UTC by Ritesh Raj Sarraf
Modified: 2016-11-25 16:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Raj Sarraf 2007-10-22 23:02:12 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
OS:                Linux

See Bug #80091 for some similar information

Just wanted to put some more input. I think this issue might not be specific to kget, it should be a more generic issue.

Let's take an example.
In klaptopdaemon, I instruct it to hibernate at BAT => 5 mins and shutdown at BAT => 2 mins.

Currently, if you have a USB disk attached to the laptop, hibernate is aborted because of the USB disk partitions. That's fine. So when it reaches 2 mins, it tries to shutdown.

At this moment, if I have an editor open with unsaved changes, the shutdown is put on hold because an app is asking for user intervention. This eventually leads to battery drain and the machine is off.

I think there should be a more general signal, which when sent from kde apps to kde, it should do some default behavior and "Just Shutdown". It should try to apply the best policy in such cases. For example, if a document was in edit mode (and not saved), it should make a copy of it saved temporarily.

No applications should hold the process of shutdown for KDE.
Comment 1 Ritesh Raj Sarraf 2007-10-22 23:04:13 UTC
This issue should be equally applicable to KDE 4 also.
Comment 2 Maciej Pilichowski 2007-10-23 17:29:08 UTC
Very good idea. When implemented, we (testers/users) should track all applications without "emergency quit".
Comment 3 Oswald Buddenhagen 2007-11-07 20:20:55 UTC
hi lubos - i guess we just talked about that. :)
Comment 4 Oswald Buddenhagen 2007-11-07 20:29:29 UTC
for the unprivy: this would mean adding the value ShutdownUnattended to the ShutdownConfirm enum in libkworkspace and dealing with it in ksmserver - XSMP has provisions for it already.
Comment 5 Ritesh Raj Sarraf 2014-02-10 21:58:22 UTC
Hey Folks... This bug has not seen the light since 2007.

Are there any plans on fixing this ??