Bug 185674 - Closing laptop lid while shutting down/rebooting does not work as intended
Summary: Closing laptop lid while shutting down/rebooting does not work as intended
Status: RESOLVED DUPLICATE of bug 209511
Alias: None
Product: solid
Classification: Unmaintained
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 08:24 UTC by Ryan
Modified: 2010-11-09 20:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2009-02-27 08:24:40 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

Hello, 

This is my first bug report, so bear with me. =)

When you shut down your laptop, do you usually shut the lid right after the confirmation, expecting it to continue shutting down? I do. I use my laptop a lot in college, and after class I usually shut down and close the lid immediately to start storing hte laptop in my bag and head off to my next class. 

However, if you close the lid after you confirm shutdown, KDE initiates the action that have have set for when you close the laptop lid regardless of the fact that you're shutting down/restarting/whatever. This has caused some weird issues for me. At times, it's just annoying: it will put the laptop to sleep, and upon waking up it would start the shutdown process (which makes me wait longer to get to a usable desktop). Other times it's aggravating: it will start the shutdown process, go to sleep, and then hang on waking up. One time was catastrophic: I closed the lid while shutting down, and I think that caused some of my system setting files to become currupt -- KDE was unusable, and I had to wipe my home directory and allow KDE to start from scratch. On the other hand, sometimes it works as expected -- the computer shuts down regardless of laptop lid status.

My idea: I think it would be best to add in some functionality to the shutdown options. For example, when choosing to turn off or restart the computer, one of the first things it should do is disable the laptop lid from acting the way it normally would. Kind of like how some programs (package manager/cd burning) suspend the computer from sleeping so that their job can finish without any errors. That would take the lid out of the picture so that whatever you do with it doesn't interfere with the shutdown process.
Comment 1 Dario Freddi 2010-11-09 20:31:39 UTC

*** This bug has been marked as a duplicate of bug 209511 ***