{ "id": "163973", "key": "TIMOB-24036", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-10-15T13:32:25.000+0000", "created": "2016-10-14T14:53:12.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T20:50:24.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": "h4. Expectation\r\nThat camera viewport use the entire screen\r\n\r\nh4. Actual\r\nCamera viewport only uses a portion of the screen\r\n\r\n{code}\r\nTi.Media.showCamera({\r\n cancel: function() {alert('camera cancelled');},\r\n error: function() {alert('camera error');},\r\n success: function() {alert('camera success');},\r\n mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO],\r\n showControls: false\r\n });\r\n{code}\r\n\r\n", "attachment": [ { "id": "60531", "filename": "cameratest.zip", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-15T13:32:36.000+0000", "size": 33051, "mimeType": "application/zip" } ], "flagged": false, "summary": "Camera viewport is sized wrong if showControls: false w/ sdk 5.5.1.GA and iOS 10", "creator": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.12\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.4.1\r\n npm Version = 3.10.8\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\n node-appc Version = 0.2.31\r\n\r\nXcode\r\n 8.0 (build 8A218a) - Xcode default", "comment": { "comments": [ { "id": "398977", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "{code}\r\nshowControls: false\r\n{code}\r\n!http://content.screencast.com/users/Stephen_Feather/folders/Jing/media/23cc2afb-71e1-40f3-8704-495b368616c0/00000035.png!", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-14T14:55:30.000+0000", "updated": "2016-10-14T15:04:11.000+0000" }, { "id": "398978", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "{code}\r\nshowControls: true\r\n{code}\r\n\r\n!http://content.screencast.com/users/Stephen_Feather/folders/Jing/media/5e6f2729-01b5-4655-b239-1839ef209e2f/00000036.png!", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-14T15:03:01.000+0000", "updated": "2016-10-14T15:04:35.000+0000" }, { "id": "398989", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is very likely a native behavior, see the screenshots in [this|http://stackoverflow.duapp.com/questions/39124794/uiimagepickercontrollers-cameraviewtransform-is-ignoring-scaling-and-transla/39342257#39342257], [this|https://forums.developer.apple.com/thread/60888] and [this|http://stackoverflow.com/questions/2674375/uiimagepickercontroller-doesnt-fill-screen] thread regarding it. So you might want to use the suggested 2D-transformation if you want to prevent the scaling.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-14T17:46:17.000+0000", "updated": "2016-10-14T17:48:30.000+0000" }, { "id": "399041", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving issue, please see the attached native project to reproduce the issue natively. You can work around this by applying a 2D-matrix as discussed in the above-linked threads. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-15T13:32:25.000+0000", "updated": "2016-10-15T13:32:25.000+0000" }, { "id": "414393", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the issue is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T20:50:24.000+0000", "updated": "2017-03-21T20:50:24.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }