Comment 41 for bug 1462489

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Well, currently, as long as the application process is running, the request for keeping the display list is respected. When the app is closed (or killed by OOM) the request is deleted.

I agree the long term solution should be to drop it when the app is unfocused (although we should consider how that works with convergence and windowed mode before we make a decision).

On a side note, I would also argue that most applications should even keep the display list all the time. For example, BigMovingText should not request the display to be kept lit while being in the settings menu, but only when it actually is displaying the big moving text. In order to create good quality apps, be clever and set screensaverEnabled to something meaningful instead of just "false". For example:

screenSaverEnabled: !(Qt.application.active && doingStuffThatReallyRequiresIt)