Closed Bug 991813 Opened 11 years ago Closed 11 years ago

[Camera] Zoom Bar jumps on orientation change

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 verified, b2g-v2.0 verified)

VERIFIED FIXED
1.4 S5 (11apr)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- verified
b2g-v2.0 --- verified

People

(Reporter: justindarc, Assigned: justindarc)

References

Details

Attachments

(1 file)

When rotating the device while the Zoom Bar is visible on-screen, the Zoom Bar can be seen momentarily in its new location. The expected behavior is for the Zoom Bar to disappear completely in the new orientation until re-activated by the user. This was previously resolved in bug 985236 and the patch for it is still intact on master. So, I'm assuming something has changed in gecko to cause the previous patch to no longer be effective in preventing this.
Blocks: 983405
Assignee: nobody → jdarcangelo
Attached file pull-request (master)
David: Please review. It looks like an additional animation frame is required for enforcing the `0s` transition duration and then re-enabling it again. Tif: Take a look at this patch on your device and let me know if this resolves the issue for you. You'll have to pull down my branch to test: git fetch justindarc git checkout justindarc/bug991813 make install-gaia APP=camera
Attachment #8401466 - Flags: ui-review?(tshakespeare)
Attachment #8401466 - Flags: review?(dflanagan)
Comment on attachment 8401466 [details] [review] pull-request (master) I'm giving r+, but am a little uncomfortable because I don't understand why this works and the old code didn't. If you understand it, I recommend a comment explaining it. If you don't understand it, are there simpler ways to achieve the same end? Like setting display:none and then restoring display:block after a RAF?
Attachment #8401466 - Flags: review?(dflanagan) → review+
blocking-b2g: --- → 1.4+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 8401466 [details] [review] pull-request (master) patch resolves the jumping issue on rotation
Attachment #8401466 - Flags: ui-review?(tshakespeare) → ui-review+
The bug is no longer reproduces on 1.4 and 1.5 master The zoom icon disappears completely when rotating the phone until re-activated by user 1.4 Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140407000203 Gaia: 86de7fcce674ef6196d68e7e23552d219a3d72db Gecko: 6e028297be14 Version: 30.0a2 Firmware Version: v1.2-device.cfg 1.5 Environmental Variables: Device: Buri 1.5 Master BuildID: 20140407040202 Gaia: f1a98bfaa3ab2480945bd7018831fd56c61cdc24 Gecko: 5405d6f4e3c6 Version: 31.0a1 Firmware Version: v1.2-device.cfg
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: