{ "id": "143532", "key": "TIMOB-18455", "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": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "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": "2015-03-10T22:01:19.000+0000", "created": "2015-01-26T21:27:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ipad", "optiondialog" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-10T22:01:19.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Starting 3.5.0, show an OptionDialog without specifying view property:\r\n\r\n1. Dialog not centered\r\n2. Arrow points to the center of the window.\r\n\r\nWhich looks very weird.\r\n\r\nBefore 3.5.0, the dialog will be centered without an arrow. That is the preferred behavior.", "attachment": [], "flagged": false, "summary": "iPad: OptionDialog shows not in center of display", "creator": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 8, SDK 3.5.0", "comment": { "comments": [ { "id": "340710", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease provide the simple test case to reproduce your problem. That will be real helpful to address the problem. \r\nThanks\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-27T06:04:24.000+0000", "updated": "2015-01-27T06:04:24.000+0000" }, { "id": "340880", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just create an option dialog, and call dialog.show() without any parameter. Test it on iPad and you'll see the problem. Thanks.", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-28T00:08:18.000+0000", "updated": "2015-01-28T00:08:18.000+0000" }, { "id": "340904", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Problem can be reproduced on SDK 3.5.0, which works well in SDK 3.4.*\r\nNot sure is it IOS change issue, or our SDK issue.\r\n\r\nTest Case:\r\n{code:title=app.js}\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\nwin.addEventListener('click', function(e){\r\n var dialog = Ti.UI.createOptionDialog(opts).show();\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-28T02:11:40.000+0000", "updated": "2015-01-28T02:11:40.000+0000" }, { "id": "345436", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "I also had this problem, but with SDK 3.5.1 the problem is completely solved ", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-03-09T09:58:42.000+0000", "updated": "2015-03-09T09:58:42.000+0000" }, { "id": "345443", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving based on customer feedback.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-09T14:00:11.000+0000", "updated": "2015-03-09T14:00:11.000+0000" }, { "id": "345616", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 4.0.0.v20150306095010\r\nStudio 4.0.0.201502171827\r\nCLI 3.4.2\r\nXcode 6.2\r\n\r\nOption dialog is centered and without arrow.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-10T21:57:35.000+0000", "updated": "2015-03-10T22:01:13.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }