I discussed the issue with Andrea Azzarone and Martin Pitt, and the
problem might be related to the signal coming from UPower not being
reliable enough. We should really rely upon the PrepareForSleep signal
coming from org.freedesktop.login1.Manager.

We should also make sure that PrepareForSleep returns False (as this
means that the system has just resumed)

Something like the attached patch only with the "proxy_.Connect" line
changed (so as to check that PrepareForSleep returns False) should work.

** Patch added: "use_logind_draft_1.patch"
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1210077/+attachment/4030604/+files/use_logind_draft_1.patch

** Changed in: unity (Ubuntu)
     Assignee: (unassigned) => Andrea Azzarone (andyrock)

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

Title:
  Screen freeze and garbled after resume from suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1210077/+subscriptions

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

Reply via email to