{ "id": "119995", "key": "TIMOB-15197", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "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": "2014-08-18T09:15:11.000+0000", "created": "2013-09-16T15:43:12.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios7", "module_alertdialog", "qe-manualtest" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-18T09:15:11.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": "h4. Description \r\n\r\nWhen we open an alert dialog and background the app in portrait mode, if we resume the app in landscape the alert dialog shifts position.\r\n\r\nh4. Steps to reproduce\r\n\r\n1. Pop up Alert message by Clicking Long title Button in Portrait mode\r\n2. Press the home button once\r\n3. Resume the app in Landscape mode (See screenshot 2 for how it looks at this step)\r\n4. Pop up Alert message by Clicking Long title Button in Landscape mode\r\n5. Press the home button\r\n6. Resume the app in portrait mode (See screenshot 3 for how it looks at this step)\r\n\r\nh4. Code\r\n\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n \r\nvar longmsg = \"Appcelerator is the only mobile first platform that enables enterprise to create, deliver and analyze their mobile applications. Appcelerator offers the only platform built for a Mobile First world. It is the mobile platform of choice for thousands of companies including eBay, Merck, Mitsubishi Electric, NBC, PayPal and Ray-Ban, as they become Mobile First enterprises. With 59,895 mobile applications deployed on 162,143,002 devices, the Appcelerator Platform helps enterprises accelerate their time to market, reduce costs, manage risk, and deliver exceptional mobile user experiences.\";\r\n \r\nvar Button1 = Ti.UI.createButton({\r\n\ttitle : \"Short Title\",\r\n\ttop : 30\r\n}); \r\n\r\nButton1.addEventListener('click', function(e){\r\n\t\r\n\tshortAlertDialog.show();\r\n\t\r\n});\r\n\r\n\r\nvar Button2 = Ti.UI.createButton({\r\n\ttitle : \"Long Title\",\r\n\ttop : 80\r\n}); \r\n\r\nButton2.addEventListener('click', function(e){\r\n\t\r\n\tlongAlertDialog.show();\r\n\t\r\n});\r\n\r\n \r\nvar shortAlertDialog = Ti.UI.createAlertDialog({\r\n message: 'The file has been deleted',\r\n ok: 'Okay',\r\n title: 'Short Dialog',\r\n persistent : true\r\n}); \r\n\r\nvar longAlertDialog = Ti.UI.createAlertDialog({\r\n\tmessage : longmsg,\r\n\tok:\"Okay\",\r\n\ttitle : \"Long Dialog\",\r\n\tpersistent : true\r\n\t\r\n});\r\n\r\n\r\nwin.add(Button1);\r\nwin.add(Button2);\r\n \r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\n\r\n", "attachment": [ { "id": "42512", "filename": "foto 1.PNG", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:43:12.000+0000", "size": 164741, "mimeType": "image/png" }, { "id": "42514", "filename": "foto 2.PNG", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:43:12.000+0000", "size": 123354, "mimeType": "image/png" }, { "id": "42513", "filename": "foto 3.PNG", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:43:12.000+0000", "size": 161404, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: AlertDialog changes its position on orientation change", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7\r\n3.1.3 SDK", "comment": { "comments": [ { "id": "276687", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4845", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T21:33:33.000+0000", "updated": "2013-10-24T21:33:33.000+0000" }, { "id": "277486", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix with:\r\nOSX: 10.8.5\r\nXcode:5.0\r\nAppcelerator Studio: 3.2.0.201310310241\r\nSDK: 3.2.0.v20131030184044\r\nacs:1.0.7\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processo:1.0.3\r\nDevice: iOS7(v7.0.3)-iPodTouch1", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-31T11:05:09.000+0000", "updated": "2013-10-31T11:05:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }