Debugging this a little further reveals this:

The suspending of the app does work, however, its bound to
Greeter.locked and turns out we only lock the greeter when the screen
wakes up again. This means, pressing the power button to turn off the
screen does not suspend the app. Pressing the power button again makes
the screen wake up, locks the greeter and suspends the app. Swiping the
greeter away resumes the app again.

Reassigning this to mterry given that he'll land the new split greeter
soon.

Basically we need to make sure that the greeter locks when the screen
turns off (as opposed to when it turns on as it is right now) which
should implicitly fix this bug.

If we want to keep the Greeter unlocked while the screen is off for
whatever reason, we need to find something else to bind
ApplicationManager.suspended to.

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

Title:
  foreground app should recieve SIGSTOP on suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-mir/+bug/1309915/+subscriptions

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

Reply via email to