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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1383277

Title:
  Power dialog sometimes shown on resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1383277/+subscriptions

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

Reply via email to