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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1462489

Title:
  Allow apps to keep the screen on

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1462489/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to