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

SwipeView crashes on Windows when in a CollectionView during scrolling #15546

Closed
KeithBoynton opened this issue Jun 9, 2023 · 6 comments
Closed
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-swipeview SwipeView platform/windows 🪟 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Milestone

Comments

@KeithBoynton
Copy link

KeithBoynton commented Jun 9, 2023

Description

When adding a simple SwipeView to a DataTemplate of a CollectionView and then scrolling through the collection view's items it crashes on Windows with an unhandled exception.

image

It works fine on iOS and macOS. It doesn't work on Android but at least doesn't crash.

Steps to Reproduce

  1. Create a new MAUI app
  2. Add a CollectionView to the main page
  3. Add a simple View Model with an observable collection for the item source
  4. Wrap a label in a simple SwipeView in the DataTemplate for the CollectionView
  5. Populate the observable collection with enough items to need scrolling
  6. Run on Windows and scroll the collection

If using the supplied reproduction project. Then just run the project and scroll the collection.

Link to public reproduction project repository

https://github.com/KeithBoynton/SwipeView

Version with bug

7.0.86

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

net7.0-windows10.0.19041.0

Did you find any workaround?

None found.

Relevant log output

No response

@KeithBoynton KeithBoynton added the t/bug Something isn't working label Jun 9, 2023
@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Jun 9, 2023
@PureWeen PureWeen added this to the Backlog milestone Jun 14, 2023
@ghost
Copy link

ghost commented Jun 14, 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.

@n9
Copy link

n9 commented Sep 3, 2023

@KeithBoynton Is this same as #7757?

@KeithBoynton
Copy link
Author

It does look similar

@KeithBoynton
Copy link
Author

This issue still remains in 8.0.100-rc.2.23502.2

@XamlTest XamlTest added the s/triaged Issue has been reviewed label Nov 24, 2023
@XamlTest
Copy link

XamlTest commented Nov 24, 2023

Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). This issue does not repro on Windows 11, Android 14.0-API34, iOS 17.0 and MacCatalyst with below Project:
SwipeView.zip
Scroll

@XamlTest XamlTest added the s/try-latest-version Please try to reproduce the potential issue on the latest public version label Nov 24, 2023
@ghost
Copy link

ghost commented Nov 24, 2023

Hi @KeithBoynton. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost ghost closed this as completed Dec 1, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-swipeview SwipeView platform/windows 🪟 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants