{ "id": "136237", "key": "TIMOB-17648", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-15T16:28:41.000+0000", "created": "2014-09-08T20:53:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "module_orientation", "qe-testadded", "regression" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "40903", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "119308", "key": "TIMOB-15008", "fields": { "summary": "iOS: iPad Alert dialog does not consider window orientation modes", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41075", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "136313", "key": "TIMOB-17661", "fields": { "summary": "iOS8: Alert dialog distortion on rotation", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "40950", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136313", "key": "TIMOB-17661", "fields": { "summary": "iOS8: Alert dialog distortion on rotation", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41250", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136747", "key": "TIMOB-17719", "fields": { "summary": "iOS8: Alert dialog does not consider window orientation modes when keyboard is displayed", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:27:35.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": "h2. Description\r\nWe have modal window and a button. when user clicks on the button alert pops up.\r\nThe app is supposed to have only portrait orientation which is set in tiApp.xml file.\r\nWhen alert pops up, the device supports orientation change.\r\n\r\nh2. Testcase\r\nStep to reproduce:\r\n1.Tap on the button in the main window,which opens modal window.\r\n2.Tap on the button in modal window that brings up alert dialog.\r\n3.Try rotating the device and orientation is supported\r\n{code}\r\n\r\n//app.js\r\nvar win = Ti.UI.createWindow({\r\nbackgroundColor : '#fff',\r\n \r\norientationModes : [Ti.UI.PORTRAIT] //to be sure\r\n});\r\n \r\n \r\nvar clickMeBtn = Ti.UI.createButton({\r\n \r\ntitle : 'Click to open modal window'\r\n});\r\n\r\nvar cancelBtn = Ti.UI.createButton({\r\n \r\ntitle : 'cancel'\r\n});\r\n\r\nvar modalWin = Ti.UI.createWindow({\r\nbackgroundColor : '#bbb',\r\n \r\nmodal : true,\r\n \r\norientationModes : [Ti.UI.PORTRAIT] //to be extra double sure\r\n});\r\n\r\nvar modalButton = Ti.UI.createButton({\r\ntitle : 'Click to test Orientation'\r\n});\r\nmodalWin.add(modalButton); \r\nmodalWin.setLeftNavButton(cancelBtn);\r\n \r\nwin.add(clickMeBtn);\r\n \r\n \r\nclickMeBtn.addEventListener('click',function(_event){\r\n \r\n modalWin.open();\r\n \r\n});\r\n\r\nmodalButton.addEventListener('click', function(e) {\r\n var dialog = Ti.UI.createAlertDialog({\r\n message: 'Rotate device to see the orientaion change',\r\n ok: 'Okay',\r\n title: 'File Deleted'\r\n }).show(); \r\n//alert('Rotate device to see the orientaion change');\r\n});\r\n\r\ncancelBtn.addEventListener('click', function(e){\r\n\tmodalWin.close();\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\nIn tiapp.xml\r\n{code}\r\n\r\n \r\n Ti.UI.PORTRAIT\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS8: iPad Alert dialog does not consider window orientation modes", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409032106\r\nTitanium SDK, build: 3.4.0.v20140907150914\r\nacs@1.0.16\r\nalloy@1.5.0-dev (git://github.com/appcelerator/alloy.git#28af71f2e10ca61929443277176323ec8746ee14)\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium@3.4.0-dev (git://github.com/appcelerator/titanium.git#be6d7a682c881e42246a2d31caac931b5f694024)\r\ntitanium-code-processor@1.1.1\r\nXcode6-Beta7\r\nDevice: iPad Air iOS 8.05", "closedSprints": [ { "id": 199, "state": "closed", "name": "2014 Sprint 18 SDK", "startDate": "2014-09-02T22:56:57.421Z", "endDate": "2014-09-13T00:00:00.000Z", "completeDate": "2014-09-15T20:08:19.146Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "322357", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FYI.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-08T20:58:45.000+0000", "updated": "2014-09-08T20:58:45.000+0000" }, { "id": "323344", "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/6065\r\nBackport to 3_4_X\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6066", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T17:28:34.000+0000", "updated": "2014-09-12T17:31:07.000+0000" }, { "id": "323460", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with\r\nMac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409112242\r\nTitanium SDK, build: 3.4.0.v20140912145715\r\nacs@1.0.16\r\nalloy 1.5.0-rc\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc2\r\ntitanium-code-processor@1.1.1\r\nXcode6\r\nDevice: iPad Air iOS8\r\n\r\nWorks as expected, the alert dialog is always in a portrait mode", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T22:55:13.000+0000", "updated": "2014-09-12T22:55:13.000+0000" }, { "id": "323884", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We have tested this with \r\n\r\nMac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409112242\r\nTitanium SDK, build: 3.4.0.v20140912145715\r\nalloy 1.5.0-rc\r\ntitanium 3.4.0-rc2\r\nXcode6beta7\r\nDevice: iPod iOS8\r\nSimulator: iPhone5s Version 8.0 (550), Simulator rotation was applied.\r\n\r\nWorks as expected, the alert dialog remains in portrait mode.\r\n\r\n", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2014-09-16T04:37:26.000+0000", "updated": "2014-09-16T04:37:26.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }