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

Short, incomplete swipe gestures on the SwipeControl sometimes cause it to break down and stop swiping #1082

Closed
Sergio0694 opened this issue Jul 19, 2019 · 6 comments
Assignees
Labels
area-SwipeControl bug Something isn't working team-Controls Issue for the Controls team

Comments

@Sergio0694
Copy link
Member

Describe the bug

This bug is probably related to #890.
Basically, if you perform some incomplete swipe actions on a SwipeControl, and then make a full gesture, the control will just break down and stop responding to new swipe gestures.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Get the repro: SwipeGlitchRepro.zip.
  2. Perform a series of partial swipes on either side of any of the items, then a full swipe (see video below for more details on how to reproduce this).
  3. The template should then break down and stop responding.

Expected behavior

The control should just keep working as usual.

Screenshots

VideoCapture.zip (it's a zipped .mp4 video).

Version Info

NuGet package version
Microsoft.UI.Xaml 2.1.190606001

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Additional context

Pinging @kikisaints as she owns the SwipeControl control (I know this is the 4th issue I open on it, I'm sorry 🙈), and @RBrid as he was investigating the related issue #890.

@jevansaks
Copy link
Member

Sounds like a dupe. @RBrid is on vacation but I think @kmahone might have some time to take a look at these two together.

@jevansaks jevansaks added area-SwipeControl bug Something isn't working labels Jul 22, 2019
@kmahone
Copy link
Member

kmahone commented Aug 6, 2019

I cannot reproduce this issue (or the crash #890) on my desktop machine (with a Dell touch monitor) or on my Surface Pro 4.

I CAN reproduce this issue (but not the crash) in the Simulator using the mouse simulated as touch input. But using real touch input in the Simulator does NOT reproduce this issue.

@Sergio0694 did you ever hit this issue on a real device? Or has this only been seen in the Simulator?

@Sergio0694
Copy link
Member Author

Sergio0694 commented Aug 6, 2019

Hi @kmahone - thank you for the follow up!
So, I haven't been able to personally repro this on a real device, as I don't actually have a Windows 10 device with a touch screen to test this on, but I do see hundreds of occurrences for this crash on AppCenter, plus additional reports from individual users, so I can definitely confirm that this is a real issue happening on real devices.

Here's a screen with some of the common devices and OS builds this happens more often on:
image

The stack trace for all these crashes is always the same as the one I posted in #890, with the same exception info:

referencetracker_refreshcontainer,winrt::microsoft::ui::xaml::controls::implementation::refreshcontainert,winrt::microsoft::ui::private::controls::irefreshcontainerprivate_ queryinterface()
e_fail 80004005: e_fail

I could try pinging the users that reported this issue to see if they have found some ways to repro the issue more reliably, I'm not sure how else I could do on my end about this 😟

It's unfortunate that this isn't easily reproducible on a real device, and I understand that this won't make it easier to investigate either of these issues.
Please let me know if there's anything else I can do to help on my end, and thank you again for looking into this!

@kmahone
Copy link
Member

kmahone commented Aug 6, 2019

@Sergio0694 thanks for the info with regards to the crash.

For the problem in this issue (where the SwipeControl becomes non-responsive but does not crash), it sounds like this has only ever been seen in the Simulator? Is that correct? Or have you gotten reports from users about this problem also?

@Sergio0694
Copy link
Member Author

Yes, that is correct. I've mainly opened this issue as I thougth it could provide additional info, but this one in particular I've only managed to reproduce through the simulator, and I haven't received reports about it. Users only mentioned straight up crashes, so what's detailed in #890.

@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
@kmahone
Copy link
Member

kmahone commented Nov 9, 2019

@Sergio0694 since #890 is now closed, I am going to close this issue also. If this particular issue remains a problem for you, please let me know and I can reactivate.

@kmahone kmahone closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-SwipeControl bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants