Bug 43996 - ListViewCachingStrategy RecycleElement broken on iOS 10 beta
Summary: ListViewCachingStrategy RecycleElement broken on iOS 10 beta
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 44104 ()
Depends on:
Blocks:
 
Reported: 2016-09-05 11:01 UTC by Michael Dimoudis
Modified: 2016-12-30 19:32 UTC (History)
15 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Repro solution (14.90 KB, application/zip)
2016-09-05 11:02 UTC, Michael Dimoudis
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Michael Dimoudis 2016-09-05 11:01:46 UTC
On Xamarin Forms 2.3.1.114, the ListView is broken on iOS 10 beta's. Setting ListViewCachingStrategy to RecycleElement freezes the app. No errors occur, app just freezes. Setting ListViewCachingStrategy to RetainElement fixes my simple ListViews.

However setting ListViewCachingStrategy to RetainElement on a complex ListView that has many DataTemplateSelector's, the app freezes once again.

Xamarin Forms 2.3.0.107 works on iOS 10 beta without any issues.

Xamarin Forms 2.3.1.114 on iOS 9 works without any issue.

Confirmed on physical iOS 10 beta 8 devices, iPhone 6S and iPad Air.

Attached is a very simple project show that won't work on iOS 10 beta, but changing ListViewCachingStrategy to RetainElement works.

I believe this bug might be similar to https://bugzilla.xamarin.com/show_bug.cgi?id=43907
Comment 1 Michael Dimoudis 2016-09-05 11:02:37 UTC
Created attachment 17332 [details]
Repro solution
Comment 2 Xavier P 2016-09-08 16:10:36 UTC
I'm experiencing this very freezing problem for a while now (actually since the release of Xamarin.Forms 2.3.1.114) and since iOS 10 is no more beta, a fix would be awesome!
Comment 3 Tim Brand 2016-09-08 19:41:17 UTC
Same issue here.
Would like to submit an update before the big release of iOS10;
Comment 4 Marius Kahmen 2016-09-14 00:36:36 UTC
iOS 10 just got released and I had to find out, that nothing is fixed. Not even in the latest XForms pre-release.
Comment 5 Michael Dimoudis 2016-09-14 01:20:53 UTC
Any update on this issue?

This is also an issue when ListViewCachingStrategy is RetainElement, but a ViewCell has ContextActions.
Comment 6 Glenn Versweyveld 2016-09-14 06:28:19 UTC
@Michael is correct we also see this behaviour with RetainElement lists that have ContextActions :/
Comment 7 Nils Ehnert 2016-09-14 08:01:34 UTC
There seems to be Xamarin.Forms 2.3.2.127 out now on nuget. For me it's working again with ContextActions in a custom view cell. Hope Apple will approve the new version quickly...
Comment 8 Xavier P 2016-09-14 08:59:24 UTC
Upgraded my project from Xamarin.Forms 2.3.1.114 to 2.3.2.127 and I don't experience the freezing bug anymore. Thanks.
Comment 9 Samantha Houts [MSFT] 2016-10-19 19:17:44 UTC
Should be fixed in 2.3.2. Thank you!
Comment 10 Samantha Houts [MSFT] 2016-12-30 19:32:53 UTC
*** Bug 44104 has been marked as a duplicate of this bug. ***