Comment 10 for bug 1383277

Revision history for this message
Michael Terry (mterry) wrote : Re: Power dialog sometimes shown on resume

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.