{ "id": "83249", "key": "TIMOB-6391", "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": "12088", "description": "", "name": "Sprint 2011-48", "archived": true, "released": true, "releaseDate": "2011-12-05" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-04T22:51:22.000+0000", "created": "2011-11-30T14:21:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios112911", "qe-port", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14030", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "78740", "key": "TIMOB-4888", "fields": { "summary": "iOS: app does not rotate to landscape if it is launched while the device is in landscape", "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": "14031", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "82067", "key": "TIMOB-5891", "fields": { "summary": "iOS: Screen does not rotate to landscape on first launch if tiapp orientation is set to portrait", "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": "14087", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "83434", "key": "TIMOB-6487", "fields": { "summary": "iOS: Popover - Popover window does not align properly when rotating on ipad only", "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": "15507", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85760", "key": "TIMOB-7486", "fields": { "summary": "iOS - on modal window orientation misplaces children", "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": "14086", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "83430", "key": "TIMOB-6485", "fields": { "summary": "iOS: Window - Opening and closing a modal window with split view while the device is upside down does not automatically reorient itself ", "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": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:40.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": "Steps to Reproduce:\r\n1. Launch KS-iPad\r\n2. Split View - Plain\r\n3. Click Show Modal\r\n4. Click Dismiss modal\r\n\r\nActual:\r\nthe view to be displaced\r\n\r\nExpected:\r\nShould be displayed like the launched view\r\n", "attachment": [], "flagged": false, "summary": "iOS: Window: iPad only, opening and closing a modal window with split view cause the view to be displaced", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio: 1.0.7.201111291553\r\nSDK: 1.8.0.1.v20111128185857\r\niPad 2: 4.3.5", "comment": { "comments": [ { "id": "174504", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "git bisect identifies the offending commit as 508ad73967f7fbfa9aad3b11be48c0938a289aa4.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T16:01:26.000+0000", "updated": "2011-12-01T16:01:26.000+0000" }, { "id": "174506", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Regression introduced by fix for linked bugs.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T16:04:52.000+0000", "updated": "2011-12-01T16:04:52.000+0000" }, { "id": "174516", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should also be mentioned that opening the modal forces the device into portrait, even though the modal explicitly states it supports all orientation modes. It should be appearing in landscape when opened; this is also a regression.\r\n\r\nNote that this only happens IF the original window was opened in portrait orientation, then the device NOT manually rotated into a landscape orientation. It could actually be an iOS bug and will not be addressed in a fix for this issue.\r\n\r\n*BONUS*: Turns out that it IS fixed by the pull request for this! Awesome.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T17:13:11.000+0000", "updated": "2011-12-01T18:10:59.000+0000" }, { "id": "174808", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The regression itself is resolved by pull 809. The behavior the pull is being rejected for has always existed, and is not a regression, but is being documented.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-04T18:30:21.000+0000", "updated": "2011-12-04T18:30:21.000+0000" }, { "id": "174811", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A brief discussion of why the doc change goes in, and why we can't fix this on short notice:\r\n\r\nIt turns out that as part of the modal transition, the transform on the initial view is *ALWAYS* set to the identity transform. In the case of the reported issue (weird redraw of the split view when closing the modal in upside-portrait) here's what was happening:\r\n\r\n* The transform the modal is currently in is saved\r\n* The transform is set to the identity transform\r\n* The split view renders given the identity transform\r\n* The split view is rotated according to the correct Landscape mode (the one it was previously in) by setting the transform there\r\n* Then, once the modal transition is complete, the ORIGINAL transform (for portrait-upside) is re-applied, causing further visual issues with the split rendering.\r\n\r\nThe steps in which the modal transition is manually managing the transform can't be adjusted by us; the problem is both when we're rendering, and when we're cuing rotation. Doing either differently could lead to even *worse* visual problems.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-04T20:47:24.000+0000", "updated": "2011-12-04T20:47:24.000+0000" }, { "id": "174817", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding new test case:\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\nwin.orientationModes = [\r\n\tTitanium.UI.PORTRAIT,\r\n\tTitanium.UI.UPSIDE_PORTRAIT,\r\n\tTitanium.UI.LANDSCAPE_LEFT,\r\n\tTitanium.UI.LANDSCAPE_RIGHT,\r\n]; \r\n\r\nvar b1 = Titanium.UI.createButton({\r\n\ttitle:'Show camera',\r\n\twidth:200,\r\n\theight:40,\r\n\ttop:40\r\n});\r\nb1.addEventListener('click', function()\r\n{\r\n\tTitanium.Media.openPhotoGallery({\r\n\t\r\n\t\tsuccess:function(event)\r\n\t\t{\r\n\t\t\tTi.API.debug('Success!');\t\t\r\n\t\t},\r\n\t\tcancel:function()\r\n\t\t{\r\n\t\t},\r\n\t\tallowEditing:true\r\n\t});\r\n});\r\nwin.add(b1);\r\n\r\nwin.open();\r\n{code}\r\n\r\nLaunch for iPhone in landscape. Press button. Portrait modal should appear. Leave physically in landscape. Dismiss modal with cancel. Window should be in landscape.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-04T22:25:38.000+0000", "updated": "2011-12-04T22:25:38.000+0000" }, { "id": "175012", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\nStudio: Titanium Studio, build: 1.0.7.201112052104 \r\nOS: Mac OS X Lion\r\nSDK Build: 1.8.0.1.v20111205164258\r\nDevice: ipad 2 (4.3.5)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T11:22:16.000+0000", "updated": "2011-12-06T11:28:24.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }