Skip to content

ExtendsContentIntoTitleBar causes incorrect cursor events, button hover flickering, and click issues #10529

@DavidRufino

Description

@DavidRufino

Describe the bug

When ExtendsContentIntoTitleBar = true is set on both the main window and any child windows, certain interactions cause incorrect cursor event processing.

Not reproducible in:
Microsoft.WindowsAppSDK 1.5.250108004

PoitnerFlickeringIssue

Steps to reproduce the bug

  1. Create a child window with ExtendsContentIntoTitleBar = true
  2. You can reproduce the issue by either minimizing the child window, or by moving the mouse cursor upward — starting from inside the child window, passing through its title bar, and continuing into the main window.
  3. Interact with UI elements in the main window

Expected behavior

Button hover states flickering;
Tooltips dont show;
MenuFlyoutSubItem closing;
Click events not firing correctly;

Screenshots

unknown_2025.04.25-18.24.mp4

NuGet package version

WinUI 3 - Windows App SDK 1.7.1: 1.7.250401001

Windows version

Windows 11 (24H2): Build 26100

Additional context

You can consistently reproduce the issue using the WinUI 3 Gallery app:

  1. Navigate to: Windowing > Multiple windows
  2. Click Create new Window
  3. You can reproduce the issue by either minimizing the child window, or by moving the mouse cursor upward — starting from inside the child window, passing through its title bar, and continuing into the main window.

Observe button hover flickering and click issues in the main window

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions