{ "id": "138012", "key": "TIMOB-17843", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-19T03:17:52.000+0000", "created": "2014-10-13T21:12:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2015-07-24T02:03:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue description\r\nWhen the user clicks the (return/next) (ios/android) button on the keyboard after entering the password on iOS and clicking return the list picker is selected with #3. This is what we want to occur on Android as well. However on Android after entering the password and clicking next it select #3 in the list and then moves onto selecting the password field. We want the list picker to be open with #3 selected. \r\n\r\nh6.Steps to Reproduce: \r\n# Launch app.js on iOS \r\n# click on the password field. \r\n# enter data \r\n# click return \r\n# notice how the picker is selected and moved to #3 \r\n# Launch the app on Android Tablet \r\n# click on the password field \r\n# enter data \r\n# click return \r\n# notice how the picker selected #3 and then moved onto the password field \r\n\r\nh6.EXPECTED:\r\nThe picker was opened with #3 selected so that they user can change it. \r\n\r\nh6.Devices under test\r\nGalaxy Note 10.1 on 4.3\r\nXperia Play 4.0.4", "attachment": [ { "id": "51950", "filename": "app.js", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-13T21:12:20.000+0000", "size": 3536, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Cannot Programmatically Open List Picker", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.4.0.GA\r\nAndroid API Level 14\r\niOS 8.0", "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 }, { "id": 251, "state": "closed", "name": "2014 Sprint 23 SDK", "startDate": "2014-11-10T22:56:44.608Z", "endDate": "2014-11-22T01:00:00.000Z", "completeDate": "2014-11-22T05:03:36.553Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "330098", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Added code to open picker while selecting the row\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6291", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-10-30T17:38:44.000+0000", "updated": "2014-10-30T17:38:44.000+0000" }, { "id": "342757", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Verified with below Test Environment: \r\n1. Mac OSX Yosemite 10.10 \r\n2. Appcelerator Studio, build: 4.0.0.201502051633 \r\n3. Titanium SDK, build: 4.0.0.v20150209124844\r\n4. Titanium CLI, build: 3.6.0-dev \r\n5. Alloy: 1.5.1 \r\n6. S Galaxy S5 with Android 4.4.2\r\n\r\nWith Android, the picker is opened with #3 selected so that they user can change it values.\r\nClosing this ticket as working as expected.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-02-10T08:34:35.000+0000", "updated": "2015-02-10T08:34:35.000+0000" }, { "id": "357563", "author": { "name": "patrykattc", "key": "patrykattc", "displayName": "Patryk Golabek", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The added code in this JIRA should be reverted or made conditional.\r\nOpening the picker every time the picker.setSelectedRow is called works in this specific use case, but not most of the time.\r\nMost of the time we do not want to force the user to dismiss the picker when we programmatically set the picker.\r\nThere are many more use case then the above one where we do not want to open the picker.\r\nForcing open for all use case really does not make sense in terms of usability.", "updateAuthor": { "name": "patrykattc", "key": "patrykattc", "displayName": "Patryk Golabek", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-13T16:28:22.000+0000", "updated": "2015-07-13T16:28:22.000+0000" }, { "id": "358228", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-24T02:03:38.000+0000", "updated": "2015-07-24T02:03:38.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }