You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, OverlappedPresenter.IsMaximizable would disable the maximize button, but it doesn't disable extended title bar (AppWindowTitleBar.ExtendsContentIntoTitleBar) double-clicking to maximize, which would result in the window hiding the taskbar.
Steps to reproduce the bug
Add this code, double click the window title bar and observe the window being maximized, hiding the taskbar.
// Initialize _appWindow.// Enable extended title bar.
_appWindow.TitleBar.ExtendsContentIntoTitleBar =true;// Set maximizable to falseOverlappedPresenterpresenter= _appWindow.Presenter as OverlappedPresenter;
presenter.IsMaximizable =false;
Expected behavior
The window shouldn't maximize when the user double clicks the title bar and IsMaximizable is false.
Screenshots
No response
NuGet package version
Windows App SDK 1.4.0: 1.4.230822000
Packaging type
Unpackaged
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022-preview
Additional context
No response
The text was updated successfully, but these errors were encountered:
If the app does not use extends content into title bar, this issue seems to reproduce only if the XAML Hot Reload toolbar is enabled and showing (i.e., debugging in Visual Studio).
However, if the app is extended into title bar, then this issue does reproduce regardless of the Hot Reload toolbar and amounts to a usability issue.
dongle-the-gadget
changed the title
OverlappedPresenter.IsMaximizable should disable title bar double clicking
OverlappedPresenter.IsMaximizable should disable extended title bar double clicking
Sep 3, 2023
Describe the bug
Currently,
OverlappedPresenter.IsMaximizable
would disable the maximize button, but it doesn't disable extended title bar (AppWindowTitleBar.ExtendsContentIntoTitleBar
) double-clicking to maximize, which would result in the window hiding the taskbar.Steps to reproduce the bug
Add this code, double click the window title bar and observe the window being maximized, hiding the taskbar.
Expected behavior
The window shouldn't maximize when the user double clicks the title bar and
IsMaximizable
isfalse
.Screenshots
No response
NuGet package version
Windows App SDK 1.4.0: 1.4.230822000
Packaging type
Unpackaged
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022-preview
Additional context
No response
The text was updated successfully, but these errors were encountered: