microsoft-ui-xaml: The ScrollViewer scrolling randomly breaks down

Describe the bug

So, this is sort of a weird issue to open, if you will, as I don’t really have much detail to share on this. The problem is that the native ScrollViewer control will randomly break down and stop scrolling entirely. The weird thing is that if you scroll on the mouse wheel, you’ll still be able to see the scroll bar move up and down as if you were actually scrolling, but the content itself will not move at all. Also, if you actually use the mouse to manually click somewhere on the scroll bar, the content then does scroll instantaneously to that offset. It just won’t move at all while using the mouse wheel though.

NOTE: when this happens, all the ScrollViewer in the app are affected, it’s not a single one that breaks down. In one case I had 3 ListViews side by side in different panels, and all three of them started showing this behavior.

NOTE 2: this can sometimes recover on its own. One time it happened, I minimized the app for a while and when I brought it back up again the ScrollViewers started working fine again, without the need to close the app and open it again.

NOTE 3: this happens both with a local Debug build as well as with a Release build (.NET Native) downloaded from the Store.

This is happening in two different apps for me, and I know of other devs that had the same issue too. I can also confirm that this first happened quite a few builds ago, I think I’ve first noticed this back on 14393 (although I can’t be sure it wasn’t already there before that one too). I know you’re planning on including an entirely new ScrollViewer with WinUI 3.0, but since you said you’d still be updating the current one with bug fixes I thought I’d mention this anyway. Now, I don’t really know how to reproduce this. If you have any ideas, please let me know what I can do to help out. I just know that for me, it’ll randomly break down, with no exceptions being thrown or anything like that, it’d just stop working. Note that this happens very rarely, but it still happens from time to time (it was not just a one time issue that never happened again).

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. …?

Expected behavior

The ScrollViewer should scroll as usual

Screenshots

I have a video that shows the issue, but since it’s from an app I’m working on that I don’t want to announce yet, I can’t link it here. I’d be happy to share it via DM to one of you guys from the WinUI team, if that helps. Anyway, that’s just a ListView with some content, and you can see the scrollbar moving up and down while the rest of the content remains perfectly still. It also shows that while the issue is present, you can still click on the scrollbar with the mouse to make the content jump to a different offset, that still works.

Version Info

This happens with the native ScrollViewer, both with and without the WinUI package installed. I’ve noticed this on W10 Desktop (x64, both Home and Pro if that matters)

NuGet package version:

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

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 35 (19 by maintainers)

Most upvoted comments

Yep, we’re all good. Thanks everyone!

It takes a little while for that card in the activity feed to show up, but I confirmed on the internal site for linking accounts that @Ambigulous is a Microsoft employee helping out with servicing this fix. 😃

I was giving @ambigulous the benefit of the doubt as well but their account isn’t associated with the Microsoft org on GitHub so now I’m suspicious too. @ambigulous can you email me so we can get this sorted out?

I was also sceptic about the signup date. But I did not provide any confidential information and I also won’t do that in a public forum. But thanks for your concerns @adrientetar and @Felix-Dev. I would also be happy if @micahl would validate that account.

Thanks for the ping! Looks like it’s ready to go but got delayed a couple days. My sources tell me “KB4516077 will be live around 10:00 AM tomorrow”.