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

MAUI Pan Gesture Recognizer interruption bug #15576

Open
BineeMan opened this issue Jun 12, 2023 · 3 comments
Open

MAUI Pan Gesture Recognizer interruption bug #15576

BineeMan opened this issue Jun 12, 2023 · 3 comments
Labels
area-gestures Gesture types platform/iOS 🍎 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@BineeMan
Copy link

BineeMan commented Jun 12, 2023

Description

When using Pan Gesture Recognizer, after approximately 7 seconds it gets inturrepted. It just stops calling "PanUpdated" event, therefore GestureStatus.Canceled or GestureStatus.Completed cases are not executed. I've noticed that extra calculations or calling another functions inside of PanUpdate event can trigger this bug earlier, sometimes almost instantly. This bug only on Windows.
On a gif below I'm demonstrating how it happens, I didn't release LMB:
Desktop 2023 06 12 - 13 09 51 03 DVR (1)

Steps to Reproduce

  1. Create new Maui project
  2. Add Absolute Layout
  3. Add a Rectangle (or any other view) on this Absolute Layout
  4. Add Pan Gesture Recognizer on this Rectangle
  5. Write an event for it
  6. Drag this Rectangle for about 7 seconds

Link to public reproduction project repository

https://github.com/BineeMan/MAUI-Pan-Gesture-Recognizer-interruption-bug

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11

Did you find any workaround?

No response

Relevant log output

No response

@BineeMan BineeMan added the t/bug Something isn't working label Jun 12, 2023
@mattleibow mattleibow added this to the Backlog milestone Jun 12, 2023
@ghost
Copy link

ghost commented Jun 12, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@XamlTest XamlTest added platform/iOS 🍎 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 20, 2023
@XamlTest
Copy link
Collaborator

Verified this on Visual Studio Enterprise 17.7.0 Preview 4.0. Repro on Windows 11 and iOS 16.4 .NET 8, not repro on Android 13.0-API33 with below Project:
MauiApp1.zip

iOS: Cannot be dragged.
DragiOS
image
Windows: If the mouse beyond the red rectangle during dragging, then the gesture is interrupted.
DragWindows
image

@Mataboge
Copy link

Confirmed issue as well on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-gestures Gesture types platform/iOS 🍎 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants