Bug 31265 - Labels inside of a ViewCell are not being updated when a property changes but do update when the row is scrolled out of view and back into view
Summary: Labels inside of a ViewCell are not being updated when a property changes but...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-06-19 19:23 UTC by Rob DeRosa
Modified: 2015-07-23 14:49 UTC (History)
6 users (show)

Tags: AC iOS listview
Is this bug a regression?: ---
Last known good build:

screenshot (218.58 KB, image/png)
2015-06-19 19:23 UTC, Rob DeRosa

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:

Description Rob DeRosa 2015-06-19 19:23:24 UTC
Created attachment 11694 [details]
Sample project

Attached is a sample project from a customer illustrating an odd behavior where databound labels within a ViewCell won't update their UI when the property change occurs. The cell does update after it's recreated when it's scrolled out of view and then back into view again.

Notes from the customer:

"You can run the app and without changing the filter, tap on Edit, select a few rows, tap on Cancel, then tap on Edit again and get visual elements that seem to be out of sync with their view models. We don’t have a good explanation for this behavior."

I was able to reproduce the issue by clicking Even, Odd, then All again... only a handful of the cells update, others do not.
Comment 1 Rob DeRosa 2015-06-19 19:23:55 UTC
Created attachment 11695 [details]
Comment 2 asimk 2015-07-03 11:17:49 UTC
I have checked this issue with the sample app attached in Bug description and able to reproduce this issue. I observed that when I click Even, Odd, then All again, some of the cells are updated, others do not.
Here is the screencast for the same.
Screencast: http://www.screencast.com/t/YXJbQqNsh3

Ide Log: https://gist.github.com/RamChBachkheti/a4c3079c8fc590484c63
iOS Designer Log: https://gist.github.com/RamChBachkheti/268ed0d69b55ff057ab7

Environment Info:
=== Xamarin Studio ===

Version 5.9.4 (build 4)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
	Mono 4.0.2 ((detached/c99aa0c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020005

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: dff6838
Branch: master
Build date: 2015-07-02 01:36:25-0400

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Build Information ===

Release ID: 509040004
Git revision: 0c8e73f6b66e066a642724a8241a0998b6329180
Build date: 2015-06-08 16:52:22-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.10.3
Darwin Dalvik.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Comment 3 Jason Smith [MSFT] 2015-07-23 14:49:18 UTC
Should be fixed in 1.4.4 final