-
Notifications
You must be signed in to change notification settings - Fork 762
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
[WASM][Regression] Upgrading from 5.1 -> 5.2 completely breaks the .PointerEntered/.PointerExited handling #16928
Comments
On which browser did you test? |
This was Chrome |
@dr1rrb can you reproduce that regression? Right now this prevents me from updating my app to 5.2 (or 5.3.dev for that matter) |
Yes I'm able to repro ... pointer exit on wasm is still annoying. Will investigate ... |
Thanks for looking into @dr1rrb. I'd love to update to UNO 5.2.XX or 5.3.XX but am blocked by that issue... |
@francoistanguay @dr1rrb are there any plans to get this regression addressed any time soon? Wouldn't it be an option to just revert the change which broke UNO? I'm bit a concerned that a clear regression does not appear to take priority by the UNO team... |
Yes, we will eventually fix it. Our years of collaboration should tell you that we rarely have regressions and we take them seriously. Clearly, for this specific issue, other things took priority. Friendly reminder that, as you know, we have paid enterprise support to prioritize those types of issues. |
Thanks @francoistanguay As you may know I already 'paid' for getting many UNO issues fixed as I contracted @TopProgrammer77 to take care of quite a few of them. However, on this one I feel the UNO team is best entitled to address it as it was introduced by the UNO team AFAIK. |
Agreed. It's in the backlog and the team been looking at it. |
@francoistanguay excellent, thanks. I'm looking forward the fix to test the improvements coming with the latest UNO updates. |
@dr1rrb thanks! You made my day! Will this be available on 5.4-DEV only or also be backported to 5.3? |
We still have a lot of QA/Regression testing to do on many pointer-related issues so they will only be in 5.4 (if all goes well). |
Thanks for clarification @francoistanguay |
@francoistanguay @dr1rrb I just tested my app with latest 5.4-DEV und found that unfortunately there still are cases where the sequence of .PointerEntered and .PointerExited is not correct. In fact the original scenario - which was simplified by @TopProgrammer77 repo above - still is not working. @francoistanguay are you aware that such cases still exist and that's what the team still is working on? I liked to understand before I invested potentially days trying to isolate in a repo for what the team already is aware of. Thanks in advance |
Hey @DierkDroth I tried to run your sample (https://github.com/unoplatform/uno/files/15488699/1.zip) with latest version of uno: <PackageVersion Include="Uno.WinUI" Version="5.4.0-dev.1532" />
<PackageVersion Include="Uno.WinUI.WebAssembly" Version="5.4.0-dev.1532" /> I see the same behavior between wasm and windows. Could you provide more details about your issue? |
@dr1rrb thanks for getting back to me. Yeah, that's exactly the problem: the repo above now works fine, but in my app your fix still does not work: .PointerEntered/.PointerExited still are not in correct sequence. Since yesterday I'm trying to create a new repo to demonstrate the problem. So far to no avail, since apparently the situation in my app is way more complex than in my new repo... |
@dr1rrb after all it was easier to come up with a new repo than I have feared. Please see below and check out for the code in MainPage.xaml.cs. Start the repo as WindowsAppSDK app (where you could set breakpoints to see that the critical 'trace' lines are not triggered) and press F12 to get the browser console for UNO WASM to see that the critical 'trace' lines are triggered. To reproduce the problem move the mouse quickly vertically over the grid rows. |
@dr1rrb can you reproduce the regression based on my latest repo above? Please let me know if the regression/repo is not clear or if you needed anything else from me. Thanks |
Hey @DierkDroth yes I'm able to repro, and also found a fix. It was not what I was expecting and took a bit longer, but it should be merged soon. |
Excellent! Thanks @dr1rrb |
@dr1rrb I just got around running some tests and found it's still not working - not even with the PointerEnteredExited.zip repo from above Please see the screenshot below for what I still experience in Chrome after updating the repo above to latest UNO 5.4 DEV |
@DierkDroth The minimal version is 1618. But it seems that we do have an issue with the CI (an iOS test step is failing) so we don't have any version that as been published yet. |
Thanks for clarification @dr1rrb. |
Current behavior
I ran into an issue when upgrading my app from UNO 5.1 to UNO 5.2. It took me a while to realize that the .PointerEntered/.PointerExited is completely broken.
I asked @TopProgrammer77 to create a simple repo (see attached): Please compare the .PointerEntered/.PointerExited events which are fired for Windows (and UNO 5.1) with UNO 5.2: UNO 5.2 is completely off as it fires events whenever the mouse pointer moves from the hosting 'control' to the hosted 'control' -> wrong.
1.zip
Expected behavior
UNO 5.2 should not fall behind UNO 5.1 and should behave like WinUI.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: