Preview frozen after unlocking
Bug #1398436 reported by
Pat McGowan
This bug report is a duplicate of:
Bug #1309915: foreground app should keep wakelock open until actual suspend happens (aka camera takes ~5 seconds to be responsive after waking phone).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
In Progress
|
Critical
|
Unassigned | ||
android (Ubuntu) |
New
|
Critical
|
Ricardo Salveti | ||
android (Ubuntu RTM) |
New
|
Critical
|
Ricardo Salveti |
Bug Description
[Procedures]
1 open the camera app
2 lock screen on the camera view interface by pressing power button
2.unlock the screen
[Expect results]
camera screen display normally
[Actual results]
The preview image is frozen for about 5 secs
[Reproduce]
May need to do 5 to 10 times
Once in this state it seems to then happen consistently
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → ww50-2014 |
status: | New → Confirmed |
Changed in camera-app (Ubuntu): | |
assignee: | nobody → Florian Boucault (fboucault) |
Changed in camera-app: | |
importance: | Undecided → Critical |
assignee: | nobody → Florian Boucault (fboucault) |
tags: | added: ww51 |
Changed in android (Ubuntu): | |
assignee: | nobody → Ricardo Salveti (rsalveti) |
Changed in android (Ubuntu RTM): | |
assignee: | nobody → Ricardo Salveti (rsalveti) |
Changed in android (Ubuntu): | |
importance: | Undecided → Critical |
Changed in android (Ubuntu RTM): | |
importance: | Undecided → Critical |
no longer affects: | qtubuntu-camera (Ubuntu) |
no longer affects: | qtubuntu-camera (Ubuntu RTM) |
no longer affects: | camera-app |
no longer affects: | camera-app (Ubuntu) |
no longer affects: | camera-app (Ubuntu RTM) |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww51-2014 → ww03-2015 |
To post a comment you must log in.
I did some testing. I am seeing two different behaviors:
1) "Normal" behavior: when the phone is locked/unlocked, the viewfinder shows black for ~1 second and then switches back to live viewfinder mode. This is expected, as the camera-app has to release the camera backend when it becomes inactive (either from moving to the background or locking the phone) such that other apps using the camera will have it available. Only one client connection at a time is allowed and this how Android subsystem we are using is designed.
2) Abnormal behavior: hard to reproduce, but sometimes after lock/unlock the viewfinder shows a frozen image of the previous preview for ~5seconds, then switches to black screen, then to a live viewfinder. Cannot always reproduce this but assuming this is the bug that has been reported.
@victor
Can you confirm that 2) is the case that is being reported?