{ "id": "82147", "key": "TIMOB-5928", "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": "12093", "description": "", "name": "Sprint 2012-01", "archived": true, "released": true, "releaseDate": "2012-01-15" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:39:07.000+0000", "created": "2011-10-31T10:46:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "dr-list", "parity" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "12470", "description": "", "name": "Release 1.7.4", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-04T22:14:00.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": "h3.Problem\r\nDynamic positioning of camera overlay objects does not work. We cannot relocate the components.\r\n\r\nh3.Reproducible Steps\r\n1. Run the sample code with iOS device\r\n2. Tap on the screen\r\n\r\nh3.Sample Code\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n layout:'vertical',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar redBox = Ti.UI.createView({\r\n\tborderColor: 'red',\r\n\tborderWidth: 1,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tleft:0,\r\n\ttop:0\r\n});\r\n\r\nwin.open();\r\n\r\nvar overlayView = Ti.UI.createView({});\r\n\r\noverlayView.add(redBox);\r\n \r\noverlayView.addEventListener('click', function(e) {\r\n\tTi.API.info(\"Overlay click event received.\");\r\n\tredBox.left = 100;\r\n\tredBox.top = 100;\r\n});\r\n\r\n\r\nTi.Media.showCamera({\r\n\tsuccess: function(event) {\r\n\t\tTi.API.info(\"Camera success event received.\");\r\n\t},\r\n\terror: function(error) {\r\n\t\tTi.API.info(\"Camera error event received.\");\r\n\t},\r\n\toverlay: overlayView,\r\n\tallowEditing: false,\r\n\tmediaTypes : Ti.Media.MEDIA_TYPE_PHOTO,\r\n\tshowControls : false,\r\n\tautohide : false,\r\n\tanimated: true\r\n});\r\n\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-411144", "attachment": [], "flagged": false, "summary": "iOS: Dynamic positioning of camera overlay objects not working", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5, \r\nmobile SDK 1.7.3, 1.7.4.v20111025165811, 1.8.0.v20111027152620", "comment": { "comments": [ { "id": "174621", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Reassigning, due to Reggie's absence.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-02T12:02:50.000+0000", "updated": "2011-12-02T12:02:50.000+0000" }, { "id": "179289", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120112153134 on iPod 4.3.3 tapping the first time does not move the red box", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T16:33:01.000+0000", "updated": "2012-01-13T16:33:01.000+0000" }, { "id": "179294", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test with newer build", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T16:49:16.000+0000", "updated": "2012-01-13T16:49:16.000+0000" }, { "id": "179313", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120113170134 with iPod 4.3.3", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T17:58:42.000+0000", "updated": "2012-01-13T17:58:42.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }