Closed Bug 1128583 Opened 9 years ago Closed 9 years ago

Like AppWindow#tryWaitForFullRepaint, BrowserMixin#waitForNextPaint should have a fast path for the homescreen

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1117444

People

(Reporter: etienne, Unassigned)

Details

Attachments

(1 obsolete file)

This could lead to the homescreen not being ready more often. But it's shredding 500ms of a delay between a frequent user action and the feedback, so I think it's worth exploring.
Comment on attachment 8557996 [details] [review]
[PullReq] etiennesegonzac:bug-1128583 to mozilla-b2g:master

What do you think?
Attachment #8557996 - Flags: review?(alive)
Comment on attachment 8557996 [details] [review]
[PullReq] etiennesegonzac:bug-1128583 to mozilla-b2g:master

Ya for perf reason.
Attachment #8557996 - Flags: review?(alive) → review+
Dear Alive, Etienne,

After load this patch, while back to homescreen, homescreen would first flash the screen.

For QA would calculate hot exit time with flash time. Could we let homescreen not flash ?

Thanks.
Flags: needinfo?(etienne)
Flags: needinfo?(alive)
Comment on attachment 8557996 [details] [review]
[PullReq] etiennesegonzac:bug-1128583 to mozilla-b2g:master

(In reply to ben.song from comment #4)
> Dear Alive, Etienne,
> 
> After load this patch, while back to homescreen, homescreen would first
> flash the screen.
> 
> For QA would calculate hot exit time with flash time. Could we let
> homescreen not flash ?
> 
> Thanks.

I'll try to come up with a better approach.
Obsoleting the patch in the meantime...
Attachment #8557996 - Attachment is obsolete: true
Flags: needinfo?(etienne)
Flags: needinfo?(alive)
Closing this one in favor of bug 1117444 which doesn't imply a solution but just explains the "bug".
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: