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

Snap Layout on Win 11 Doesn't Show up When ExtendsContentIntoTitleBar is True #6333

Closed
AathifMahir opened this issue Nov 17, 2021 · 4 comments
Labels
area-TitleBar Issues related to custom window title bars. product-winui3 WinUI 3 issues team-Reach Issue for the Reach team

Comments

@AathifMahir
Copy link

Describe the bug

When we set ExtendsContentIntoTitleBar to true in the App.xaml.cs, The Windows 11 Snap layout Doesn't Show up but it works fine if we set ExtendsContentIntoTitleBar to false

Steps to reproduce the bug

  1. Go to App.xaml.cs
  2. Navigate to OnLauched Method
  3. Write "m_window.ExtendsContentIntoTitleBar = true;"
  4. Start the app

Expected behavior

The Windows 11 Snap Layout Should Show Up Either ExtendsContentIntoTitleBar is True or False

Screenshots

Screenshot 2021-11-18 021140

NuGet package version

1.0.0

Packaging type

Packaged (MSIX)

Windows version

Windows 11 (22000)

IDE

Visual Studio 2022

Additional context

No response

@andrewleader
Copy link

Transferring to the WinUI repo as this is a property on the WinUI Window class.

@andrewleader andrewleader transferred this issue from microsoft/WindowsAppSDK Nov 17, 2021
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Nov 17, 2021
@AathifMahir
Copy link
Author

Transferring to the WinUI repo as this is a property on the WinUI Window class.

Sure thing

@StephenLPeters StephenLPeters added area-TitleBar Issues related to custom window title bars. product-winui3 WinUI 3 issues team-Reach Issue for the Reach team labels Feb 16, 2022
@StephenLPeters
Copy link
Contributor

@pratikone FYI

@gabbybilka
Copy link
Member

Fixed in Windows App SDK 1.0.1, check out the release notes for more info.

@ghost ghost removed the needs-triage Issue needs to be triaged by the area owners label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. product-winui3 WinUI 3 issues team-Reach Issue for the Reach team
Projects
None yet
Development

No branches or pull requests

4 participants