[FFOS7715 v2.1][Gaia_System_WindowMgmt] during cold boot of apps, surface of apps appears by animation classList enlarge before loadend event reveived

NEW
Unassigned

Status

Firefox OS
Gaia::System
3 years ago
3 years ago

People

(Reporter: ben.song, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Dear All,

During cold boot of apps, we found surface of apps always appear after black_icon background removed, but this moment mozbrowserloadend event haven't been received. So we could see statusbar appears late during cold boot of sms app.
(Reporter)

Comment 1

3 years ago
Dear All,

After debug with nightly, we found after black_icon background removed, at the moment animation of open_app ended, 'enlarge' added in classList of AppWindow div element. After this, surface of app would appear immediately, and remove during response of opened (clearTransitionClasses).

For this, during cold boot of app, there is a little splash screen.

Like Phone app, the time of load is shorter than other, so statusbar lately and splash screen are inapparent, but about SMS and Settings, these problems are more serious.

We need know why surface appears before loaded received.

Thanks.
Flags: needinfo?(vchen)
Flags: needinfo?(etienne)
Flags: needinfo?(alive)
What is surface? I don't understand the problem here.
Flags: needinfo?(alive)
The statusbar changes color only when we get the mozbrowsermetachange event.
We can't know the color of the statusbar before the app is loaded.

That said we use to show the status bar content with a black background then nicely transition to the color. Which was a better UX.

Guillaume, any idea when/why it regressed?
Flags: needinfo?(vchen)
Flags: needinfo?(gmarty)
Flags: needinfo?(etienne)
I don't really know. I got involved in the status bar colour code very recently.
Maybe we should ping QA for a regression window.
Flags: needinfo?(gmarty)
You need to log in before you can comment on or make changes to this bug.