Hiding titlebar with SetBorderAndTitleBar(true, false) cause maximizing the window hide taskbar #9674
Labels
area-TitleBar
Issues related to custom window title bars.
area-Windowing
bug
Something isn't working
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
When the window have a titlebar (whether or not
ExtendsContentIntoTitleBar()
), double clicking the titlebar / callingpresenter.Maximize()
/win
+up
key, maximize the window as expected. But after hiding the titlebar withpresenter.SetBorderAndTitleBar(true, false)
, now you callpresenter.Maximize()
/ double clicking the titlebar /win
+up
key, the window goes fullscreen, hiding the taskbar.This is such a weird behavior that goes undocumented.
Steps to reproduce the bug
win
+up
key, now the window unexpectedly becomes fullscreened, hiding the taskbar. Using code to maximize the window have the same issue.Expected behavior
The window should only maximize within the work-area of the monitor, leaving the taskbar visible.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000
Windows version
Windows 10 (1809): Build 17763
Additional context
No response
The text was updated successfully, but these errors were encountered: