Closed Bug 1145448 Opened 5 years ago Closed 5 years ago

When fullscreen window lose focus, a fake title bar is painted


(Core :: Widget: Win32, defect)

Windows 8.1
Not set



Tracking Status
firefox38 --- verified
firefox39 --- verified
firefox40 --- verified


(Reporter: xidorn, Assigned: xidorn)


(Blocks 1 open bug)


(Keywords: regression)


(2 files)

Attached image screenshot
Steps to reproduce:
1. Make something in fullscreen (DOM fullscreen, not fullscreen mode)
2. Switch to some other window
3. Go back to the fullscreen window

There will be a strange title bar at the top of the fullscreen. However, this title bar is actually transparent to any pointer event. I guess it is just something mispainted.

This doesn't happen on the current release, but reproducible on aurora and nightly.
See Also: → 1064787
Attached patch patchSplinter Review
Attachment #8590064 - Flags: review?(jmathies)
Although I cannot reproduce bug 1064787, this patch probably could also fix that bug.
Duplicate of this bug: 1064787
Comment on attachment 8590064 [details] [diff] [review]

confirmed locally this fixes the problem.
Attachment #8590064 - Flags: review?(jmathies) → review+
Lets nominate this for aurora and beta uplift once it lands and sticks.
Assignee: nobody → quanxunzhen
Comment on attachment 8590064 [details] [diff] [review]

Approval Request Comment
[Feature/regressing bug #]: unknown, but seems to be a significant regression since current beta
[User impact if declined]: will see unwanted fake title bar on the top, which is hard to remove if the page doesn't change anything on that area
[Describe test coverage new/current, TreeHerder]: no test for this particular problem
[Risks and why]: doesn't seem to have risk since it just stop system from painting its ui on fullscreen mode
[String/UUID change made/needed]: n/a
Attachment #8590064 - Flags: approval-mozilla-beta?
Attachment #8590064 - Flags: approval-mozilla-aurora?
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment on attachment 8590064 [details] [diff] [review]

Approving for uplift to aurora. Looks like a recent regression; treeherder looks ok with this change.
Attachment #8590064 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8590064 [details] [diff] [review]

We probably want that in beta too.

Should be in 38 beta 5.
Attachment #8590064 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
Reproduced the original issue on Windows 7 x64, using Firefox 38 Beta 4 and Firefox 39 from April 8th.

The issue no longer reproduces on:
- Firefox 38 Beta 5 - BuildID=20150416143048
- latest Firefox 39 Aurora - BuildID=20150416004008
- latest Firefox 40 Nightly - BuildID=20150416143048
You need to log in before you can comment on or make changes to this bug.