{ "id": "141537", "key": "TIMOB-18195", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-10-19T13:53:27.000+0000", "created": "2014-12-12T18:04:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "look1", "qe-3.5.0" ], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "48624", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "140860", "key": "AC-1244", "fields": { "summary": "iOS forced orientation doesn't rotate screen properly", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48622", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "139959", "key": "TIMOB-18056", "fields": { "summary": "iOS: StatusBar disappears on forced 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": "48623", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136946", "key": "TIDOC-1890", "fields": { "summary": "iOS: Deprecate forced orientations for non-modal windows", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-02T22:20:02.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": [], "description": "h5.Description\r\n\r\nWhen returning from a window that uses forced orientation, if you are in an orientation that is not supported and return to another window which does not use forced orientation the navbar appears to shrink when you return to protrait mode. Also when returning to the window the icons at the top of the device disappear until you rotate the device too\r\n\r\n*Note* \r\nTo 'unshrink' the navbar you just need to simply rotate the device.\r\nThis *is not* a regression the same occurs in 3.4.1.GA\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Using the attached app.js build to an iOS device.\r\n2. Tap the button to open the second window and rotate to an unsupported orientation (in the app.js Titanium.UI.LANDSCAPE_LEFT and Titanium.UI.UPSIDE_PORTRAIT)\r\n3. Tap the button and close the window\r\n4. Go back to portrait \r\n\r\nh5.Actual Result\r\n\r\n3. The icons at the top of the screen have disappeared\r\n4. The navbar appears 'shrinked'\r\n\r\nh5.Expected Result\r\n\r\n3. Nothing should be malformed, the icons should appear\r\n4. Nothing should be malformed", "attachment": [ { "id": "53181", "filename": "app.js", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-12-12T18:06:19.000+0000", "size": 1272, "mimeType": "text/javascript" }, { "id": "53180", "filename": "Recording.mov", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-12-12T18:05:37.000+0000", "size": 1510313, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: Navbar appears to shrink when returning from a window with forced orientation", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.10.1\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.5.0.v20141211124115\r\nTitanium CLI, build: 3.4.1\r\nAlloy: 1.5.1\r\nXcode 6.1.1\r\niPhone 6 Plus (8.1), iPad Air 2 (8.2)", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "341801", "author": { "name": "owen.evans", "key": "owen.evans", "displayName": "Owen Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Has there been any progress on this issue? Is it an issues with the Titanium SDK or iOS? Is there currently any way to get around it?", "updateAuthor": { "name": "owen.evans", "key": "owen.evans", "displayName": "Owen Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-03T09:23:45.000+0000", "updated": "2015-02-03T09:23:45.000+0000" }, { "id": "343246", "author": { "name": "greghudson", "key": "greghudson", "displayName": "Gregory Hudson", "active": true, "timeZone": "Europe/London" }, "body": "Is there any progress in resolving this issue?\r\n\r\nWe have wasted considerable development time and effort in attempting to work around this issue and ultimately had to revert back to using an older version of the Titanium SDK that didn't display this issue. This is not a solution that is viable in the long term as future app submissions to the app store will require 64bit support.", "updateAuthor": { "name": "greghudson", "key": "greghudson", "displayName": "Gregory Hudson", "active": true, "timeZone": "Europe/London" }, "created": "2015-02-13T10:11:53.000+0000", "updated": "2015-02-13T10:11:53.000+0000" }, { "id": "351257", "author": { "name": "owen.evans", "key": "owen.evans", "displayName": "Owen Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any progress on this bug? I noticed it was included into a sprint, what was the outcome?", "updateAuthor": { "name": "owen.evans", "key": "owen.evans", "displayName": "Owen Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-30T10:42:00.000+0000", "updated": "2015-04-30T10:42:00.000+0000" }, { "id": "351267", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should have been moved to the next sprint. It's unclear to me why that didn't happen. I've updated it now so it will be revisited.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-30T14:03:16.000+0000", "updated": "2015-04-30T14:03:16.000+0000" }, { "id": "354651", "author": { "name": "greghudson", "key": "greghudson", "displayName": "Gregory Hudson", "active": true, "timeZone": "Europe/London" }, "body": "Has this been allocated to a Sprint yet?", "updateAuthor": { "name": "greghudson", "key": "greghudson", "displayName": "Gregory Hudson", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-09T10:17:14.000+0000", "updated": "2015-06-09T10:17:14.000+0000" }, { "id": "354751", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Ingo Muschenetz - any update on this?", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-10T13:08:30.000+0000", "updated": "2015-06-10T13:08:30.000+0000" }, { "id": "359665", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cng] This should either go in 5.0.0 or 5.0.1. Please take a look.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-12T14:10:58.000+0000", "updated": "2015-08-12T14:10:58.000+0000" }, { "id": "359666", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ond second thought, this may be a won't fix. See related tickets.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-12T14:13:25.000+0000", "updated": "2015-08-12T14:13:25.000+0000" }, { "id": "359674", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "\"Forced rotation\" is different than what this example shows. In older SDK versions, you could call a method to rotate the window without the user having to rotate the device. (We called that \"forced rotation.\") This ticket is describing navigating between windows that have differing supported orientations. I think that's different, and should be supported.", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-08-12T15:43:30.000+0000", "updated": "2015-08-12T15:43:30.000+0000" }, { "id": "359675", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The original window does have a \"forced orientation,\" so this might be an edge case of that particular class of tickets.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-12T15:47:33.000+0000", "updated": "2015-08-12T15:47:33.000+0000" }, { "id": "399363", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "To get this rolling: The issue is around [this snippet of code|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiRootViewController.m#L1281-L1298] where we are actually transforming the view to match the forced orientation. \r\n\r\nAgain, this won't ever be allowed natively and Apple will very likely reject apps these days because of not following there Human Interface Guidelines. Every solution that could fix this messes up the core by adding even more layout hacks. I'm not sure if we really want this. \r\n\r\nFinally, I do have a fix that *could* be applied after line 1920:\r\n{code:objc}\r\n[[UIDevice currentDevice] setValue:NUMINT(target) forKey:@\"orientation\"];\r\n{code}\r\n \r\nIt will set the orientation back to the one of the target (which is the portrait orientation in this case). However, although this is not private API usage, this way to set the value is insecure and not future-proof, because it might stop working if Apple ever changes the value of this key (referring to [this post|http://stackoverflow.com/a/26358192/5537752]).\r\n\r\nSo if someone wants to have this behavior anyway, the above snippet is the way to go, but I would suggest to not support it in our SDK.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-19T13:52:44.000+0000", "updated": "2016-10-19T13:52:44.000+0000" }, { "id": "439717", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing old \"Won't fix\" tickets. If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-02T22:20:02.000+0000", "updated": "2018-08-02T22:20:02.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }