Closed Bug 1087710 Opened 10 years ago Closed 7 years ago

Status bar icons are not deterministic

Categories

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

x86
macOS
defect

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: gwagner, Unassigned)

References

Details

(Whiteboard: [systemsfe])

Attachments

(2 files)

Attached image no time (deleted) —
On 2.1: The items on the status bar are not deterministic. Sometimes the time is shown and sometimes not. STR in my case: Create bookmark from www.kleine.at and open it. Play with expanding and collapsing the rocketbar.
Attached image with time (deleted) —
Attachment #8509893 - Attachment description: 2014-10-22-15-59-28.png → no time
Whiteboard: [systemsfe]
blocking-b2g: --- → backlog
Priority: -- → P1
Guillaume, have you seen this? Any idea what it could be?
Flags: needinfo?(gmarty)
Depends on: 1086205
From what I can tell, appchromecollapsed and appchromeexpanded are triggered mutiple times even on a simple unidirectional scroll, thus adding and removing the CSS class responsible for animating the url bar. This results in appchromecollapsed event being triggered when the rocket bar is in the middle of an animation and querying its width returns different random values. This is a regression from Bug 1074028. Kevin, can we fix the detection of the scroll direction? Or is there a way to know when the scroll has stopped and the transition ended so that we can trigger appchromeexpanded at that moment?
Flags: needinfo?(gmarty)
Blocks: 1074028
Flags: needinfo?(kgrandon)
Hmm, I'd have to play around with this a bit to see what the best option here is. I wonder if we should be storing the minimized app chrome width within the app chrome instance itself? I feel that this may be more performant and stable than trying to guess it from the statusbar code.
Flags: needinfo?(kgrandon)
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: