White Bar Around Window On Secondary Monitor - Scaling Issue
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: nickkmett, Unassigned, NeedInfo)
References
Details
Attachments
(5 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
I have a secondary 1080p monitor (Dell P2419h) connected to my Dell XPS 15 9560 with 4k panel. When using my secondary 1080p monitor, I have it set as my primary monitor and use my laptop (4k) as the secondary monitor.
With this setup, I then move a Firefox window over to the secondary laptop monitor and maximize it.
Actual results:
When using Firefox on the secondary (laptop, 4k) monitor, a white bar around the sides and bottom of the full-screen window appears. Moving the window over to the 1080p external primary monitor and maximizing it does not result in the white bars. It only occurs on the secondary laptop monitor. The white bars are only visible when the window is maximized
Expected results:
When using the maximized window on the secondary laptop 4k panel, there should be no white bars.
Moving to Core: Layout component, please correct if this can be placed in a better category.
Comment 2•5 years ago
|
||
Maybe sotaro has ideas? This is either Graphics or Widget: Win32.
Comment 3•5 years ago
|
||
Content size is calculated at WM_NCCALCSIZE message handling. It might be related.
https://searchfox.org/mozilla-central/source/widget/windows/nsWindow.cpp#5061
I tried to reproduce it locally, but I could not reproduce it.
Comment 4•5 years ago
|
||
I am too experiencing the white-bar-around-the-maximized-window problem with a single 4k monitor, Windows 10 and Firefox 65.0.1. User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
It seems that this problem has been around for a while: https://support.mozilla.org/en-US/questions/1197359
For me, a GPU driver update seemed to trigger it.
A screenshot: https://i.imgur.com/cNdZ1ly.png
Comment 5•5 years ago
|
||
(In reply to nickkmett from comment #0)
Created attachment 9044627 [details]
Firefox_WhiteBar_annotated.jpgUser Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0)
Gecko/20100101 Firefox/65.0Steps to reproduce:
I have a secondary 1080p monitor (Dell P2419h) connected to my Dell XPS 15
9560 with 4k panel. When using my secondary 1080p monitor, I have it set as
my primary monitor and use my laptop (4k) as the secondary monitor.With this setup, I then move a Firefox window over to the secondary laptop
monitor and maximize it.Actual results:
When using Firefox on the secondary (laptop, 4k) monitor, a white bar around
the sides and bottom of the full-screen window appears. Moving the window
over to the 1080p external primary monitor and maximizing it does not result
in the white bars. It only occurs on the secondary laptop monitor. The white
bars are only visible when the window is maximizedExpected results:
When using the maximized window on the secondary laptop 4k panel, there
should be no white bars.
Has this always happened for you, or is it a new regression that just started happening?
If it's a new regression, can you try and use mozregression to see what change introduced this regression? [1]
Updated•5 years ago
|
(In reply to Ryan Hunt [:rhunt] from comment #5)
(In reply to nickkmett from comment #0)
Created attachment 9044627 [details]
Firefox_WhiteBar_annotated.jpgUser Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0)
Gecko/20100101 Firefox/65.0Steps to reproduce:
I have a secondary 1080p monitor (Dell P2419h) connected to my Dell XPS 15
9560 with 4k panel. When using my secondary 1080p monitor, I have it set as
my primary monitor and use my laptop (4k) as the secondary monitor.With this setup, I then move a Firefox window over to the secondary laptop
monitor and maximize it.Actual results:
When using Firefox on the secondary (laptop, 4k) monitor, a white bar around
the sides and bottom of the full-screen window appears. Moving the window
over to the 1080p external primary monitor and maximizing it does not result
in the white bars. It only occurs on the secondary laptop monitor. The white
bars are only visible when the window is maximizedExpected results:
When using the maximized window on the secondary laptop 4k panel, there
should be no white bars.Has this always happened for you, or is it a new regression that just started happening?
If it's a new regression, can you try and use mozregression to see what change introduced this regression? [1]
As far as I know, it has always been an issue.
Comment 7•3 years ago
|
||
¡Hola y'all, Sotaro, Emilio!
Happy 🌮 Thursday!
I believe I have a variant of this bug, but the white border is on the outside of the Nightly window.
Noticed this 1st on Nightly built from https://hg.mozilla.org/mozilla-central/rev/28be46661ce5b2e858b92549da73d3f8bacd1b20
I will attach a capture of the issue next.
Main display is 3440 x 1440, secondary is 1920 x 1080
I use https://docs.microsoft.com/es-es/windows/powertoys/fancyzones but the bug reproduces even when Microsoft PowerToys is off.
Should I file a new bug or confirm this one?
¡Gracias!
Alex
Comment 8•3 years ago
|
||
Comment 9•3 years ago
|
||
If you didn't see it until recently, can you run mozregression
to try to figure out what broke it? In any case a new bug might be worth it.
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
¡Hola Emilio!
Thanks for looking into this, on further review the exact same bug reproduces on Release (please see comment 11) and Developer Edition (please see comment 12) for me, the white line is also visible on the preview when I Alt+Tab (please see comment 10) so I'm marking this bug as NEW and updating the flags FWIW.
Please let me know if anything further is needed from the device or profile.
¡Gracias!
Alex
Comment 14•2 years ago
|
||
(In reply to alex_mayorga from comment #7)
¡Hola y'all!
Hope these lines find you well.
I can no longer reproduce the bug described on the comment on Nightly built from https://hg.mozilla.org/mozilla-central/rev/fed4cdeef415d8af09a2b212a80b92dfa086c986 , Developer nor Release on this OS:
Edition Windows 11 Pro
Version 21H2
Installed on 2022-01-10
OS build 22000.434
Experience Windows Feature Experience Pack 1000.22000.434.0
¡Hola Nick!
Hope these lines find you well.
Can you please check once and report back if the bug still reproduces for you?
If so, please share the OS details of your environment.
¡Gracias!
Alex
Updated•2 years ago
|
Comment 15•1 year ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE
.
For more information, please visit auto_nag documentation.
Comment 16•3 months ago
|
||
Commenting here as I am also experiencing this issue. FF windows have a white boarder (left, bottom, and right sides) when you bring the window back up after being minimized. The boarder goes away if you maximize or drag the window over and back from the scaled monitor.
FF version 122.0 64bit
Windows 10 22h2 19045.3930
3 monitors:
- 2560x1440, scaled 100%
- 3440x1440, (main), scaled 100%
- 3840x2160, scaled 225%
I have followed https://bugzilla.mozilla.org/show_bug.cgi?id=1483448 and https://bugzilla.mozilla.org/show_bug.cgi?id=1666929, but nothing really works. Compatibility mode is not checked. The only solution so far is to scale monitor #3 to 100%, but that makes it unusable (too tiny). I have also tried safe mode and completely reinstalling FF. Any help is appreciated.
Description
•