Bug 286901 - Shutdown should disable various actions (such as crash reports and hibernating)
Summary: Shutdown should disable various actions (such as crash reports and hibernating)
Status: RESOLVED DUPLICATE of bug 126073
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 03:03 UTC by Stefán Freyr Stefánsson
Modified: 2011-11-19 09:22 UTC (History)
1 user (show)

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 Stefán Freyr Stefánsson 2011-11-18 03:03:54 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

I have a laptop which frequently (as in always) experiences crashes when I shut down the computer. As if the crashes aren't annoying enough, the crash report window that pops up actually stops the shutdown process. I have to close the bug report window manually for the computer to continue shutting down. There may well be a way for me to disable these crash reports but I actually want them, just not this one which happens every time I shut down my computer.

Another problem is that after I choose shutdown, I often close my laptope immediately. This seems to result in it going into hibernation mode before it has actually finished the shutdown process. So when I open my laptop again, it's actually hibernated but when I wake it up it continues with the shutdown process so I have to start it up again.

I propose that shutdown should set some global flag immediately after it's been selected. If this flag is set, KDE should not try to go into hibernation/suspension nor should it display any blocking windows, or for that matter do anything that cause the shutdown process to be suspended.

In my opinion, this should be the default behavior. In some very rare cases, there may be a reason for halting the shutdown process but that should then have to be explicitly stated by the programmer.

A nice implementation of this would be to log any "disabled" events and then display them on the next boot up. Then I would see a display telling me that "Application X crashed during your last shutdown" or something like that.

Reproducible: Always

Steps to Reproduce:
Not really applicable since this is more of a feature request.

However, on a laptop set to hibernate when it's closed, you can press Ctrl+Alt+Delete and choose shutdown, then immediately close the laptop screen and it should hibernate before finishing the shutdown process.


Expected Results:  
After choosing shutdown, I should not see any crash results that come up and the laptop should not hibernate if I close it immediately after choosing shutdown.
Comment 1 Christoph Feck 2011-11-18 11:39:44 UTC

*** This bug has been marked as a duplicate of bug 126073 ***
Comment 2 Stefán Freyr Stefánsson 2011-11-18 13:02:42 UTC
Part of this report is a duplicate of bug 126073 but that one does not cover the idea about disabling hibernation.
Comment 3 Christoph Feck 2011-11-19 01:56:43 UTC
Please file a separate request for solid/powermanagement.
Comment 4 Christoph Feck 2011-11-19 01:58:35 UTC
That's probably bug 189456.
Comment 5 Stefán Freyr Stefánsson 2011-11-19 09:22:12 UTC
yup.. you're right.

Thanks (and sorry about the duplicate report)