{ "id": "166650", "key": "TIMOB-24496", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-03-30T17:41:44.000+0000", "created": "2017-03-16T23:04:26.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-15T15:24:11.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "I'm having the exact same problem / issue as someone else described here:\r\n\r\nhttp://stackoverflow.com/questions/42807874/camera-overlay-does-not-fill-the-entire-screen-when-orientation-is-changed-on-ip\r\n\r\nMy custom camera overlay is being \"chopped off\" when rotating from Portrait to Landscape mode.\r\n\r\n{code:js}\r\nvar overlay = Ti.UI.createView({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL,\r\n });\r\n\r\n var buttonHolder = Ti.UI.createView({\r\n width : Ti.UI.FILL,\r\n height : 70,\r\n backgroundColor : 'black',\r\n opacity : 0.5,\r\n bottom : 0\r\n });\r\n\r\n var bCancel = Ti.UI.createButton({\r\n width : 70,\r\n height : Ti.UI.FILL,\r\n color : 'white',\r\n title : \"Cancel\",\r\n textAlign : 'left',\r\n backgroundColor : undefined,\r\n left : 0\r\n });\r\n\r\n var bTakePicture = Ti.UI.createImageView({\r\n width : Ti.UI.SIZE,\r\n height : Ti.UI.SIZE,\r\n image : 'image.png',\r\n });\r\n\r\n var bDone = Ti.UI.createButton({\r\n width : 70,\r\n height : Ti.UI.FILL,\r\n color : 'white',\r\n title : \"Done\",\r\n textAlign : 'left',\r\n right : 0,\r\n backgroundColor : undefined\r\n });\r\n\r\n buttonHolder.add(bCancel);\r\n buttonHolder.add(bTakePicture);\r\n buttonHolder.add(bDone);\r\n\r\n overlay.add(buttonHolder);\r\n\r\n Titanium.Media.showCamera({\r\n overlay : overlay,\r\n showControls : false,\r\n\r\n success : function(event) {\r\n },\r\n cancel : function() {\r\n },\r\n error : function(error) {\r\n },\r\n allowImageEditing : false,\r\n saveToPhotoGallery : false\r\n });\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Camera overlay does not fill the entire screen when orientation is changed on iPad, Titanium SDK 6.0.0 and later", "creator": { "name": "ksouthworth", "key": "ksouthworth", "displayName": "Kevin Southworth", "active": true, "timeZone": "America/Detroit" }, "subtasks": [], "reporter": { "name": "ksouthworth", "key": "ksouthworth", "displayName": "Kevin Southworth", "active": true, "timeZone": "America/Detroit" }, "environment": "Xcode 8.2.1\r\nTi SDK 6.0.2.GA", "comment": { "comments": [ { "id": "416113", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is caused due to one additional line, while making changes for TIMOB-23936 .\r\n[~hansknoechel] Is that line really needed ?\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/8915\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T05:04:04.000+0000", "updated": "2017-03-29T05:04:04.000+0000" }, { "id": "419684", "author": { "name": "ksouthworth", "key": "ksouthworth", "displayName": "Kevin Southworth", "active": true, "timeZone": "America/Detroit" }, "body": "has this fix been incorporated into a Ti SDK release yet? I'm still having this issue with Ti SDK 6.0.4.GA", "updateAuthor": { "name": "ksouthworth", "key": "ksouthworth", "displayName": "Kevin Southworth", "active": true, "timeZone": "America/Detroit" }, "created": "2017-05-15T15:24:11.000+0000", "updated": "2017-05-15T15:24:11.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }