Bug 24548 - Spinner vanishes when resized on the designer
Summary: Spinner vanishes when resized on the designer
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 5.7
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2014-11-14 21:30 UTC by Paul Johnson
Modified: 2015-01-19 06:29 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:
VERIFIED FIXED

Description Paul Johnson 2014-11-14 21:30:26 UTC
http://screencast.com/t/Fjf9Rt7rW

When a spinner is added to a designer view and resized to match_parent, the Item1 vanishes. If it is set to wrap_content it all but vanishes.

When compiled, the spinner works and shows fine.

=== Xamarin Studio ===

Version 5.7 (build 322)
Installation UUID: f3d1a29c-1ba2-4a83-a193-1087efe91a85
Runtime:
	Mono 3.10.0 ((detached/633e444)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000020

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.Mac ===

Version: 1.11.1.3 (Business Edition)

=== Xamarin.Android ===

Version: 4.99.0.144 (Business Edition)
Android SDK: /Users/PFJ/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		1.6    (API level 4)
		2.1    (API level 7)
		2.2    (API level 8)
		2.3.3  (API level 10)
		3.0    (API level 11)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Xamarin.iOS ===

Version: 8.4.0.38 (Business Edition)
Hash: 9e57461
Branch: 
Build date: 2014-11-10 21:18:38-0500

=== Build Information ===

Release ID: 507000322
Git revision: e70496f26ed71a30bb1817f81fb372e573cd2686
Build date: 2014-10-22 10:14:44-04

=== Operating System ===

Mac OS X 10.10.1
Darwin Pauls-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 1 Rajneesh Kumar 2014-11-17 02:11:17 UTC
I have checked this issue and observed that spinner vanishes when resized on the designer. To reproduce this issue I have followed the screencast and instruction provided in bug description. 

Steps I followed:

1. Create an android application in XS.
2. Go to designer page and drag an '"Spinner" control on it.
3. Go to properties and set width to "wrap_content" or resize the "Spinner".
4. Observe that Spinner vanishes.

I observed that the Spinner vanishes when resized on the designer, I also observed that if I run the application it shows on the designer view.

Screencast: http://www.screencast.com/t/BAaERoWImMID

Could you please confirmed that is this the same behavior experiencing you shown in the screencast ? If no, please let me know that what steps I am missing to reproduce this issue? Also, could you please provide us Ide logs and Android Tools Log, That will be very helpful to reproduce this issue at our end.

Please let me know if I am missing something ?

App O/P: https://gist.github.com/anonymous/ef15760a78569aaff2cd

Build O/P: https://gist.github.com/anonymous/e80381dfb699f3657d5f

Android Tools Log: https://gist.github.com/anonymous/dd5f638ca8b55483e528

Ide Log: https://gist.github.com/anonymous/5f3d90acaad20973064e

Environment Info:

=== Xamarin Studio ===

Version 5.5.3 (build 6)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
	Mono 3.10.0 ((detached/e204655)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000023

=== Xamarin.Android ===

Version: 4.18.1 (Business Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: 8.4.0.16 (Business Edition)
Hash: 80e9ff7
Branch: 
Build date: 2014-10-22 15:09:12-0400

=== Xamarin.Mac ===

Version: 1.10.0.18 (Business Edition)

=== Build Information ===

Release ID: 505030006
Git revision: fbe3e9453daf6a3bb9a9709ed22bec35f7c9056b
Build date: 2014-10-23 13:08:38-04
Xamarin addins: e44add2b39de4dd57c0742bb2e620dfad84c64c6

=== Operating System ===

Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 2 Paul Johnson 2014-11-17 05:38:22 UTC
Yeah, same behaviour as I described
Comment 3 Rajneesh Kumar 2014-11-17 23:25:38 UTC
As per confirmation of same issue in comment 2, changing its status, NEEDINFO to CONFIRMED.
Comment 4 Jérémie Laval 2014-11-18 16:34:34 UTC
Fixed in master, will be available in the next release. Thanks!
Comment 5 Akhilesh kumar 2015-01-19 06:29:27 UTC
I have checked this issue with latest stable builds and observe that now  Spinner does not vanish on setting its width to "wrap_content" from its Properties window or on resizing its width manually. 

Screencast: screencast.com/t/y5sPySAXV

Hence closing this issue.

Environment info:
=== Xamarin Studio ===

Version 5.7 (build 661)
Installation UUID: ff0c16c6-3c75-46d8-ac56-56c3b56e2c76
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.Android ===

Version: 4.20.0.28 (Trial Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		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)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.6.0.51 (Trial Edition)
Hash: dfb682f
Branch: 
Build date: 2015-01-08 13:39:32-0500

=== Xamarin.Mac ===

Version: 1.12.0.4 (Starter Edition)

=== Build Information ===

Release ID: 507000661
Git revision: b70bab61da996da29045ea8ee8aed1a6faedbe78
Build date: 2015-01-05 16:31:31-05
Xamarin addins: 82f6c71490562d6cd125a09287f441902fdac3d7

=== Operating System ===

Mac OS X 10.10.1
Darwin Apples-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64