I thought I mentioned in comment #7 that I had already debugged this to that point. The delay is happening in the handling of the power down- press. The call to greeter.show() is synchronous, and Qt seems to block handling of the power-up event until the show() call (and thus the power-down press event) is done. So if greeter.show() takes too long (as it freequently does when we load the background from disk), we trigger the 2s timeout for the shutdown dialog.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1383277 Title: Power dialog sometimes shown on resume Status in “unity8” package in Ubuntu: Triaged Status in “unity8” package in Ubuntu RTM: Triaged Bug description: Unfortunately no good steps to reproduce, other than "resume your phone", from time to time you'll get the power dialog displayed on screen. The reason for this could be twofold: a) you pressed the power button in your pocket b) input is confused and keyUp event does not reach unity8. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1383277/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

