Bug 44276 - Image.IsLoading is broken.
Summary: Image.IsLoading is broken.
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-14 07:17 UTC by Nathan Murphy
Modified: 2017-07-11 18:14 UTC (History)
6 users (show)

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


Attachments
Reproduction (1.01 KB, text/plain)
2016-09-14 07:17 UTC, Nathan Murphy
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 for Bug 44276 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Nathan Murphy 2016-09-14 07:17:30 UTC
Created attachment 17454 [details]
Reproduction

Since updating from 2.3.1.114 to 2.3.2.127 Image.IsLoading is never set back to false once an image is loaded.  This occurs on both Windows Phone 8.1 and Windows UWP.

The reproduction adds a PropertyChanged handler to an image and whenever the Image.IsLoadingProperty changes it prints the value of if Image.IsLoading.

Prior to release 2.3.2.127 the values True followed by False were printed as expected, but as of 2.3.2.127, only True is printed.
Comment 1 Chris 2017-06-04 07:15:15 UTC
Still repros on Visual Studio 2017 version of Xamarin (Xamarin for Visual Studio 4.5).

Slight difference between what is reported here and what I observed. In my repro, both notifications arrive, but they are out of order: IsLoading == false comes first, later followed by IsLoading == true.

BTW, my repro is a sample from the Petzold Book (Creating Mobile Apps with Xamarin.Forms), Chapter 13 -> ImageBrowserPage, where the image source is UriImageSource.

Surprising this hasn't been fixed in a year and a half with several major releases, particularly given that it's a pretty big bug, it's directly highlighted by the standard [Petzold] samples, it's clearly a regression, and it has a really simple repro.

Definitely worth fixing this one!