Closed
Bug 1051636
Opened 10 years ago
Closed 10 years ago
Fullscreen video has blank menu bar at top of screen on Windows
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
FIXED
mozilla35
People
(Reporter: cpearce, Assigned: roc)
References
Details
(Keywords: regression)
Attachments
(3 files)
(deleted),
image/jpeg
|
Details | |
(deleted),
patch
|
tnikkel
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
video/mp4
|
Details |
When you enter fullscreen on a video on Windows 8.1, you see a blank window/titlebar at the top of the screen, and a window frame around the video. See attached screenshot. I tested in my Linux VM, and this did not happen, so I suspect this is Windows only. STR: 1. Open http://people.mozilla.org/~cpearce/video/avatar.webm 2. Click the "fullscreen" button on the video controls. 3. Observe blank window titlebar and frame around the window. It's as if the top-level widget/window isn't going fullscreen. This is a regression. Last good revision: 2014-07-20-03-02-03 First bad revision: 2014-07-21-03-02-05 Range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0894d2cdb16d&tochange=e743fd8c57ed
Reporter | ||
Comment 1•10 years ago
|
||
This is a regression from one of the parts of bug 1022612. Am narrowing the regression range further now...
Blocks: 1022612
Flags: needinfo?(roc)
Reporter | ||
Comment 4•10 years ago
|
||
[Tracking Requested - why for this release]: We should not ship a regression in fullscreen behaviour...
status-firefox34:
--- → affected
tracking-firefox34:
--- → ?
Assignee | ||
Comment 6•10 years ago
|
||
I don't see this on Windows 7 on trunk. So I'll probably need some help from Chris on Windows 8.1 when he gets back.
Assignee: nobody → roc
Status: NEW → ASSIGNED
Flags: needinfo?(roc)
Assignee | ||
Comment 7•10 years ago
|
||
The problem seems to be that something is drawing the window frame when it shouldn't. The generated layer tree looks fine when we dump it from layout. The chrome document gets a 1px-high layer at the top of the screen, and the content document gets a ThebesLayer filling the screen and an ImageLayer for the video. Nothing in the two latter documents corresponds to theme drawing or anything else that could draw the window frame. I'm not sure what the problem is. Bas, Jim, do you know how that window frame gets drawn?
Flags: needinfo?(jmathies)
Flags: needinfo?(bas)
Comment 8•10 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #7) > The problem seems to be that something is drawing the window frame when it > shouldn't. > > The generated layer tree looks fine when we dump it from layout. The chrome > document gets a 1px-high layer at the top of the screen, and the content > document gets a ThebesLayer filling the screen and an ImageLayer for the > video. Nothing in the two latter documents corresponds to theme drawing or > anything else that could draw the window frame. > > I'm not sure what the problem is. Bas, Jim, do you know how that window > frame gets drawn? Windows 8 could be doing this, maybe this has something to do with window styles. I noticed the html5 fullscreen window (same window type) for youtube doesn't have the problem, I think because youtube paints the entire window. In the avatar video chris posted, we only paint the wide screen strip.
Flags: needinfo?(jmathies)
Assignee | ||
Comment 9•10 years ago
|
||
Yeah it looks like the bug is that the ThebesLayer that's supposed to be covering the window isn't drawn by the compositor at all! Only the ImageLayer is drawn.
Assignee | ||
Comment 10•10 years ago
|
||
I found the bug. The problem is that nsVideoFrame::BuildLayer marks the ImageLayer as opaque but FrameLayerBuilder computes a visible region for the layer that extends outside the actual image, so layout lies; the opaque flag should only be used when a layer is opaque everywhere in its visible region. The computed visible region for the ImageLayer is actually the entire window, so the compositor culls out the ThebesLayer that contains the window contents that need to be drawn.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(bas)
Updated•10 years ago
|
Attachment #8489803 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/66bad3def025
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8489803 [details] [diff] [review] fix Approval Request Comment [Feature/regressing bug #]: 1022612 [User impact if declined]: Bad visual regression for fullscreen video on Windows [Describe test coverage new/current, TBPL]: nothing specific but lots of tests test this code [Risks and why]: risk is low. we're just disabling an optimization that doesn't do much anyway. The regression has to be fixed. [String/UUID change made/needed]: none.
Attachment #8489803 -
Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/66bad3def025
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Comment 15•10 years ago
|
||
Comment on attachment 8489803 [details] [diff] [review] fix Aurora+
Attachment #8489803 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 16•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/087d2302031e
status-firefox35:
--- → fixed
Updated•10 years ago
|
Flags: qe-verify+
Comment 18•10 years ago
|
||
Reproduced using Nightly 2014-08-10. Verified as fixed on Firefox 34 beta 1 (20141014134955).
Assignee | ||
Comment 19•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/87be724130fa
Updated•10 years ago
|
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
Comment 20•10 years ago
|
||
I was able to reproduce this issue on Firefox 34.0a1 (2014-08-10) using Windows 8.1 x64. Verified fixed on Latest Firefox 35.0a2 (2014-11-24) using Windows 8.1 x64.
Comment 21•10 years ago
|
||
This issue has been verified successfully on Flame 2.1 & 2.2. See attachment: Verify_Video_Flame.MP4 Reproducing rate: 0/20 Flame v2.1 version: Gaia-Rev db2e84860f5a7cc334464618c6ea9e92ff82e9dd Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/211eae88f119 Build-ID 20141126001202 Version 34.0 Flame v2.2 version: Gaia-Rev 41b7be7c67167f367c3c4982ff08651d55455373 Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/ff4a63d66806 Build-ID 20141126160201 Version 36.0a1
Updated•10 years ago
|
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•