← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1398436] Re: Preview frozen after unlocking

 

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?

** Changed in: camera-app
       Status: New => In Progress

** Also affects: qtubuntu-camera (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: qtubuntu-camera (Ubuntu RTM)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-camera in Ubuntu.
https://bugs.launchpad.net/bugs/1398436

Title:
  Preview frozen after unlocking

Status in Camera App:
  In Progress
Status in the base for Ubuntu mobile products:
  Confirmed
Status in camera-app package in Ubuntu:
  Confirmed
Status in qtubuntu-camera package in Ubuntu:
  New
Status in camera-app package in Ubuntu RTM:
  New
Status in qtubuntu-camera package in Ubuntu RTM:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1398436/+subscriptions