{ "id": "117631", "key": "TIMOB-14665", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-29T20:32:02.000+0000", "created": "2013-07-26T04:12:06.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:58.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h5. Problem description\r\nOptionDialog is not being displayed on BlackBerry\r\n\r\nh5. Steps to reproduce\r\n\r\nGrab sample code from samples http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.OptionDialog\r\n(both Classic and Alloy projects).\r\n\r\n1. Run the sample code\r\nResult: clicking on the screen, the Option Dialog is not being dsplayed", "attachment": [], "flagged": false, "summary": "BlackBerry: OptionDialog is not shown", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.2.v20130725110651\r\nAlloy 1.2.0\r\nAppcelerator Studio 3.1.2.201307232148\r\nCLI 3.1.2\r\nNode 0.8.22", "comment": { "comments": [ { "id": "263409", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Option dialog works as expected. Add a button and a click event to the button, then call the dialog. There seems to be a bug with the click event not firing in the window\r\n\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\nvar win = Ti.UI.createWindow({\r\n title: 'Click window to test',\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false\r\n});\r\n\r\nvar opts = {\r\n cancel: 2,\r\n options: ['Confirm', 'Help', 'Cancel'],\r\n selectedIndex: 2,\r\n destructive: 0,\r\n title: 'Delete File?'\r\n};\r\n\r\nvar btn = Ti.UI.createButton();\r\nwin.add(btn);\r\n\r\nbtn.addEventListener('click', function(e){\r\n var dialog = Ti.UI.createOptionDialog(opts).show();\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T15:37:18.000+0000", "updated": "2013-07-26T15:37:18.000+0000" }, { "id": "263467", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Option Dialog is not being displayed with current latest 3.1.X (3.1.2.v20130725110651).\r\nIt is displayed correctly with 3.2 master build.\r\n\r\nThis should be fixed with the next 3.1.X build - will update the ticket accordingly.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T19:24:04.000+0000", "updated": "2013-07-26T19:25:21.000+0000" }, { "id": "265741", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OptionDialog is correctly displayed. \n\nTitanium SDK 3.1.2.v20130808180613 \nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308071912\nCLI 3.1.2-alpha\nNode 0.10.13\n\nClosing.\n\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T18:13:24.000+0000", "updated": "2013-08-09T18:13:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }