Bug: ExtendsContentIntoTitleBar causes the minimize/maximize button overflow window on win10 #9354
Labels
area-TitleBar
Issues related to custom window title bars.
area-Windowing
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
Use the template to create a winui3 packaged application based on WindowsAppSDK1.4.4+, after setting ExtendsContentIntoTitleBar, when the mouse moves to the minimize maximize button, the top of the button will overflow the window on win10, and the rendering is normal on win11
![Snipaste_2024-01-30_23-28-38](https://private-user-images.githubusercontent.com/3284852/303307870-e4721e22-30ff-49c6-bb8d-bec4317c206b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzI2ODAsIm5iZiI6MTcyNTc3MjM4MCwicGF0aCI6Ii8zMjg0ODUyLzMwMzMwNzg3MC1lNDcyMWUyMi0zMGZmLTQ5YzYtYmI4ZC1iZWM0MzE3YzIwNmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDUxMzAwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yzk1NDVkNzU5ZjUxMWYyNTdkYTY5MWZmOWQ0OTI2YjJmZmY4Nzk2YTAwMjI5ZDlkZjc3ZGFiMjBhMjBlMzMwNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.oiwYEIH9AIXwxgKaCSfYmTrOFz33ZX4p7xywB5vU7Vc)
Steps to reproduce the bug
1.create a winui3 project;
2.set ExtendsContentIntoTitleBar = true in MainWindow.xaml.cs
2.mouse hover the right-top minimize button or maximize button
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: