Open Bug 1993474 Opened 1 month ago Updated 6 hours ago

On an external monitor in a maximized Firefox window, can't select a tab with the cursor at the top of the screen

Categories

(Core :: Widget: Win32, defect)

defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr140 --- unaffected
firefox143 --- unaffected
firefox144 --- unaffected
firefox145 --- fix-optional
firefox146 --- affected

People

(Reporter: gstoll, Assigned: gstoll)

References

(Regression)

Details

(Keywords: regression)

I can't click tabs if I have my cursor at the top of the screen. Need to move it down by 3-4 pixels to be able to click the hit area. This happens only on external monitors, not the laptop screen. The caption buttons or new tab button are also not clickable.

mozregression points at bug 1947324.

Set release status flags based on info from the regressing bug 1947324

On my external monitor, there's an extra 5 px of space in the titlebar that seems to be causing this. This seems to be caused by the call to put_ExtendsContentIntoTitleBar(true).

Set release status flags based on info from the regressing bug 1947324

Using the Browser Toolbox Inspector, when the window is maximized and on my external monitor (may be an DPI thing), there is ~5 px at the top of the titlebar that Firefox isn't drawing on. (i.e. mousing over the top <html> tag doesn't highlight)

Calling SetPresenterKind(AppWindowPresenterKind_FullScreen) does not help.

See Also: → 1998848
See Also: → 1996010
Duplicate of this bug: 1999773
See Also: → 1968382

So i originally posted my own bug report but its been merged here.

I decided to try that widget.windows.windowsappsdk.enabled to false, and it also fixes my issue, but the strange thing is when i view photos with windows photo viewer, i have that big white line at the top of my screen on my 2nd monitor still, so its not just a firefox issue

Im thinking this is actually a windows 11 issue?

Removing the WS_BORDER style from our windows seems to fix this. I was going to only do this when our window is maximized, but even with an unmaximized window you can still drag/resize it, and this also seems to fix bug 1994918 so I'm going to try just turning it off everywhere and see what happens.

Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Duplicate of this bug: 1996010
You need to log in before you can comment on or make changes to this bug.