{ "id": "136747", "key": "TIMOB-17719", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "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": "2014-10-01T20:33:09.000+0000", "created": "2014-09-17T21:08:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "module_alertdialog", "qe-3.4.1", "qe-manualtest", "supportTeam" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "41883", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "136536", "key": "TIMOB-17687", "fields": { "summary": "iOS8: Refactor Alert", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "41250", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136237", "key": "TIMOB-17648", "fields": { "summary": "iOS8: 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 } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-04T19:43:07.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": "h3. Issue\r\n\r\nWhen the alert dialog is called with an input text style and a orientation mode restricted to Portrait and the device is rotated to landscape the alertDialog keeps rotating but only if the keyboard is being displayed, if the keyboard is hiding the alert will not rotate.\r\n\r\nh3. Step to reproduce\r\n\r\n1. Run the test code\r\n2. Tap on the \"Welcome to Titanium\" for the alert to be displayed\r\n3. Try to rotate the device.\r\n4. Go back to portrait and tap on the input text box.\r\n5. Try to rotate the device\r\n\r\nh5. Expected Results\r\n\r\nThe alert will not rotate and remain in portrait mode.\r\n\r\nh5. Actual results\r\n\r\nWhen the keyboard is hidden the alert will not rotate, once the keyboard is displayed the alert will begin to rotate\r\n\r\nh3. Test Code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\torientationModes: [Ti.UI.PORTRAIT],\r\n\tbackgroundColor:'#ffffff'\r\n});\r\n\r\n\tvar label = Ti.UI.createLabel({\r\n\t\tcolor:'#000000',\r\n\t\ttext:String.format(L('welcome'),'Titanium'),\r\n\t\theight:'auto',\r\n\t\twidth:'auto'\r\n\t});\r\n\r\n\tlabel.addEventListener('click', function(e) {\r\n\t var alertDialog = Ti.UI.createAlertDialog({\r\n title: \"Alert Dialog\",\r\n message: \"akjskajksa skajskajksjas akjskajskjaks aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa aksjakjsa\",\r\n style: Ti.UI.iPhone.AlertDialogStyle.PLAIN_TEXT_INPUT\r\n });\r\n\r\n alertDialog.show();\r\n\t});\r\n\r\nwin.add(label);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "51412", "filename": "4sLandscape.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T18:17:14.000+0000", "size": 76709, "mimeType": "image/png" }, { "id": "51413", "filename": "4sPortrait.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T18:17:14.000+0000", "size": 80548, "mimeType": "image/png" }, { "id": "51414", "filename": "iPadRotated.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T18:17:14.000+0000", "size": 190396, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS8: Alert dialog does not consider window orientation modes when keyboard is displayed", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK, build: 3.4.0.v20140916181713 
\r\nAlloy 1.5.0-rc 
titanium 3.4.0-rc2 \r\n
Xcode6 GM 
\r\nDevice: iPhone 5s iOS 8 GM 
", "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "324551", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Can reproduce on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build:3.4.0.201409161950\r\nTitanium SDK build: 3.4.0.v20140917120000\r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2 \r\nXcode6.0.1\r\niOS Device iPad4 (8.0), iPhone 4s (8.0)\r\n\r\nWhen a keyboard is on screen the alert dialog rotates on both devices but the keyboard stays in place, on a large device this is not an issue but on a smaller device the alert dialog is hidden because of this. See attached screenshots.\r\n\r\n*Please note*, this is using forced orientation.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T18:16:56.000+0000", "updated": "2014-09-18T18:16:56.000+0000" }, { "id": "326618", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending \r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/6188\r\n3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6189", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T18:25:23.000+0000", "updated": "2014-10-01T19:22:47.000+0000" }, { "id": "326792", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix, using\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK, build: 3.4.1.v20141001133315\r\nacs@1.0.18\r\nalloy 1.5.1-rc\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0\r\ntitanium-code-processor@1.1.1\r\nXcode6.1GM\r\n\r\nThe alert dialog remains in a portrait mode.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-02T20:12:11.000+0000", "updated": "2014-10-02T20:12:11.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }