Closed
Bug 988670
Opened 11 years ago
Closed 11 years ago
[Camera][Madai] Behavior when leaving camera while in preview mode and hitting home button needs to be reconsidered
Categories
(Firefox OS Graveyard :: Gaia::Camera, enhancement)
Tracking
(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 fixed)
People
(Reporter: marcia, Assigned: hyuna.cho82)
References
()
Details
Attachments
(2 files, 1 obsolete file)
Buri, while running with the latest master.
Gaia 5ae2df02e30bda2ae04830d6e181ecf31ff38817
SourceStamp c69c55582faa
BuildID 20140326040202
Version 31.0a1
STR:
1. Open the camera app
2. Select the button on the left to open the previews.
3. While in preview mode hit the home button.
4. Open the camera app again
Expected: The camera app would open and I would see the viewfinder so I can take a picture
Actual: I am taken back to the gallery view and have to long press on the screen to get back into camera
Comment 1•11 years ago
|
||
Agreed, user would most likely expect the viewfinder to show up when you go to homescreen and come back. This is typical in other android based phones as well.
Amy/Tif - your input?
Flags: needinfo?(tshakespeare)
Flags: needinfo?(amlee)
Comment 2•11 years ago
|
||
(In reply to Hema Koka [:hema] from comment #1)
> Agreed, user would most likely expect the viewfinder to show up when you go
> to homescreen and come back. This is typical in other android based phones
> as well.
>
> Amy/Tif - your input?
I agree, when you enter back to camera from the homescreen it should take you to the viewfinder and not back to the image preview.
Flags: needinfo?(amlee)
Comment 3•11 years ago
|
||
Confirm - let's go straight back to the viewfinder when camera is reopened.
Flags: needinfo?(tshakespeare)
Updated•11 years ago
|
Severity: critical → enhancement
Updated•11 years ago
|
Flags: needinfo?(wilsonpage)
Comment 4•11 years ago
|
||
wilson - please take a look when your blockers are done
Comment 5•11 years ago
|
||
Axel, flagging you for insight on whether these numbers get localized (guessing not)?
Flags: needinfo?(axel)
If we close the preview gallery when press the home button, it's affect to the below situation
case 1.
1) Take a picture and Click the preview button
2) Press the power key to turn off the screen
3) Turn on the screen
4) Now display opened the preview
case 2.
1) Take a picture and Click the preview button
2) Click the gallery button on the preview
3) Click camera button on Gallery app
4) Now display opened the preview
If we change the scenario about pressing home button, the preview will close in case of case 1/case 2 also.
We can't distinguish whether user press the home button or not in camera app.
Please check the scenario about all visibility states
Flags: needinfo?(tshakespeare)
Flags: needinfo?(mozillamarcia.knous)
Flags: needinfo?(amlee)
Comment 8•11 years ago
|
||
(In reply to Stephany Wilkes from comment #5)
> Axel, flagging you for insight on whether these numbers get localized
> (guessing not)?
I don't see numbers in this bug, not sure. Right bug?
Flags: needinfo?(axel)
Comment 9•11 years ago
|
||
Agreed. I think it's right to close the preview gallery whenever the app is minimised.
Flags: needinfo?(wilsonpage)
Comment 10•11 years ago
|
||
I think that's fine - to always go back to the viewfinder. The primary goal of this app is to take photos and I would rather have someone have to take an extra tap to get back to preview than miss a double rainbow moment.
I don't think people will be confused as the viewfinder will give them immediate feedback that they are in camera mode.
Asking Rob for his input...
Flags: needinfo?(tshakespeare) → needinfo?(rmacdonald)
Comment 11•11 years ago
|
||
(In reply to hyuna.cho from comment #7)
> If we close the preview gallery when press the home button, it's affect to
> the below situation
>
> case 1.
> 1) Take a picture and Click the preview button
> 2) Press the power key to turn off the screen
> 3) Turn on the screen
> 4) Now display opened the preview
>
> case 2.
> 1) Take a picture and Click the preview button
> 2) Click the gallery button on the preview
> 3) Click camera button on Gallery app
> 4) Now display opened the preview
>
> If we change the scenario about pressing home button, the preview will close
> in case of case 1/case 2 also.
>
> We can't distinguish whether user press the home button or not in camera app.
>
> Please check the scenario about all visibility states
I agree with Tiff on this one. If you minimize and reopen, I think it's okay that it goes back to camera
Flags: needinfo?(amlee)
Reporter | ||
Comment 12•11 years ago
|
||
We discussed this in triage yesterday and I think we are all in agreement regarding the change.
Flags: needinfo?(mozillamarcia.knous)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8401006 -
Flags: review?(wilsonpage)
Comment 14•11 years ago
|
||
This needs to come with a simple unit-test:
'Should close the the preview-gallery on blur'
Comment 15•11 years ago
|
||
Comment on attachment 8401006 [details]
PR-988670.html
Missing unit-tests to define this spec.
Attachment #8401006 -
Flags: review?(wilsonpage) → review-
Assignee | ||
Comment 16•11 years ago
|
||
Comment on attachment 8401006 [details]
PR-988670.html
I updated the UT code. Please check it.
Attachment #8401006 -
Flags: review- → review?(wilsonpage)
Updated•11 years ago
|
Attachment #8401006 -
Flags: review?(wilsonpage) → review+
Comment 17•11 years ago
|
||
(In reply to Tiffanie Shakespeare from comment #10)
> I think that's fine - to always go back to the viewfinder. The primary goal
> of this app is to take photos and I would rather have someone have to take
> an extra tap to get back to preview than miss a double rainbow moment.
>
> I don't think people will be confused as the viewfinder will give them
> immediate feedback that they are in camera mode.
>
> Asking Rob for his input...
Agreed.
Flags: needinfo?(rmacdonald)
Comment 19•11 years ago
|
||
Landed on 'master': https://github.com/mozilla-b2g/gaia/commit/243e4ef0377302c0ed29e37eb57a606d5e7615e3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 21•11 years ago
|
||
Marking this 1.4+ so we can uplift to 1.4. This patch is required for 1.4+ bug 1001503.
blocking-b2g: --- → 1.4+
Comment 22•11 years ago
|
||
Pull Request for v1.4 -- carrying R+ forward
Attachment #8414596 -
Flags: review+
Comment 23•11 years ago
|
||
Updated•11 years ago
|
Updated•10 years ago
|
Flags: in-moztrap?(bzumwalt)
Comment 24•10 years ago
|
||
New test case needs to be written to address bug.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Comment 25•10 years ago
|
||
Test case added in moztrap:
https://moztrap.mozilla.org/manage/case/14366/
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Flags: in-moztrap?(bzumwalt)
Flags: in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•