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

[Windows] System.Runtime.InteropServices.COMException raised when changing the items source for Indicator view with DateTemplate #24732

Open
NanthiniMahalingam opened this issue Sep 12, 2024 · 3 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView 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

@NanthiniMahalingam
Copy link
Contributor

Description

IndicatorView with DataTemplate (custom image) raised the exception When dynamically changing the items source which contains the count exceed the existing items source count.

Steps to Reproduce

  1. Run the sample
  2. Click on Change Source button
  3. Ensure exception raised or not.

image

Link to public reproduction project repository

https://github.com/msivers/Maui-IndicatorView-Issue

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@NanthiniMahalingam NanthiniMahalingam added the t/bug Something isn't working label Sep 12, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@ninachen03
Copy link

ninachen03 commented Sep 12, 2024

I can repro this issue at windows platform on the latest 17.12.0 Preview 1.0(8.0.82 & 8.0.3).
image
below is call stack

TestCarouselView.dll!TestCarouselView.MainPage.Images.set(System.Collections.Generic.IReadOnlyList value) Line 32 C#
TestCarouselView.dll!TestCarouselView.MainPage.OnChangeSourceClicked(object sender, System.EventArgs e) Line 50 C#

@ninachen03 ninachen03 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed platform/windows 🪟 labels Sep 12, 2024
@mattleibow mattleibow added area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Sep 12, 2024
@mattleibow
Copy link
Member

mattleibow commented Sep 12, 2024

Is there more detail in the Data property of the exception?

This feels like some sort of issue where it is trying to add a view to a new parent when it is still attached to an old parent... Maybe not, but feels like it.

@mattleibow mattleibow added this to the Backlog milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView 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

3 participants