Bug 28342 - Visual Designer does not render UI
Summary: Visual Designer does not render UI
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.20.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2015-03-23 17:28 UTC by Michael Stonis
Modified: 2015-04-03 12:41 UTC (History)
2 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 FIXED

Description Michael Stonis 2015-03-23 17:28:44 UTC
Whenever I open up a layout, it does not render controls. It will show the controls rough approximate sizes on the screen when clicked, but the actual controls are not displayed.

Screencast: https://imgur.com/IHna5rK

This is not the "connection to layout render failed" issue as detailed here: http://forums.xamarin.com/discussion/32365/connection-to-the-layout-renderer-failed-in-xs-5-7-and-xamarinvs-3-9#latest.

This occurs in both Xamarin Studio and Visual Studio 2013.

System Configuration Information
-----
Xamarin Studio
Version 5.7.2 (build 7)
Installation UUID: 36cab4e4-2065-4285-84c7-bdc236b60954
Runtime:
	Microsoft .NET 4.0.30319.34209
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.26

Xamarin.Android
Version: 4.20.0 (Enterprise Edition)
Android SDK: C:\Users\Michael Stonis\AppData\Local\Android\android-sdk
	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: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)
Picked up _JAVA_OPTIONS: -XX:MaxPermSize=256m

Build Information
Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 05:29:53-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef

Operating System
Windows 6.2.9200.0 (64-bit)
Comment 1 Naqeeb 2015-03-25 10:03:10 UTC
I have tried to reproduce this issue but unable to reproduce it. To reproduce this issue I have followed below steps:

1. Open XS or VS.
2. Create Android Application.
3. Open layout.
4. Drag any widgets to layout from toolbar.

Widgets are getting displayed correctly.

Screencast for XS: http://www.screencast.com/t/p0qyXbzHxZ
Screencast for VS: http://www.screencast.com/t/zBKe2CCKn9

Could you please provide us a sample app, ide log and android-tool log. So we can reproduce this issue at our end.
For XS you will get logs via Help >Open Log Directory.

And for VS, please Zip Xamarin log via Help > Zip Xamarin Logs.

Environment info (XS): https://gist.github.com/AkhileshKumar01/118ea488b948fbfdfdfd
Environment info (VS): https://gist.github.com/saurabh360/b2fbeac29c5f7b4fceac
Comment 2 Michael Stonis 2015-04-03 12:41:01 UTC
I just updated to the latest release of Xamarin Studio and updated JAVA. User Interfaces are now rendering properly.