{ "id": "113490", "key": "TIMOB-13699", "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": "15498", "description": "2013 Sprint 12 API", "name": "2013 Sprint 12 API", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "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-06-17T22:56:24.000+0000", "created": "2013-04-29T11:35:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "29985", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "113751", "key": "TIMOB-13752", "fields": { "summary": "Android: ListView missing events", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-06-19T12:42: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem description\r\nThe ListView on Android does not fire the pinch event.\r\n\r\nh2. Steps to reproduce\r\nUse the following code to reproduce the issue:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar section = Ti.UI.createListSection({\r\n\theaderTitle: 'Test',\r\n\titems: [{properties: {title: 'Apple'}}]\r\n});\r\n\r\nvar listView = Ti.UI.createListView({\r\n\tsections: [section]\r\n});\r\n\r\nlistView.addEventListener('pinch', function(e) {\r\n\talert(e);\r\n});\r\n\r\nwin.add(listView);\r\nwin.open();\r\n{code}\r\n\r\nPinch event is not fired on Android, while it works fine on iOS.", "attachment": [], "flagged": false, "summary": "Android: ListView does not fire the 'pinch' event", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 4.2\r\nSDK 3.1.0", "comment": { "comments": [ { "id": "252939", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Note: the event does not also bubble to the parent view.", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-05-20T22:19:44.000+0000", "updated": "2013-05-20T22:19:44.000+0000" }, { "id": "254208", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Override registerForTouch to use the ListView instead of the container to handle the ListView touch events\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4334", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-28T08:58:42.000+0000", "updated": "2013-05-28T08:58:42.000+0000" }, { "id": "263499", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "backport PR: https://github.com/appcelerator/titanium_mobile/pull/4504", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T21:12:52.000+0000", "updated": "2013-07-26T21:12:52.000+0000" }, { "id": "266720", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. Now we get the pinch event.\r\nThus closing\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308091728\r\nTi SDK : 3.1.2.v20130814124556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-beta\r\nCLI - 3.1.2-alpha\r\nandroid 4.2.2", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T18:45:21.000+0000", "updated": "2013-08-15T18:45:21.000+0000" }, { "id": "266724", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified fix with:\nTitanium Studio, build: 3.1.2.201308091617\nTitanium SDK, build: 3.1.2.v20130814124556\nAlloy: 1.2.0-beta\nCLI: 3.1.2-alpha\nDevice:\nNexus7(2) Android version 4.3\n\nListView does fire the \"pinch\" event", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T18:51:52.000+0000", "updated": "2013-08-15T18:51:52.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }