{ "id": "61399", "key": "TIMOB-767", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-04T08:45:05.000+0000", "created": "2011-04-15T02:35:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity" ], "versions": [], "issuelinks": [ { "id": "16061", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "61400", "key": "TIMOB-768", "fields": { "summary": "Android: Missing Gesture Two Finger Tap", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-05-17T08:23:38.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": "{html}

See \r\nQ&A

{html}\r\n\r\nh2. Test Case\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff',\r\n\tfullscreen: false,\r\n\texitOnClose: true\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor: '#a00',\r\n\theight:200,\r\n\twidth:200\r\n});\r\nwin.add(view);\r\n\r\nview.addEventListener('swipe', function(e) {\r\n\talert(e.direction);\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Missing Swipe Gesture", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123976", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Note, this is similar to #767 and #768

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:57.000+0000", "updated": "2011-04-15T02:35:57.000+0000" }, { "id": "123977", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

/sigh, I meant #768 and #1703

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:58.000+0000", "updated": "2011-04-15T02:35:58.000+0000" }, { "id": "123978", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Closed #1703 as duplicate. #768 is for\ntwo finger tap, so leaving it open as it's a separate item.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:58.000+0000", "updated": "2011-04-15T02:35:58.000+0000" }, { "id": "123979", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The swipe gesture is only available on ScrollableView at this\ntime.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:58.000+0000", "updated": "2011-04-15T02:35:58.000+0000" }, { "id": "123980", "author": { "name": "jj", "key": "jj", "displayName": "jj", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Swipe event does not fire in 1.5.1 on scrollableview for\nAndroid.

{html}", "updateAuthor": { "name": "jj", "key": "jj", "displayName": "jj", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:58.000+0000", "updated": "2011-04-15T02:35:58.000+0000" }, { "id": "123981", "author": { "name": "skypanther1", "key": "skypanther1", "displayName": "skypanther", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any updates? Swipe still doesn't fire on views or windows with\n1.5.1 or 1.6 CI.

\n
\nvar swiped = 'none';\nwin.addEventListener('swipe', function(e){\n    Ti.API.info('swiping '+e.direction+' by '+e.source);\n    if (e.direction != swiped) {\n        Ti.API.info('now we should be swiping '+e.direction);\n        swiped = e.direction;\n        if (e.direction == 'left') {\n            //stuff\n            nextTab();\n        }\n        else \n            if (e.direction == 'right') {\n                //stuff\n                previousTab();\n            }\n    }\n    setTimeout(function() {\n        swiped = 'none';\n        },2000);\n});\n
{html}", "updateAuthor": { "name": "skypanther1", "key": "skypanther1", "displayName": "skypanther", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:59.000+0000", "updated": "2011-04-15T02:35:59.000+0000" }, { "id": "123982", "author": { "name": "the3dguy", "key": "the3dguy", "displayName": "the3dguy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any word on when this will be fixed? Swiping is really important\non mobile. I'm using 1.5.1 and swiping is not working for a view,\nwebview, imageview, or scrollableview

{html}", "updateAuthor": { "name": "the3dguy", "key": "the3dguy", "displayName": "the3dguy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:59.000+0000", "updated": "2011-04-15T02:35:59.000+0000" }, { "id": "123983", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Workaround

\n

Here is a workaround: https://gist.github.com/841075

\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/75391

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T02:35:59.000+0000", "updated": "2011-04-15T02:35:59.000+0000" }, { "id": "181819", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Submitted a pull request for native handling of swipe events, both horizontal and vertical, on Android views: [PR #1350|https://github.com/appcelerator/titanium_mobile/pull/1350]", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-04T20:40:43.000+0000", "updated": "2012-02-04T20:41:34.000+0000" }, { "id": "181953", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:36:25.000+0000", "updated": "2012-02-06T06:36:25.000+0000" }, { "id": "182927", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug still occurs in: \r\nTitanium SDK version: 1.9.0.v20120207124634\r\nJavascript Engine: Rhino\r\nPlatform & version/Device details: Android 3.1/LG-V909; Android 4.0.2/Galaxy Nexus; Android 2.3.4/HTC T-mobile; Android 3.2/Samsung GT-P7510\r\nTitanium Studio version: 1.0.8.201201262211 ", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-13T11:00:18.000+0000", "updated": "2012-02-13T11:00:18.000+0000" }, { "id": "188502", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/1835 (a good one this time)", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T07:05:54.000+0000", "updated": "2012-03-25T07:05:54.000+0000" }, { "id": "197445", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding environment info-\r\nTested with Titanium SDK: 2.1.0.v20120605190238\r\nTested with Titanium Studio: 2.1.0.201206041625\r\nDevice - Android 2.2 and 4.0 Galaxy nexus\r\nAndroid runtime - V8", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-05T23:01:55.000+0000", "updated": "2012-06-05T23:01:55.000+0000" }, { "id": "252537", "author": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "'swipe' is fired, but properties as 'row','index' are missing in the event. but in the document, it says 'swipe' event of the tableview has row/index properties.\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableView-event-swipe\r\n\r\ntableView.addEventListener('swipe',function(e){\r\n // e.row or e.index are not available for android.\r\n});", "updateAuthor": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T08:23:37.000+0000", "updated": "2013-05-17T08:23:37.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }