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

TabViewItem header hit test/mouse over problems in 1.6.0 experimental 2 #9791

Open
DHancock opened this issue Jul 5, 2024 · 0 comments
Open
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@DHancock
Copy link

DHancock commented Jul 5, 2024

Describe the bug

The hit test and mouse over areas for tab view item headers and their buttons are incorrect. Please see the attached video.
The bug is only evident when there is an even number of tabs and the display scaling is set to 125%. It isn't reproducible at 100% scaling, I haven't tried other scale factors.

Screen.Recording.2024-07-05.153239.mp4

Steps to reproduce the bug

  1. Build the attached solution.
  2. Set display scale to 125%.
  3. Open an even number of tabs.

HitTestIssue.zip

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6 Experimental 2: 1.6.240701003-experimental2

Windows version

Windows 11 (22H2): Build 22621

Additional context

I also experienced similar bugs in my real app in the tab's contents, not just the tab item headers. For example the expander drop down buttons could be clicked when the mouse was outside of any part of it's expender. I suspect it's a common cause.

@DHancock DHancock added the bug Something isn't working label Jul 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jul 5, 2024
@DHancock DHancock changed the title TabViewItem header hit test/mouse over problems in 1.6.0 experimantal 2 TabViewItem header hit test/mouse over problems in 1.6.0 experimental 2 Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant