{ "id": "111825", "key": "TIMOB-13238", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-28T18:25:21.000+0000", "created": "2013-03-28T11:10:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.1.0", "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T22:15:31.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": "Click event is not registered.\r\nThis is Regression since the issue does not occur on 3.0.2 GA.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the test app and tap on the screen.\r\n\r\nActual:\r\nTouchstart event is registered and an alert for the same is popped up but click event is not registered. \r\n\r\nExpected:\r\nClick even should be registered and the alert for the same should be popped up.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n \r\n\t\tvar videoObject = Titanium.Media.createVideoPlayer({\r\n\t\t contentURL:'movie.mp4',\r\n\t\t scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,\r\n\t\t top:0,\r\n\t\t left:0,\r\n\t\t height:'100%',\r\n\t\t width:'100%',\r\n\t\t autoplay:true\r\n\t\t});\r\n\t\t \r\n\t\tvideoObject.addEventListener('click', function(){\r\n\t\t alert('click!');});\r\n\t\t \r\n\t\tvideoObject.addEventListener('touchstart', function(){\r\n\t\t alert('touchstart!');\r\n\t\t});\r\n\t\t\r\n\t\twin1.add(videoObject);\r\n\t\twin1.open();\r\n\t\t\r\n{code}", "attachment": [ { "id": "36729", "filename": "movie.mp4", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T11:10:42.000+0000", "size": 2549211, "mimeType": "video/mp4" } ], "flagged": false, "summary": "iOS: Media - Click event is not registered", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.1.0.v20130327135307\r\nStudio:3.0.2.201302191606\r\nDevice: iPad mini(v 6.0)\r\nOS: OSX 10.7.5", "comment": { "comments": [ { "id": "244504", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anshu, Please try this with Ti.API.info instead of the Alert. The issue here is that under certain circumstances you will get a touch cancel. The Alert or the window opening may be causing the touch cancel to fire instead of the click. Based on your investigation we will probably end up editing our test cases. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:18:32.000+0000", "updated": "2013-03-28T18:18:32.000+0000" }, { "id": "413296", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:15:31.000+0000", "updated": "2017-03-16T22:15:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }