Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23380] Windows:Ti.UI.Picker does not work properly in windows

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2016-05-23T08:11:34.000+0000
Affected Version/sRelease 5.2.2
Fix Version/sRelease 5.4.0
ComponentsWindows
LabelsPicker, qe-5.4.0, windows
ReporterRakhi Mitro
AssigneeKota Iguchi
Created2016-05-15T05:18:03.000+0000
Updated2016-06-21T18:19:39.000+0000

Description

Unable to change the options in the picker after the first time. It only works once. This is happening on windows device Microsoft Windows 8.1 Enterprise and emulator 8.1 WVGA 4 inch 512MB. *Test Code:* reporter’s sample code. *index.js*

var picker = Ti.UI.createPicker({
  top:50,
});

var data = [];
data[0]=Ti.UI.createPickerRow({title:'Bananas'});
data[1]=Ti.UI.createPickerRow({title:'Strawberries'});
data[2]=Ti.UI.createPickerRow({title:'Mangos'});
data[3]=Ti.UI.createPickerRow({title:'Grapes'});
picker.add(data);
picker.selectionIndicator = true;
$.win.add(picker);
$.win.open();
*index.xml*
<Alloy>
	<Window id="win" backgroundColor="black"  layout="vertical" exitOnClose="true">		
	</Window>
</Alloy>
*Test Environment:* Device: Microsoft Windows 8.1 Enterprise,Emulator: Emulator 8.1 WVGA 4 inch 512MB Node.js Version = 0.12.7 npm Version = 2.11.3 SDK Version = 5.4.0.v20160404231726,5.2.2.GA Appcelerator Command-Line Interface, version 5.2.0 *Test Steps:* * Import the app. * Run the project on windows device/emulator. * Try to select the picker options,it is getting selected for the first time. After that unable to select any picker options. *Test Results:* See attachments.

Attachments

FileDateSize
w1.PNG2016-05-15T05:20:17.000+00009829
w2.PNG2016-05-15T05:20:36.000+00004884

Comments

  1. Nazmus Salahin 2016-05-16

    Hello, I have tested the issue in my environment and able to reproduce with given code. I have found that it is not possible to change the options in the picker after the first time. *Steps:* 1. Create a alloy project with given code for Windows Phone. 2. Build and run the app on emulator or device. 3. Select a option from the picker. 4. Click the picker again. >> It is not possible to change the option. Thanks *Environment*: *OS :* Microsoft Windows 8.1 Enterprise N *Device info:* Microsoft Lumia 640 (Windows Phone 8.1) *Node.js Version:* 0.12.7 *npm Version:* 2.11.3 *Titanium SDKs:* 5.2.2.GA *Java Development Kit Version:* 1.8.0_73 *Titanium CLI Version:* 5.0.5 *Appcelerator CLI Version:* 5.2.2 *Appcelerator Studio:* 4.5.0
  2. Ajith Rohini 2016-05-16

    What the ETA for 5.4.0 ?
  3. Kota Iguchi 2016-05-23

    Fixed by TIMOB-20599.
  4. Josh Longton 2016-06-21

    Verified as fixed. Tested on: Microsoft Lumia 640 (8.1) Windows Simulator (8.1) Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Pro Studio: 4.7.0.201606150733 Ti SDK: 5.4.0.v20160617074028 Appc NPM: 4.2.7-2 App CLI: 5.4.0-18 Node v4.4.4 *Closing Ticket.*

JSON Source