{ "id": "115501", "key": "TIMOB-14118", "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": "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": "2014-04-07T23:51:42.000+0000", "created": "2013-06-05T05:49:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.1" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-27T20:51:41.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 supressed by touchstart event when invoked together.\r\nThis is not regression since the issue occurs in 3.1.0 GA as well.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. click on the video.\r\n\r\nExpected:\r\nConsecutive alerts should alert 'click' and 'touchstart' events.\r\n\r\nActual:\r\nOnly 'touchstart' event is invoked.\r\n\r\n{code}\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar 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\t videoObject.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\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Media - Click event is supressed by touchstart event when invoked together", "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.1.v20130604110432\r\nAppcelerator Studio: 3.1.1.201306041845\r\nOS: OSX 10.7.5\r\nDevice:iPhone5(6.0)\r\nXcode: 4.6", "comment": { "comments": [ { "id": "300150", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking Ticket as Cannot Reproduce. This could have been a issue long time back. \n\nTested with following Test code. \n{code}\nTitanium.UI.setBackgroundColor('#000');\n \n \nvar win1 = Titanium.UI.createWindow({ \n title:'Tab 1',\n backgroundColor:'#fff'\n});\n \nvar videoObject = Titanium.Media.createVideoPlayer({\n url:'movie.mp4',\n scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,\n top:0,\n left:0,\n height:'100%',\n width:'100%',\n autoplay:true\n });\n \nvideoObject.addEventListener('click', function(){\n Ti.API.info('click!');});\n\t\nvideoObject.addEventListener('touchstart', function(){\n Ti.API.info('touchstart!');\n});\n \nwin1.add(videoObject);\nwin1.open();\n{code}", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-07T23:51:31.000+0000", "updated": "2014-04-07T23:51:31.000+0000" }, { "id": "415933", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T20:51:41.000+0000", "updated": "2017-03-27T20:51:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }