{ "id": "115112", "key": "TIMOB-14054", "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": null, "resolutiondate": null, "created": "2013-05-29T14:20:05.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "camera", "ios", "overlay", "reprod" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:07.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Problem*\r\nWhen showCamera's allowEditing property is set to true, buttons added to the camera overlay are not working.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle : \"Camera\",\r\n\twidth : 100,\r\n\theight : 40\r\n});\r\n\r\nbutton.addEventListener(\"click\", function(e) {\r\n\tvar view = Ti.UI.createView({\r\n\t\tleft : 0,\r\n\t\ttop : 0,\r\n\t\twidth : 320,\r\n\t\theight : 460\r\n\t});\r\n\r\n\tvar btnClick = Ti.UI.createButton({\r\n\t\ttitle : 'Take',\r\n\t\twidth : 70,\r\n\t\theight : 40,\r\n\t\tbottom : 10,\r\n\t\tleft : 20\r\n\t});\r\n\r\n\tbtnClick.addEventListener('click', function(e) {\r\n\t\tTi.Media.takePicture();\r\n\t});\r\n\r\n\tview.add(btnClick);\r\n\r\n\tvar btnCancel = Ti.UI.createButton({\r\n\t\ttitle : 'Cancel',\r\n\t\twidth : 70,\r\n\t\theight : 40,\r\n\t\tbottom : 10,\r\n\t\tright : 20\r\n\t});\r\n\r\n\tbtnCancel.addEventListener('click', function(e) {\r\n\t\tTi.Media.hideCamera();\r\n\t});\r\n\tview.add(btnCancel);\r\n\r\n\tTi.Media.showCamera({\r\n\t\tsuccess : function(e) {\r\n\t\t},\r\n\t\tcancel : function(e) {\r\n\t\t},\r\n\t\terror : function(e) {\r\n\t\t},\r\n\t\toverlay : view,\r\n\t\tallowEditing : true,\r\n\t\tmediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO],\r\n\t\tshowControls : false\r\n\t});\r\n})\r\n\r\nwin.add(button);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Buttons on camera overlay not working when showCamera allowEditing property is true", "creator": { "name": "mitulbhalia", "key": "mitulbhalia", "displayName": "Mitul Bhalia", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mitulbhalia", "key": "mitulbhalia", "displayName": "Mitul Bhalia", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio : 3.1.1\r\nTitanium SDK 3.0.2 GA, 3.1 GA, 3.2 CI\r\nPlatform & version : iOS 6.0, 6.1.3\r\nDevice : iPhone 4, iPad 3\r\nOS : MAC OS 10.7.5", "comment": { "comments": [ { "id": "254940", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iPad iOS 6.1.3 with Ti SDK 3.1 GA and 3.2 CI.\n\nNot an Alloy issue - added standard test case.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T19:38:50.000+0000", "updated": "2013-05-30T19:38:50.000+0000" }, { "id": "324293", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Would be great to be addressed in a future release! The bug still exists in the 3.3 and 3.4 builds.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-17T18:01:40.000+0000", "updated": "2014-09-24T09:41:04.000+0000" }, { "id": "422525", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-21T23:16:01.000+0000", "updated": "2017-06-21T23:16:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }