Bug 30822 - [Android Lollipop] Page.IsBusy throws "Circular progress bar not located in current window decor"
Summary: [Android Lollipop] Page.IsBusy throws "Circular progress bar not located in c...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
URL:
Depends on:
Blocks:
 
Reported: 2015-06-04 17:00 UTC by Jon Douglas [MSFT]
Modified: 2015-06-29 12:23 UTC (History)
6 users (show)

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

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 Jon Douglas [MSFT] 2015-06-04 17:00:36 UTC
*Description

Within Android Lollipop there is a limitation of using Page.IsBusy as Google has stated they no longer support this on Material Design Action Bars:

https://code.google.com/p/android-developer-preview/issues/detail?id=891&q=progressbar&colspec=ID%20Type%20Status%20Owner%20Summary

Because of this, when one tries to use the Page.IsBusy = true, the following is thrown from the console:

06-04 16:27:28.409 E/PhoneWindow(31185): Circular progress bar not located in current window decor

*Reproduction Steps

1. Open Attached Sample

2. Run on API 21+ device

3. Notice that the ActivityIndicator does not appear and the console message above is thrown.

*Xamarin Forms Version

1.4.2

*Version Information

XVS - 3.11.586.0

X.A - 5.1.2.1
Comment 2 Chris King 2015-06-15 16:11:32 UTC
Call to SetProgressBarIndeterminateVisibility in FormsApplicationActivity.cs contains the breaking change..
Comment 3 Stephane Delcroix 2015-06-22 06:09:25 UTC
fixed in 1.4.4