Xamarin.Forms.ActivityIndicator in Forms v 2.5 doesn't work (UWP)

Created on 2 Jan 2018  路  9Comments  路  Source: xamarin/Xamarin.Forms

Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues

Description

Activity indicator was working in previous version (Forms v 2.4.x) on UWP. Updating to Forms v. 2.5 broke it. Android still works as expected.

Steps to Reproduce



    1. 2.
  1. 3.

Expected Behavior

ActivityIndicator should be visible and animated while IsRunning and IsVisible properties are True, and change invisible when false.

Actual Behavior

The area of the view is a grey box, the animation is (barely) visible only once.

Basic Information

  • Version with issue: Xamarinf.Forms v 2.5.x
  • Last known good version: 2.4.0.91020
  • IDE: VS2017
  • Platform Target Frameworks:

    • UWP: 10586 -15063

Screenshots

Wrong visual:
activitynowork

Correct:
activitywork

Reproduction Link

regression UWP bug

Most helpful comment

same issue, for new project on Xamarin.Forms 2.5.*

All 9 comments

Issue1483.zip

I'm unable to reproduce this. I have attached a test project. Can you please adjust it so that it exhibits the issue? Thanks.

Issue1483.zip

I cannot repro the issue in your solution either.

I zipped my (original) solution that shows the issue, when Xamarin.Forms is updated on the UWP project. As zipped, UWP is referencing Forms v2.4, and it works as expected. To see the issue, update Xamarin.Forms nuget package on UWP project.

It will loop toggling the ActivityIndicator every ~3.5 sec.

Activity animation degraded after update using customer reproduction.

I have this issue also, it happens after upgrade to Xamarin Forms 2.5, I'm using Xamarin Forms latest stable and Win10 Fall Creators Update.

I've been testing the conditions of this to happen and it happens when:
路 The page is a NavigationPage.

But if it's a ContentPage it works OK, even putting the NavigationPage as Detail of MasterDetail, it works OK.

same issue

same issue, for new project on Xamarin.Forms 2.5.*

This might be duplicate of #1399. There is also a Bugzilla report here https://bugzilla.xamarin.com/show_bug.cgi?id=43285

This is still a problem in forms version 3.0.0.482510.
As stated above it works on a contentpage, but not when one uses a NavigationPage.

I've compared the UWP Visual tree of an app that is using a ContentPage to one that is using a NavigationPage, and on the ContentPage there is a DeterminateRoot (border) as the last child of the FormsProgressBar that has an Animation and Visual State property (ie the storyboard is running). However on the NavigationPage version the DeterminateRoot (border) is present but the Animation and Visual State property is missing, ie, the storyboard is not running. Leave a comment

This sounds like it can be fixed with a custom Renderer. Are you able to share your code, @mgwalm?

Was this page helpful?
0 / 5 - 0 ratings