Bug 58651 - ActivityIndicator is showing a ProgressBar instead of ProgressRing in UWP
Summary: ActivityIndicator is showing a ProgressBar instead of ProgressRing in UWP
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.4
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-08 21:35 UTC by Alvaro Rivoir
Modified: 2017-08-09 14:28 UTC (History)
3 users (show)

Tags:
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 ANSWERED

Description Alvaro Rivoir 2017-08-08 21:35:10 UTC
Unlike iOS and Android, ActivityIndicator is displaying a ProgressBar, when it should display a ProgressRing

https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.progressring
Comment 1 Paul DiPietro [MSFT] 2017-08-08 21:44:58 UTC
There are ultimately two options; the Forms implementation uses the ProgressBar and a user can write a custom control if they desire the use of a ProgressRing. This would break current users' expected behavior to suddenly be changed.
Comment 2 Alvaro Rivoir 2017-08-08 21:56:28 UTC
The current implementation makes no sense. If Xamarin Forms can't display more or less the same in all the platforms is a useless platform. And there is a clear way to fix it. Open your eyes and realize this is a bug instead of trying to get rid of the problem. If you're so worried by the users also provide a real ProgressBar control for XF.
Comment 3 Paul DiPietro [MSFT] 2017-08-08 22:43:46 UTC
I apologize for not providing further explanation on this and if the original tone came across as more curt than intended. The original implementation of Windows Phone support used the style of the ProgressBar at the time. The use of the ProgressRing in 8.x applications could also cause a performance loss, which is less than optimal without explicitly controlling its IsActive state. That behavior has since carried over into UWP and is why it made sense at the time and explains its use to date.

However, I have discussed this internally, and as the WinRT/8.1 platform will be dropped in the future, we can reapproach this. I would suggest posting about this on the Forms Evolution forum[1] which we use for API change proposals, and we can track it as a potential enhancement for a future release at or around the same time that the WinRT/8.1 support is officially dropped; in this way, we can properly make note of it as a change for our users. I do not have an exact timeline for when that will occur, but there is an open PR for its future deprecation.

[1] https://forums.xamarin.com/categories/xamarin-forms-evolution
Comment 4 Alvaro Rivoir 2017-08-09 14:28:47 UTC
Thank you for having a second thought about this and discuss it internally. It's really important to have primitive controls which behaves the same way in all the platforms. 
I just posted the "Enhancement" https://forums.xamarin.com/discussion/100973/activityindicator-rendered-as-a-progressring-in-uwp/p1?new=1

Thanks you very much.