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
fix(wpf): Fix IsLeftButtonPressed status on WPF platform #16517
base: master
Are you sure you want to change the base?
fix(wpf): Fix IsLeftButtonPressed status on WPF platform #16517
Conversation
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16517/index.html |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16517/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lindexi 👍
@@ -111,7 +111,9 @@ public void ReleasePointerCapture() | |||
=> _hostControl.ReleaseMouseCapture(); | |||
|
|||
#region Native events | |||
private void HostOnMouseEvent(InputEventArgs args, TypedEventHandler<object, PointerEventArgs>? @event, [CallerArgumentExpression(nameof(@event))] string eventName = "") | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeromelaban, @dr1rrb should we add more tests related to these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A manual test would be useful, if we don't have any.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeromelaban Any update here? Or what should I do? Thank you.
GitHub Issue (If applicable): #14393
PR Type
What kind of change does this PR introduce?
What is the current behavior?
We can receive the pointer event with IsLeftButtonPressed is true when touch release.
What is the new behavior?
We can receive the pointer event with IsLeftButtonPressed is false when touch release.
See https://github.com/unoplatform/uno/pull/16378/files#r1575262313
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Cc @dr1rrb , and I will add more information about the barel button and the eraser status later.
Internal Issue (If applicable):