Closed Bug 995401 Opened 11 years ago Closed 11 years ago

[B2G][Camera][Video]Video recorder icon and recording timer intermittently rotates and displays in different view than user perspective

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 affected)

RESOLVED INVALID
Tracking Status
b2g-v1.4 --- affected

People

(Reporter: mclemmons, Unassigned)

References

()

Details

(Whiteboard: [1.4-camera-exploratory][priority])

Attachments

(1 file)

User taps Camera App and toggles the camera/video button to video. Intermittently, the video icon rotates in a different direction than the expected lens pointed to the right. User experienced the lens pointed up, down, and to the left either without user input or with user tapping the toggle button. Whatever direction the lens is pointed is the direction the recording timer displays when activated. For example, if the lens points downward, so does the timer causing the user to have to alter the direction of their head to view in a typical fashion. Repro Steps: 1) Updated Buri to BuildID: 20140411000202 2) Tap Camera App and either toggle the camera/recorder button to record or do nothing Actual: The lens intermittently rotates in a variety of directions (up, down, left, and right). Whichever direction it is pointed is the direction the recording timer displays Expected: The lens stays pointed to the right and the display of the recording timer is consistent in view for the user (left to right) Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140411000202 Gaia: 6c50349f41d40ba175ea0fc0c2c2cbd739ba7170 Gecko: 28b419f0e857 Version: 30.0a2 Firmware Version: v1.2-device.cfg Notes: Repro frequency: (30/100, 30%) See attached: logcat, video = https://www.youtube.com/watch?v=dx4cE9iIWpE Other: Able to reproduce this behavior after device restart, device power off, holding down the homescreen button and closing the app entirely and re-entering app, and tapping homescreen button (not close app entirely) and re-opening the Camera App.
This issue does not reproduce on 1.3 Buri as this feature (toggle button to switch from video to camera) is not present on this build. However, the inadvertent rotation of the direction of the lens does occur temporarily in the footer at a low reproduction rate and never locks in position as it does on 1.4 Buri 4/11 build. The record timer never displays in an unorthodox position. Repro rate is 5% - 5/100. Device: Buri 1.3 MOZ BuildID: 20140409164003 Gaia: 62acb4b0e774b6709b8be400d849f807404bb21b Gecko: 82e5ff16645a Version: 28.0 Firmware version: v1.2-device.cfg
This issue does not reproduce on 1.4 Buri 3/26 Build. The toggle between video and camera mode is not available on this build. However, the inadvertent rotation of the video lens direction does occur but only temporarily and does not lock in place as with the case in 1.4 Buri 4/11 build. The record timer never displays in an uncomfortable position. Repro rate is 15/100 – 15% Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140326000201 Gaia: 7e705dd4718d528974d99ac31866318d7e201152 Gecko: 4889124accfa Version: 30.0a2 Firmware Version: v1.2-device.cfg
The icons being off is minor, but the timer being oriented wrong is going to annoy a user. I don't think this is severe enough to block. However, the timer orientation being off is a bit of an ugly papercut. Hema - Can we put this on the priority non-blocking backlog to fix eventually?
Flags: needinfo?(hkoka)
After blockers are fixed and the perf work that you are doing is done, wilson (cc'ing you), please take a look
Blocks: 985405
Flags: needinfo?(hkoka)
Whiteboard: [1.4-camera-exploratory] → [1.4-camera-exploratory][priority]
No longer blocks: 985405
When the device is flat I think it's difficult to determine what orientation we should be in. We have an orientation library that decides this (0deg, 90deg, 180deg, 270deg). It seems, when the device is flat we're miscalculating the user's desired orientation. I could see that the recording timer wasn't the only element incorrectly placed, the other icons were also at the wrong angle.
This seems to be correct behaviour: when recording starts in landscape mode, we fix that mode until recording is stopped. When the phone is lying flat on a table, the most we can do is guess at the orientation mode, since either landscape or portrait could be correct. So the selected mode will be very sensitive, and may (should) be sticky once chosen. This is all working as expected.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: