Closed
Bug 1240978
Opened 9 years ago
Closed 9 years ago
Shorten the max timeout of black screen in fullscreen transition
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In the initial implementation, I set a one second timeout for fullscreen transition's staying in black, so that in case that something unexpected happens, we wouldn't get stuck in the black screen.
It seems in some machines, doing the fullscreen reflow on Youtube could even take longer than one second. Staying in black screen for a long time could be a even poorer experience than exposing an intermediate state. Thus we may want to shorten the timeout to something like 300ms.
Hopefully this would help mitigating bug 1187769.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/31579/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/31579/
Attachment #8709836 -
Flags: review?(bugs)
Comment 2•9 years ago
|
||
Comment on attachment 8709836 [details]
MozReview Request: Bug 1240978 - Shorten timeout for black screen in fullscreen transition.
https://reviewboard.mozilla.org/r/31579/#review28313
But either way, up to you to decrease the default or use some pref.
::: dom/base/nsGlobalWindow.cpp:5886
(Diff revision 1)
> - static const uint32_t kNextPaintTimeout = 1000; // ms
> + static const uint32_t kNextPaintTimeout = 500; // ms
I wonder if this should be controlled by some pref so that people on different machines could try out which works best and then we could select some good default.
Attachment #8709836 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8709836 [details]
MozReview Request: Bug 1240978 - Shorten timeout for black screen in fullscreen transition.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/31579/diff/1-2/
Assignee | ||
Updated•9 years ago
|
Attachment #8709836 -
Flags: review+ → review?(bugs)
Comment 4•9 years ago
|
||
Comment on attachment 8709836 [details]
MozReview Request: Bug 1240978 - Shorten timeout for black screen in fullscreen transition.
https://reviewboard.mozilla.org/r/31579/#review28815
Attachment #8709836 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/62b5f4684fa94c890beae19ef7e47fa9159ff151
Bug 1240978 - Shorten timeout for black screen in fullscreen transition. r=smaug
Comment 6•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → quanxunzhen
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•