When I close the display of my laptop and okular is in fullscreen mode, the laptop does not go to suspend to ram. When I am not in fullscreen mode, the laptop goes to suspend to ram. I understand that okular disables the power management in fullscreen mode. This is a usefull feature. But the display closing event should not be ignored. I don't see any use case for the display closing behaviour in okular fullscreen mode. If I have an external monitor or a projector, I want to ignore display closing events at all. Not only in okular. Reproducible: Always Steps to Reproduce: start okular in fullscreen mode close display Expected Results: okular does not change the display closing actions
I understand your concern, but i'm not sure the API we use for sleep inhibition is that fine-grained. Lukas, do you have any suggestion on this?
Alex, heard you have plans for that in PowerDevil2/kscreen?
I suggest close this bug. I found out that the "Envergieverwaltung" (kde energy management) has an option "Aktionen bei geschlossenem Deckel nie verhindern" (never omit display closing events). Thit is what I requested.
The thing is, we can make this some how intelligent so you don't have to disable this by hand, so I'd say let's keep the bug open until we do so.
I've tested this and works properly, maybe you had some override in powerdevil? Also after talking with Alex he had misunderstood the bug and agrees that the behaviour we take (suspend on lid close) is the correct one. So i'm closing this bug as works for me. If closing the lid does not suspend for you when on a presentation and you are on KDE 4.13 and you are sure you did not set some override in powerdevil please reopen this bug.