Bug 328113 - no suspend in fullscreen mode
Summary: no suspend in fullscreen mode
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.5
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-26 16:55 UTC by Hrtmt Brng
Modified: 2014-05-08 13:09 UTC (History)
3 users (show)

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 Hrtmt Brng 2013-11-26 16:55:56 UTC
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
Comment 1 Albert Astals Cid 2013-11-27 00:20:30 UTC
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?
Comment 2 Lukáš Tinkl 2013-11-27 00:36:36 UTC
Alex, heard you have plans for that in PowerDevil2/kscreen?
Comment 3 Hrtmt Brng 2013-12-21 18:36:00 UTC
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.
Comment 4 Alex Fiestas 2013-12-21 20:06:21 UTC
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.
Comment 5 Albert Astals Cid 2014-05-08 13:09:04 UTC
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.