Open Bug 1510378 Opened 1 year ago Updated 1 month ago

gfx.webrender.debug.slow-frame-indicator is not show in maximized window

Categories

(Core :: Graphics: WebRender, defect, P3)

Unspecified
Windows
defect

Tracking

()

Tracking Status
firefox65 --- affected

People

(Reporter: cpeterson, Assigned: sotaro)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

If I enable gfx.webrender.all and and gfx.webrender.debug.slow-frame-indicator = true, I see the slow frame indicator in non-maximized, screen-height windows, and fullscreen but not in maximized windows. I'm using Windows 10.
Priority: -- → P3
Blocks: stage-wr-next
No longer blocks: stage-wr-trains
For me, if I maximize the window, I just see the bottom row of pixels from the indicator. It's way up at the top of the window so it's barely visible. Likely a positioning issue or something.
See Also: → 1542668

When window is maximized, position of ui seemed to be adjusted by nsNativeThemeWin::GetWidgetPadding().
GetWidgetPadding() has the following comment.

// XXX Maximized windows have an offscreen offset equal to
// the border padding. This should be addressed in nsWindow,
// but currently can't be, see UpdateNonClientMargins.

https://searchfox.org/mozilla-central/source/widget/windows/nsNativeThemeWin.cpp#2080

No longer depends on: 1542668
Assignee: nobody → sotaro.ikeda.g
You need to log in before you can comment on or make changes to this bug.