{ "id": "151137", "key": "TIMOB-19502", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-14T17:42:47.000+0000", "created": "2015-09-12T15:19:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "48971", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150659", "key": "TIMOB-19401", "fields": { "summary": "Windows: Missing events for Ti.UI.View", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-09-25T16:52:07.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "attachment": [], "flagged": false, "summary": "Windows: wrong behavior for touch events", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 492, "state": "closed", "name": "2015 Sprint 19 Windows", "startDate": "2015-09-13T04:01:57.811Z", "endDate": "2015-09-26T03:59:00.000Z", "completeDate": "2015-09-25T17:02:02.836Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "364688", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc Core 5.0.2-19\r\nAppc NPM 4.2.0\r\nTi SDK 5.0.1.v20150922104152\r\nNokia Lumia 930 8.1\r\n\r\nUsing the code below the touchstart and touchend events are now fired and the longpress event is only fired once\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'blue' });\r\n \r\nvar lpview = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: 100, height:100,\r\n top: 10\r\n});\r\n \r\n \r\nlpview.addEventListener('longpress', function(e){\r\n\tconsole.log('You longpressed me!');\r\n\tconsole.log(JSON.stringify(e));\r\n});\r\n \r\nvar touchview = Ti.UI.createView({\r\n backgroundColor: 'purple',\r\n width: 100, height:100,\r\n top: 150\r\n});\r\n \r\n \r\ntouchview.addEventListener('touchstart', function(e){\r\n\tconsole.log('You touchstart me!');\r\n\tconsole.log(JSON.stringify(e));\r\n});\r\n \r\ntouchview.addEventListener('touchend', function(e){\r\n\tconsole.log('You touchend me!');\r\n\tconsole.log(JSON.stringify(e));\r\n});\r\n \r\nwin.add(lpview);\r\nwin.add(touchview);\r\n \r\nwin.open()\r\n{code}\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-09-22T19:33:19.000+0000", "updated": "2015-09-22T19:33:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }