Bug 31094 - setting picker.selectedindex to -1 visualize item with selected index 0
Summary: setting picker.selectedindex to -1 visualize item with selected index 0
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.2
Hardware: Macintosh Mac OS
: Normal minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-14 15:04 UTC by Alessandro
Modified: 2015-10-12 05:51 UTC (History)
8 users (show)

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


Attachments
project with bug (182.73 KB, application/zip)
2015-06-14 15:04 UTC, Alessandro
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:
VERIFIED FIXED

Description Alessandro 2015-06-14 15:04:51 UTC
Created attachment 11601 [details]
project with bug

Hi
I've a picker with some items.
If I press the 3 item (index 2), it set selected index = -1.
I should see "SELECT" when selected index = -1, but I see the first item string "FIRST".
If I press button, it correctly set selected index = -1 and I see "SELECT" in picker.

Alessandro
Comment 1 Chris King 2015-06-16 16:40:28 UTC
https://github.com/xamarin/Duplo/pull/3177
Comment 2 Alessandro 2015-06-26 01:36:59 UTC
Ha e you a date for this risoluti in?
Comment 3 Alessandro 2015-06-26 01:38:28 UTC
Sorry
Have you a date for this risolution ?
Comment 4 Jason Smith [MSFT] 2015-06-26 04:58:04 UTC
Should be fixed in 1.4.4-pre1
Comment 5 Parmendra Kumar 2015-07-15 14:07:44 UTC
I have checked this issue and I am still getting same issue with iOS and Its working fine with Android.

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

Simulator Log: https://gist.github.com/Parmendrak/3655dc416d7f5fe1d01e
ApplicationOutputLog: https://gist.github.com/Parmendrak/4084714ab6394eb180b4


Hence Reopen this issue with respect to iOS.

Environment info:
Xamarin Studio: 5.9.4 (build 5)
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Xcode 6.2 (6776)
Xamarin.iOS: 8.10.3.2 (Enterprise Edition)
Xamarin.Android: 5.1.4.16 (Enterprise Edition)
Mac OS X 10.9.4
Comment 6 Rui Marinho 2015-08-14 06:16:56 UTC
Should be fixed in 1.5.0-pre2
Comment 7 Rui Marinho 2015-08-21 19:00:15 UTC
Correction pushed to 1.5.1-pre1.
Comment 8 Parmendra Kumar 2015-10-09 13:35:31 UTC
I have checked this issue with Xamarin.Forms 1.5.1-pre1 and its working fine.

Hence closing this issue.