{ "id": "84608", "key": "TIMOB-7038", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-17T14:48:16.000+0000", "created": "2012-01-09T14:35:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-16T03:27:05.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Double click or double tap events don't work for a label which is created under a view. \r\nh4. Repro Steps:\r\nCreate a project to include the code below.\r\n\r\n{code}\r\n//app.js\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar myView = Ti.UI.createView({\r\n height:100,\r\n top:50,\r\n width:250,\r\n backgroundColor:'red'\r\n});\r\n\r\nwin.add(myView);\r\n\r\nlabel= Ti.UI.createLabel({\r\n text: 'Double Tap or Double Click me',\r\n color: '#000',\r\n height:100,\r\n width:250,\r\n textAlign:'center'\r\n});\r\n\r\nmyView.addEventListener('dblclick',function(e){\r\n Ti.API.info('Double Click Works!!!!');\r\n alert('Been double clicked');\r\n});\r\n\r\nmyView.addEventListener('doubletap',function(e){\r\n Ti.API.info('Double Tap Works!!!!');\r\n alert('Been double tapped');\r\n});\r\n\r\nmyView.add(label);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Double click or double tap events don't work for a label which is created under a view", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android Emulator 2.3.3 both V8 and Rhino", "comment": { "comments": [ { "id": "195209", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on a Samsung Galaxy S2, unable to reproduce the issue. Ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-17T14:48:16.000+0000", "updated": "2012-05-17T14:48:16.000+0000" }, { "id": "207647", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Environment used for verification -\r\nTested with Titanium SDK: 2.1.1.v20120712160111,2.0.1GA2\r\nTested with Titanium  Studio: 2.1.1.201207121732\r\nDevice - Android Emulator 2.3.3, Samsung Galaxy Note\r\nMachine OS - MAC 10.7.3\r\n\r\nUnable to reproduce it.So,closing this ticket.", "updateAuthor": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-07-16T03:27:05.000+0000", "updated": "2012-07-16T03:27:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }