Closed Bug 965386 Opened 10 years ago Closed 10 years ago

[B2G]The clock on the status bar disappears after using the camera from the lockscreen with passcode lock enabled

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.2 unaffected, b2g-v1.3 fixed)

RESOLVED FIXED
1.3 C3/1.4 S3(31jan)
blocking-b2g 1.3+
Tracking Status
b2g-v1.2 --- unaffected
b2g-v1.3 --- fixed

People

(Reporter: astole, Assigned: qdot)

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(2 files, 1 obsolete file)

Attached image Screenshot
Taking a picture with a passcode lock enabled, then unlocking the phone causes the clock on the homescreen to disappear.

Repro Steps:
1) Updated Buri to BuildID: 20140129004052
2) Lock the phone with a passcode enabled
3) Tap the camera icon on the lockscreen
4) Press home button
5) Unlock the phone

Actual:
The clock is no longer visible on the homescreen.

Expected:
The clock is visible on the homescreen after unlocking the phone.

Environmental Variables:
Device: Buri v1.3 Mozilla RIL
BuildID: 20140129004052
Gaia: b0aa74619cffb7a39ee0e7da5e9361a98e69f3f6
Gecko: 7d1173c4b173
Version: 28.0a2
Firmware Version: V1.2-device.cfg

Repro frequency: 100%
See attached: Screenshot
This issue does not occur on the latest 1.2

Environmental Variables:
Device: (example: Buri v1.2 Mozilla RIL)
BuildID: 20140128004004
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Gecko: d10e1f965d0c
Version: 26.0
Firmware Version: V1.2-device.cfg
Summary: [B2G][Homescreen][Location]The clock on the homescreen disappears after using the camera from the lockscreen with passcode lock enabled. → [B2G][Homescreen]The clock on the homescreen disappears after using the camera from the lockscreen with passcode lock enabled.
Summary: [B2G][Homescreen]The clock on the homescreen disappears after using the camera from the lockscreen with passcode lock enabled. → [B2G][Homescreen]The clock on the status bar disappears after using the camera from the lockscreen with passcode lock enabled
blocking-b2g: --- → 1.3?
Component: Gaia::Homescreen → Gaia::System
QA Contact: jzimbrick
Regression Window:

Last Working Environmental Variables:
Device: Buri v1.3 Mozilla RIL
BuildID: 20131120040202
Gaia: c26480b22ce28c812c347290dd4bad090d83db6f
Gecko: 4f993fa378eb
Version: 28.0a1
Base Image: V1.2-device.cfg

First Broken Environmental Variables:
Device: Buri v1.3 Mozilla RIL
BuildID: 20131121040202
Gaia: 71063dd91bc8cbb15ba335236ed67a1c5058bd58
Gecko: cf378dddfac8
Version: 28.0a1
Base Image: V1.2-device.cfg
Summary: [B2G][Homescreen]The clock on the status bar disappears after using the camera from the lockscreen with passcode lock enabled → [B2G]The clock on the status bar disappears after using the camera from the lockscreen with passcode lock enabled
Gregor,

Please review from System perspective.
blocking-b2g: 1.3? → 1.3+
Flags: needinfo?(anygregor)
Confirmed on desktop. Looks like somehow this triggers a case where this.toggleTimeLabel doesn't get called.
Assignee: nobody → kyle
Currently trying to figure out who to assign this to since timdream is out.
Comment on attachment 8368391 [details] [review]
Patch 1 (v1) - Make lockscreen always fire unlock message when unlock happens

Kyle: You can use https://wiki.mozilla.org/Modules/FirefoxOS to find module peers. I'm giving this to Étienne.
Attachment #8368391 - Flags: review?(etienne)
Comment on attachment 8368391 [details] [review]
Patch 1 (v1) - Make lockscreen always fire unlock message when unlock happens

I'll much rather fix the issue.

If you follow the STR, by the time we get to set the "unlocked" class on the overlay [1] it has the "no-transition" css class. No wonder why we don't get our transitionend :)

https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/lockscreen.js#L641
Attachment #8368391 - Flags: review?(etienne) → review-
We explicitly remove the no-transition class on the way to the camera panel, but we never add it back when we come out. This fixes that. Should be fine for just happening in main/passcode since there's no camera to emergency call transition flow available.
Attachment #8368391 - Attachment is obsolete: true
Attachment #8368862 - Flags: review?(etienne)
Comment on attachment 8368862 [details] [review]
Patch 1 (v2) - Readd no-transition class when coming out of camera panel

Awesome, thanks!
Attachment #8368862 - Flags: review?(etienne) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(anygregor)
Resolution: --- → FIXED
Whiteboard: [systemsfe]
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
Uplifted a9a4e7bbcf55d1bd0a0d441f7dcc6271cc2dc6b1 to:
v1.3: d67e086f2583b80223d1dffdef866dbef4720400
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: