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

NonClientRegionKind.Icon mode of InputNonClientPointerSource.SetRegionRects seems has a bug. #9281

Open
agat366 opened this issue Jan 20, 2024 · 0 comments
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@agat366
Copy link

agat366 commented Jan 20, 2024

Describe the bug

There seems a bug with NonClientRegionKind.Icon of InputNonClientPointerSource.SetRegionRects. While NonClientRegionKind.Passthrough works well (haven't tested other modes), the .Icon mode does apply clickable area within the element rect provided at first. But only until the window is repositioned (I tried both cases: dragging with mouse and Alt+Space and moving with keyboard). Right after that the icon area reduces to the initial one (for clicking) (as default clickable sysicon area) and stays the same until SetRegionRects is called again (on the bar resized or any other app logic etc.)

Steps to reproduce the bug

The description is quite straightforward. The app logic is simple and basic, generally taken from Microsoft Learn.
That seems like testing team didn't came through this.

Expected behavior

The clickable icon area stays the same even after the window position changed.

Screenshots

No response

NuGet package version

Windows App SDK 1.4.4: 1.4.231219000

Packaging type

Unpackaged

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

No response

Additional context

No response

@bpulliam bpulliam transferred this issue from microsoft/WindowsAppSDK Jan 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 25, 2024
@bpulliam bpulliam added team-CompInput Issue for IXP (Composition, Input) team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 25, 2024
@duncanmacmichael duncanmacmichael added the bug Something isn't working label Feb 6, 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 team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants