{ "id": "85760", "key": "TIMOB-7486", "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": "12096", "description": "", "name": "Sprint 2012-04", "archived": true, "released": true, "releaseDate": "2012-02-26" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-01T14:58:33.000+0000", "created": "2012-01-31T15:08:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_window", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "16128", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "88973", "key": "TIMOB-8334", "fields": { "summary": "iOS: modal window - orientation change causes the top 44px to be hidden under the nav bar", "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": "15509", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "77591", "key": "TIMOB-4619", "fields": { "summary": "iPad - Redraw issues after dismissing a modal when orientation was changed post spawn", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15507", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "83249", "key": "TIMOB-6391", "fields": { "summary": "iOS: Window: iPad only, opening and closing a modal window with split view cause the view to be displaced", "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": "15506", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "83546", "key": "TIMOB-6551", "fields": { "summary": "iOS: keytoolbar hiding behind the keypad on changing orientation ", "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": "15510", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "62266", "key": "TIMOB-1634", "fields": { "summary": "iPad - invoking a modal window from split views detail window breaks orientation behavior.", "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": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15785", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "84586", "key": "TIMOB-7028", "fields": { "summary": "iOS: Vertical layout not working on orientation change", "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": "15511", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87281", "key": "TIMOB-7863", "fields": { "summary": "iOS: Keyboard displayed over modal causes render issues on rotate", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-05-01T14:58:33.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. The Problem:\r\nWhen the window changes orientation, if it's modal, it's children end up behind the nav bar.\r\n\r\nh3. Code Sample:\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\torientationModes:[\r\n\t\tTitanium.UI.PORTRAIT,\r\n\t\tTitanium.UI.UPSIDE_PORTRAIT,\r\n\t\tTitanium.UI.LANDSCAPE_LEFT,\r\n\t\tTitanium.UI.LANDSCAPE_RIGHT\r\n\t]\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttop:0,\r\n\theight:10,\r\n\ttext:'lalalalala'\r\n});\r\n\r\nview.add(label);\r\n\r\nwin.add(view);\r\n\t\r\nwin.open({modal:true});\r\n{code}\r\n\r\nh3. To Reproduce:\r\nRun the code above in app.js and rotate the device/simulator\r\n\r\nh3. Behavior:\r\n\r\n- What happens: View with the label with text \"lalalala\" ends up under the navbar and invisible to the user\r\n- What has to happen: View containing the label has to resize accordingly", "attachment": [], "flagged": false, "summary": "iOS - on modal window orientation misplaces children", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS SDK\r\nTi SDK 1.8.1\r\nTi SDK 1.9.0.v20120131141634", "comment": { "comments": [ { "id": "184275", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*NOTE:* Only check this for correct orienting. There is a bug related to this test, TIMOB-7854, which covers closing and reopening a window over a modal.\r\n\r\nAny fix for this also needs to pass the \"sandwich test\" (where the modal is \"sandwiched\" between two normal windows):\r\n\r\n{code}\r\nvar toplevel = Ti.UI.createWindow({\r\n\torientationModes:[\r\n\t\tTi.UI.PORTRAIT,\r\n\t\tTi.UI.UPSIDE_PORTRAIT\r\n\t],\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar win = Ti.UI.createWindow({\r\n\torientationModes:[\r\n\t\tTitanium.UI.LANDSCAPE_LEFT,\r\n\t\tTitanium.UI.LANDSCAPE_RIGHT\r\n\t],\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n\torientationModes:[Ti.UI.LANDSCAPE_LEFT],\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar b = Ti.UI.createButton({\r\n\ttitle:'open',\r\n\twidth:100,\r\n\theight:50\r\n});\r\nb.addEventListener('click', function() {\r\n\twin.open({modal:true});\r\n});\r\n\r\nvar b2 = Ti.UI.createButton({\r\n\ttitle:'open',\r\n\twidth:100,\r\n\theight:50,\r\n\ttop:20\r\n});\r\nb2.addEventListener('click', function() {\r\n\twin2.open();\r\n});\r\n\r\nvar b3 = Ti.UI.createButton({\r\n\ttitle:'close',\r\n\twidth:100,\r\n\theight:50,\r\n\tbottom:20\r\n});\r\nb3.addEventListener('click', function() {\r\n\twin.close();\r\n});\r\n\r\nvar b4 = Ti.UI.createButton({\r\n\ttitle:'close',\r\n\twidth:100,\r\n\theight:50,\r\n\tbottom:20\r\n});\r\nb4.addEventListener('click', function() {\r\n\twin2.close();\r\n});\r\n\r\ntoplevel.add(b);\r\nwin.add(b2);\r\nwin.add(b3);\r\nwin2.add(b4);\r\n\r\ntoplevel.open();\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-24T19:56:03.000+0000", "updated": "2012-03-02T11:21:58.000+0000" }, { "id": "184899", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Linked to possible regressions.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-02T11:01:57.000+0000", "updated": "2012-03-02T11:01:57.000+0000" }, { "id": "186686", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 2.0.0.v20120315140247\r\nTitanium Studio, build: 2.0.0.201203142055\r\nxcode: 4.2\r\nDevice: iphone 4s (5.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T14:12:54.000+0000", "updated": "2012-03-15T14:12:54.000+0000" }, { "id": "186691", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Also, only tested the *Code Sample* for correct orientation.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T14:28:44.000+0000", "updated": "2012-03-15T14:28:44.000+0000" }, { "id": "186707", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "No regression occurred when testing TIMOB-4619, TIMOB-1634, TIMOB-6551, TIMOB-6391 on:\r\n\r\nSDK build: 2.0.0.v20120315140247\r\nTitanium Studio, build: 2.0.0.201203142055\r\nxcode: 4.2\r\nDevice: iphone 4s (5.0.1), ipad2 (4.3.5)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T15:20:02.000+0000", "updated": "2012-03-15T15:20:02.000+0000" }, { "id": "193339", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to update label\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-01T14:58:10.000+0000", "updated": "2012-05-01T14:58:10.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }