{ "id": "128537", "key": "TIMOB-16792", "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-08-29T09:40:17.000+0000", "created": "2014-04-01T01:40:31.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.3" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "36335", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92050", "key": "TIMOB-9183", "fields": { "summary": "iOS: Swipe event does not work for up and down", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:02:23.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": "*Details:* On Android 4.X, if you swipe on a Ti.UI.View, it will be difficult to trigger the swipe event and, if the swipe event does get triggered, the direction will not be reported correctly.\r\n\r\n*Note:*\r\n1. This is *not* a regression as this occurs in SDK 3.2.2.GA\r\n2. This occurs only on a 4.X device; on the Droid 3 (2.3.4), the swipe event can be easily triggered and reports the correct direction\r\n3. Cannot reproduce this issue on iOS\r\n\r\n*Steps to reproduce:*\r\n1. Install and launch the following app.js code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n width: Ti.UI.FILL,\r\n heigh: Ti.UI.FILL\r\n});\r\n \r\nwin.add(view);\r\n \r\nview.addEventListener('swipe', function(e){\r\n alert(e);\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\n2. Try to swipe up, down, left or right\r\n\r\n*Actual:* There will be difficulty triggering the swipe event. If you do trigger the swipe event, the direction will be reported incorrectly; see swipe_left.png (reported right) and swipe_down.png (reported up).\r\n \r\n*Expected:* Should be able to trigger the swipe event with ease and the direction should be reported correctly.", "attachment": [ { "id": "46992", "filename": "swipe_down.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-01T01:40:31.000+0000", "size": 60502, "mimeType": "image/png" }, { "id": "46993", "filename": "swipe_left.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-01T01:40:31.000+0000", "size": 60150, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: swipe - On Android 4.X, it is difficult to trigger the swipe event on Ti.UI.View and the direction is reported incorrectly", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.3.201403271839\r\nSDK build: 3.2.2.GA, 3.2.3.v20140328110916 \r\nCLI: 3.2.3-alpha2\r\nAlloy: 1.3.1\r\nDevices: Nexus 4 (4.2), Nexus 4 (4.4)", "comment": { "comments": [ { "id": "299676", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hieu, seems like this might be an important bug, no?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-02T23:37:12.000+0000", "updated": "2014-04-02T23:37:12.000+0000" }, { "id": "320994", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce\r\n\r\nTitanium SDK version 3.4.0 master, 3.3.0.GA, 3.2.3.GA, 3.2.2.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-29T09:40:01.000+0000", "updated": "2014-08-29T09:40:01.000+0000" }, { "id": "414523", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:02:23.000+0000", "updated": "2017-03-21T22:02:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }