{ "id": "112243", "key": "TIMOB-13407", "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": "15486", "description": "2013 Sprint 10 API", "name": "2013 Sprint 10 API", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-15T23:19:26.000+0000", "created": "2013-04-05T07:26:16.000+0000", "priority": null, "labels": [ "android", "module_webview", "qe-testadded", "swipe", "webview" ], "versions": [], "issuelinks": [ { "id": "27374", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "112244", "key": "AC-2606", "fields": { "summary": "Android: WebView 'swipe' event is not getting triggered", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2013-10-10T08:58:03.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": "*Problem*\r\nThe 'swipe' event for the WebView has been registered but when the swipe event is done, it is not getting triggered. If it is changed from WebView to Window, then the gesture is getting detected, but the same is not hapenning in WebView.\r\n\r\n*Steps to Reproduce*\r\n1. Copy and paste code into app.js\r\n2. try to swipe, notice no event triggered.\r\n\r\n{code}\r\nvar currentWindow = Ti.UI.createWindow({\r\n exitOnClose : true\r\n});\r\n \r\nvar webview = Ti.UI.createWebView({\r\n url : 'http://google.co.in'\r\n});\r\n \r\nwebview.addEventListener('swipe',function(e) {\r\n\talert('<>');\r\n});\r\n \r\ncurrentWindow.add(webview);\r\ncurrentWindow.open();\r\n{code}\r\n\r\nDoc Supported: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.WebView-event-swipe", "attachment": [], "flagged": false, "summary": "Android: WebView 'swipe' event is not getting triggered", "creator": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS : Mac OSX 10.7\r\nTitanium Studio : 3.0.2.201302191606\r\nMobile SDK : 3.0.2GA\r\nPlatform : Android 4.2.2, 4.0.4, 2.2, 4.1.2\r\n", "comment": { "comments": [ { "id": "249005", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "This is also not working in 3.1.0GA", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2013-04-25T08:00:18.000+0000", "updated": "2013-04-25T08:00:18.000+0000" }, { "id": "251252", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Made sure that we call the gestureDetector handling in onTouchEvent as we do in TiUIView. The handler is reused from the parent.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4249", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-10T06:55:30.000+0000", "updated": "2013-05-10T06:55:30.000+0000" }, { "id": "274569", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310092427\r\nSdk:3.2.0.v20131009134844\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),ipodTouch1(v7.0)\r\nXcode: 5\r\n\r\nSwipe event on webview is triggered successfully.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-10T08:55:56.000+0000", "updated": "2013-10-10T08:55:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }