{ "id": "122939", "key": "AC-2544", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-12-29T19:48:00.000+0000", "created": "2013-11-26T11:23:38.000+0000", "labels": [ "3.1.3", "android", "drag", "dragging", "drop", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:36.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": "14545", "name": "Documentation" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi everybody,\r\nI have a problem for drag and drop a simple view (or image) in a window. \r\nEven the script of KitchenSink doesn't work. The animation of the circle, is jerky and no smoothie.\r\n\r\nSomeone has a solution for this problem?\r\n\r\nThank you very much.\r\n\r\nCode : \r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\"\r\n});\r\n\r\nvar X,Y,top,left;\r\n \r\nvar viewToDrag = Ti.UI.createView({\r\n top : 30,\r\n left : 30,\r\n height : 50,\r\n width : 50,\r\n backgroundColor : 'red'\r\n});\r\n\r\nwin.add(viewToDrag);\r\n\r\nviewToDrag.addEventListener('touchstart', function(e) {\r\n X = e.x; \r\n Y = e.y;\r\n});\r\n \r\nviewToDrag.addEventListener('touchmove', function(e) {\r\n left = e.x - X;\r\n top = e.y - Y;\r\n});\r\n \r\nviewToDrag.addEventListener('touchend', function(e) {\r\n viewToDrag.left = left;\r\n viewToDrag.top = top;\r\n});\r\n \r\nwin.open();", "attachment": [], "flagged": false, "summary": "Drag and Drop Bug in 3.1.3", "creator": { "name": "fred", "key": "fred", "displayName": "Fred App", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fred", "key": "fred", "displayName": "Fred App", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.9 / Titanium Studio, build: 3.1.3.201309132423 ", "comment": { "comments": [ { "id": "281800", "author": { "name": "fred", "key": "fred", "displayName": "Fred App", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Nobody for help me please ? :(", "updateAuthor": { "name": "fred", "key": "fred", "displayName": "Fred App", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-28T22:12:52.000+0000", "updated": "2013-11-28T22:12:52.000+0000" }, { "id": "281807", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThere is sample available in github that works for me. Can you lease visit this [Drag and Drop Link|https://gist.github.com/rakhimonimitro/7509271]. Please let us know if this solves your issue.\r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-29T04:22:45.000+0000", "updated": "2013-12-06T19:41:45.000+0000" }, { "id": "285615", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fred] Please let us know if you got a chance to try the code available in the link above and if you can still reproduce the issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-23T03:50:39.000+0000", "updated": "2013-12-23T03:50:39.000+0000" }, { "id": "286179", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking this \"Cannot reproduce\" since we could not reproduce it. We have not heard back from the original reporter either. A sample has been posted. If you can send us your sample, we will try to reproduce it again.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T19:48:00.000+0000", "updated": "2013-12-29T19:48:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }