Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 15233 [details]
Interface Builder shows the Activity Indicator, Interface Designer doesn't.
When working with activity designers in a tvOS Storyboard, they don't appear in the design surface (eg. you have to know it's there). While not really a bug, it can make it difficult to visually layout your UI design.
See the attached screen shot for the different behavior between the Interface Designer and Interface Builder.
Xamarin Studio: http://screencast.com/t/RItOflG1NF
Apart from a bug where the selection rectangle is not sized correctly, we do appear to render the activity view in the same way as Xcode, including the ridiculously small 'grey' style.
Are you using c7/master builds or something older?
Here's my info:
=== Xamarin Studio ===
Version 6.0 (build 4520)
Installation UUID: 0e99c8fb-a1c1-404a-b951-c622bb99389f
Mono 4.3.2 (mono-4.3.2-branch/ba2e5e4) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 403020467
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 7.2.1 (9548.1)
=== Xamarin.iOS ===
Version: 184.108.40.2064 (Business Edition)
Build date: 2016-02-24 16:50:28-0500
=== Xamarin.Android ===
Version: 220.127.116.114 (Business Edition)
Android SDK: /Users/kmullins/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
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)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.0
Java SDK: /usr
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b23)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b22, mixed mode)
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 18.104.22.1684 (Business Edition)
=== Build Information ===
Release ID: 600004520
Git revision: a354b2cb9df4b96f50b0ccb960dbdd5a9155510c
Build date: 2016-02-18 14:52:07-05
Xamarin addins: 8e54979f23feee160d245a3c33e43e77779b1eb4
Build lane: monodevelop-lion-master
=== Operating System ===
Mac OS X 10.11.3
Darwin new-host-192-168-1-20.home 15.3.0 Darwin Kernel Version 15.3.0
Thu Dec 10 18:40:58 PST 2015
As far as i can tell nothing has changed since that revision. Can you share the storyboard which has the invisible activity view?
Alan, I'm updating all the existing tvOS docs and sample apps right now so everything is online in the tvOS sample apps.
For this specific instance, look:
* Documentation - https://developer.xamarin.com/guides/ios/tvos/user-interface/progress-indicators/
* Sample App - https://developer.xamarin.com/samples/monotouch/tvos/tvProgress/
Ah hah! It's the 'hides when stopped' property. The renderer considers the spinner to be in the stopped state so it ends up hidden. We should probably just ignore that at design time.
Actually it looks like a bug in Xcode - apple are now ignoring the 'Hidden' property for UIActivityIndicatorView. It's impossible to hide one in Xcode 7.3 beta5 but it used to work in older Xcode versions.
The real fix here is to implement a fix for bug #36669.
There's no good workaround either without breaking some expected behaviours. The only thing i can do is implement the same bug as Xcode 7.3 beta5, which is to ignore the 'hidden' attribute for UIActivityIndicatorView as a temporary workaround. It's less awful to see a view when you're not supposed to than it is to not be able to see it when you want to.
Alex, what do you think?
I think I would agree Alan, you're normally going to want to see the item in the layout, Apple is getting around this by Animating to Activity Indicator in the design surface (it's animating) I think.
Xcode 7.2 and older have the correct behaviour in that they grey out all views (including activity indicator view) when they are marked as hidden.
Xcode 7.3 beta5 is buggy in that the greying-out doesn't happen for UIActivityIndicatorView anymore, probably a mistake triggered by their addition of the new animations.
Our ideal situation is that we implemented a good 'greying out' mechanism. Next best is to at least make the common case with UIActivityIndicatorView not-awful.
*** This bug has been marked as a duplicate of bug 36669 ***
Fixed in version 22.214.171.12408 (cycle7)
Author: Alan McGovern
Commit: d108a18657b6c654bb83e29fc4e9850b872e7f9a (xamarin/md-addins)
Included in Commit: 5c3a6ecc68f79fee861104b76c9f0f39d8bde781 (mono/monodevelop)