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

The RealParent on Syncfusion.Maui.PdfViewer.SfPdfViewer has been Garbage Collected. #26666

Open
IllyaYushchenko opened this issue Dec 17, 2024 · 2 comments
Labels
platform/iOS 🍎 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@IllyaYushchenko
Copy link

Description

Syncfusion PDF viewer if every now and then failing to open the PDF. It does not depend on file - same file can be opened normally a few times and the next attempt fails.

logs show this -
Microsoft.Maui.Controls.Element: Warning: The RealParent on Syncfusion.Maui.PdfViewer.SfPdfViewer has been Garbage Collected. This should never happen. Please log a bug: https://github.com/dotnet/maui

Steps to Reproduce

Create MAUI app and add Syncfusion PDF viewer

Link to public reproduction project repository

No response

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

ios 17.5, 18.1, 18.2

Did you find any workaround?

Havent noticed same issue on android, or maybe i just didint test enough, since it fails on iOS only sometimes.
Anyway iOs is the main priority now

Relevant log output

@IllyaYushchenko IllyaYushchenko added the t/bug Something isn't working label Dec 17, 2024
@IllyaYushchenko
Copy link
Author

upd,
on Android app crashes with
Cannot access a disposed object. Object name: 'Syncfusion.Maui.Core.Platform.LayoutViewGroupExt'

@PureWeen PureWeen added the s/needs-repro Attach a solution or code which reproduces the issue label Dec 17, 2024
Copy link
Contributor

Hi @IllyaYushchenko. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/iOS 🍎 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants