I've added some debugging code to my unity8 and here's the output from
when I just saw this happen:

[times are in ms]
qml: =============== Power pressed: 1416822034134 false
qml: ================ Timer restarted 1416822034135
qml: =============== Power status changed: 1416822034272 0 2
qml: ================ Dialog shown 1416822036630
qml: =============== Power released: 1416822036762 false

So as can be seen here the dialog is actually shown on *suspend*, not
resume. There's a 2.6s delay between the press and release events, even
though the key has been released within 150ms (hence the power status
change). Not sure where the event could get delayed like that, yet.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to