Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsMaximizable setting isn't respected #8666

Open
eduardobragaxz opened this issue Jul 12, 2023 · 2 comments
Open

IsMaximizable setting isn't respected #8666

eduardobragaxz opened this issue Jul 12, 2023 · 2 comments
Labels
area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@eduardobragaxz
Copy link

Describe the bug

Setting the OverlappedPresenter's IsMaximazable property to false only makes the caption button to be grayed out. You can still click it.

Related to an issue with maximized windows showing the resizable pointer on the upper edge, if you set IsResizable to false, the pointer will still change.

Steps to reproduce the bug

  1. Create a WinUI 3 project;
  2. Get a reference to the window's presenter and set these properties to false;
  3. Build and run the app.

Expected behavior

It should be impossible to maximize the window.

Screenshots

No response

NuGet package version

Windows App SDK 1.4 Preview 1: 1.4.230628000-preview1

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022-preview

Additional context

No response

@eduardobragaxz
Copy link
Author

There's an adjacent issue with the NavigationView's back button hit space in the upper left.

@Qiu233
Copy link

Qiu233 commented Oct 10, 2023

This issue is annoying, as it makes a window with ExtendsContentIntoTitleBar=true and IsMaximizable=false looks even worse when user accidentally double click on the titlebar.
Any fix for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

4 participants