Bug 36014 - [WP] Picker Control Is Not Rendered Correctly
Summary: [WP] Picker Control Is Not Rendered Correctly
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.5.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: E.Z. Hart [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-11-18 12:26 UTC by Jimmy [MSFT]
Modified: 2015-11-20 07:30 UTC (History)
3 users (show)

Tags: Windows ac
Is this bug a regression?: ---
Last known good build:


Attachments
repro project (139.92 KB, application/x-zip-compressed)
2015-11-18 12:27 UTC, Jimmy [MSFT]
Details
screenshot (25.09 KB, image/png)
2015-11-18 12:27 UTC, Jimmy [MSFT]
Details


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 Jimmy [MSFT] 2015-11-18 12:26:07 UTC
### Overview
A Picker on Windows Phone 8 Silverlight projects is rendered as a small rectangle. However, it still responds to being pressed and will present the items list. But once an item is selected, the box is still rendered incorrectly.

By using a custom renderer to override the Forms Picker control, I was able to see that the equivalent native control being used is a Grid instead of a ListPicker. I was able to reproduce this with Forms 2.0.0.6482, but it worked fine with 1.5.1. 


### Steps to Reproduce
1. Run the attached WP 8 SL project
2. Attempt to click the picker control


### Actual Results
It's difficult to select the control because it is rendered as a very narrow rectangle.


### Expected Results
The picker control is rendered correctly.


### Environment Info
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual Basic 2015   00322-40000-00000-AA558
Microsoft Visual Basic 2015

Visual C# 2015   00322-40000-00000-AA558
Microsoft Visual C# 2015

Visual C++ 2015   00322-40000-00000-AA558
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-40000-00000-AA558
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20626.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

Visual Studio Tools for Universal Windows Apps   14.0.23309.00 d14oob
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.0.0.1689 (f860fe4)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.34 (3efa14c)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.2.1.51 (3c0ec35)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Jimmy [MSFT] 2015-11-18 12:27:15 UTC
Created attachment 13871 [details]
repro project
Comment 2 Jimmy [MSFT] 2015-11-18 12:27:43 UTC
Created attachment 13872 [details]
screenshot
Comment 3 Rui Marinho 2015-11-20 07:30:28 UTC
Should be fixed in 2.0.1-pre1