{ "id": "85560", "key": "TIMOB-7433", "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": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-14T08:57:29.000+0000", "created": "2012-01-26T15:10:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T17:57:04.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": "When adding a picker to an Android option dialog a picker with properties type:\"PLAIN\" and useSpinner:\"true\" does not render. A \"PLAIN\" picker with useSpinner \"false\" works fine, as does a \"DATE\" picker with useSpinner \"true\". As a note, this combination of properties works fine in an option dialog on SDK 1.7.5.\r\n\r\nhere is the code sample: \r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"white\"\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle : \"press me\",\r\n\twidth : 100,\r\n\theight : 50\r\n});\r\n\r\nwin.add(button);\r\n\r\nvar picker = Ti.UI.createPicker({\r\n\tuseSpinner:true,\r\n\ttype:Titanium.UI.PICKER_TYPE_PLAIN\r\n});\r\n\r\nvar data = [];\r\n\r\ndata.push(Ti.UI.createPickerRow({\r\n\ttitle : \"Test\",\r\n}));\r\n\r\npicker.add(data);\r\n\r\nbutton.addEventListener(\"click\", function() {\r\n\r\n\tvar dialog = Titanium.UI.createOptionDialog();\r\n\t\r\n\tvar root = Ti.UI.createView({});\r\n var v = Ti.UI.createView({width:300, height:200});\r\n root.add(v);\r\n \r\n\tv.add(picker);\r\n \r\n\tdialog.title = \"test\";\r\n\tdialog.buttonNames = ['Cancel', 'OK'];\r\n\tdialog.androidView = root;\r\n\tdialog.show();\r\n\r\n});\r\n\r\nwin.open();\r\n", "attachment": [ { "id": "25351", "filename": "app.js", "author": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-26T15:10:09.000+0000", "size": 708, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: usespinner picker and titanium.UI.PICKER_TYPE_PLAIN not rendering when used together", "creator": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android ", "comment": { "comments": [ { "id": "182853", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "i have found no combination of using useSpinner and getting the information to appear in a picker. This issue is forcing me to write my own optionDialog code.", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-11T22:03:44.000+0000", "updated": "2012-02-11T22:03:44.000+0000" }, { "id": "195226", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on a Samsung Galaxy S2, issue still exists.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-17T16:51:25.000+0000", "updated": "2012-05-17T16:51:25.000+0000" }, { "id": "242192", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T08:57:29.000+0000", "updated": "2013-03-14T08:57:29.000+0000" }, { "id": "416218", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T17:57:04.000+0000", "updated": "2017-03-29T17:57:04.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }