Closed Bug 1513066 Opened 7 years ago Closed 7 years ago

Fullscreen mode doesn't cover the full screen on win 7

Categories

(Core :: Widget: Win32, defect)

65 Branch
Unspecified
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla66
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 + verified
firefox66 + verified

People

(Reporter: krzysztof.glebowicz, Assigned: agashlin)

References

(Blocks 1 open bug)

Details

(Keywords: qawanted, regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 Steps to reproduce: The bug looks like win7-specific. 1. Run Firefox Nightly. 2. Open any site, youtube or about:newtab 3. Hit F11 or press the fullscreen button on youtube. Actual results: The window getting smaller actually, covers about 3/4 of the window. There's at least one more report of this issue on SUMO: https://support.mozilla.org/en-US/questions/1243053 Expected results: The browser should go into the fullscreen mode.
OS: Unspecified → Windows 7
Component: Untriaged → Widget: Win32
Product: Firefox → Core
Has Regression Range: --- → yes
Thank you for the report Krzysztof, you're right that my patch in bug 1482920 caused this. I can reproduce this in a Win 7 VM with DPI scaling at 125%, I overlooked that I need to scale by GetDesktopToDeviceScale. With per-monitor DPI scaling that's always 1.0, but per-monitor isn't available until Win 8.1. I'll have a patch shortly, this will need to be uplifted to beta as well.
Assignee: nobody → agashlin
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by agashlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/794798205610 Scale monitor size when forcing fullscreen. r=jmathies
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Confirming, the bug is Fixed on my side. Thanks!
Status: RESOLVED → VERIFIED
I realized when writing up the beta uplift request that the method I was using to get the screen was susceptible to the same scaling issue (which for instance breaks Shift+Win+Arrow monitor switching more than it was previously). I'm simplifying things to just use the same GetWidgetScreen() that InfallibleMakeFullScreen() does.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
I'll address the monitor selection issue in followup bug 1514501.
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
Comment on attachment 9030905 [details] Bug 1513066 - Scale monitor size when forcing fullscreen. r?jmathies [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: Bug 1482920 User impact if declined: On Windows 7 with dpi scaling > 100%, a fullscreen window will not fill the whole screen. There is no user workaround other than changing scaling to 100%. Is this code covered by automated tests?: Unknown Has the fix been verified in Nightly?: Yes Needs manual test from QE?: No If yes, steps to reproduce: List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): This addresses an oversight in scaling with force fullscreen, bringing the code in line with the scaling method used for window sizing in general. It is clearly more correct now and any remaining unanticipated risk would have been present in bug 1482920 to begin with. String changes made/needed:
Attachment #9030905 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Comment on attachment 9030905 [details] Bug 1513066 - Scale monitor size when forcing fullscreen. r?jmathies [Triage Comment] Fixes incorrect fullscreen video playback on Windows 7 with dpi scaling > 100%. Approved for 65.0b5.
Attachment #9030905 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
I’ve reproduced this issue on Fx 65.0a1 (20181210095504) with DPI scaling at 125% on Windows 7 x86. The issue is no longer reproducible with Fx 65.0b5 (20181217101316) and on Fx 66.0a1 (20181217093726) on the same platform.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: