-
Notifications
You must be signed in to change notification settings - Fork 848
PC will instead suspend if you close the lid of your laptop screen within 1 second or so of selecting "Shut Down" #11425
Description
* Cinnamon v5.6.5 — v5.6.6
* Mint 21.1
Issue
Simply put, when you click Shut Down, if you then close the lid of the laptop screen within 1 second or so of selecting "Shut Down", the PC will instead suspend.
This also occurs in a live ISO session if that's easier to test with. It may also be easier to test with when using an external USB mouse and/or keyboard.
Steps to reproduce
Select Shut Down and then immediately close the lid of your laptop (you do actually have a second or so, therefore you don't have to be super-immediate in the process... though, in theory, a modern fast CPU with an NVMe SSD may require you to do it super-immediately after selecting Shut Down)
Expected behaviour
The PC should not allow suspend to occur immediately after you have selected Shut Down, not one second or so after you've selected Shut Down.
Other information
This does not occur on slow PCs such as my AMD E-350 (1.6GHz with IPC around an Athlon XP); this only seems to occur on at least moderately fast PCs (2.4GHz Core 2 Duo, 3.6GHz Phenom II, 3GHz 2nd gen Intel Core i5, and a 4.6GHz 4th gen Intel Core Haswell-based CPU).
MATE seems to actually have the same issue, but you have to be super-duper-uber quick about it to the point of it being incredibly impractical and you might even break your laptop screen in the rush to close its lid fast enough.
It can also be manually done on a desktop PC if you have a keyboard with a 'Suspend' button whereby you simply press that 'Suspend' button after clicking Shut Down.
Lastly, this issue seems to straight-up not happen on Xfce.