On resume, screen locks after a delay with some background pictures

Bug #1383328 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

With some pictures, on resume from suspend, there is an important delay before the screen locks (several seconds) or the shutdown dialog is displayed which it shouldn't

Test Case
1. Upload the attached pictures to the device
2. Open system-settings and set the attached picture as background
3. Short press the power button to suspend the phone
4. Wait a few seconds and short press the power to resume the phone

Expected result
The phone is locked and the greeter is displayed

Actual result
On resume it takes several seconds to lock the phone and display the greeter. Very frequently the shutdown dialog is displayed.

ProblemType: Bug
DistroRelease: Ubuntu RTM 14.09
Package: ubuntu-system-settings 0.3+14.10.20141017~rtm-0ubuntu1
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu5
Architecture: armhf
Date: Mon Oct 20 10:22:17 2014
InstallationDate: Installed on 2014-10-20 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20141020-030205)
SourcePackage: ubuntu-system-settings
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
summary: - Screen locks after a delay with some background pictures
+ On resume, screen locks after a delay with some background pictures
Revision history for this message
Sebastien Bacher (seb128) wrote :

That's more of a unity issue, it shouldn't show an unlocked session for some seconds if the image is slow to load.

Settings chould perhaps store a resized version of the selected bg image as well to reduce the unity8 work though

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
Changed in unity8 (Ubuntu):
importance: Undecided → High
Michael Terry (mterry)
Changed in unity8 (Ubuntu):
assignee: nobody → Michael Terry (mterry)
Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the settings bug, we need the full resolution version in case an external display is connected (for example)

Changed in ubuntu-system-settings (Ubuntu):
status: New → Invalid
Revision history for this message
Michael Terry (mterry) wrote :

The power dialog is a related issue, but can be solved separately. See bug 1383277 for that.

Michael Terry (mterry)
Changed in unity8 (Ubuntu):
status: New → In Progress
Michael Terry (mterry)
no longer affects: ubuntu-system-settings (Ubuntu)
Revision history for this message
Michael Terry (mterry) wrote :

So I had proposed a fix for this that involved keeping the background image in memory even when unlocked. That way it would be immediately available when locking.

But it was determined that the memory usage was not worth the speed. So... I guess we just need to make the delay look nicer?

Changed in unity8 (Ubuntu):
status: In Progress → Confirmed
Michael Terry (mterry)
Changed in unity8 (Ubuntu):
assignee: Michael Terry (mterry) → nobody
Revision history for this message
Michael Terry (mterry) wrote :

I think this is fixed these days with caching for background images.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.