{ "id": "77337", "key": "TIMOB-4545", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T19:16:48.000+0000", "created": "2011-07-04T12:08:48.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [ { "id": "14627", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "85135", "key": "TIDOC-245", "fields": { "summary": "APIDoc: Some ScrollView Scroll Event properties not supported on Android", "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": null, "updated": "2020-01-09T19:16:48.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": "Accordingly to the Ti SDK 1.7.1 documentation:\r\n\r\nThe \"scroll\" event of a ScrollView should return some properties.\r\n\r\n h5.* decelerating\t\r\n h5.* dragging\t\r\n h5.* globalPoint\r\n h5.* x, y\r\n \r\n{quote}\r\n- Only *x* & *y* properties work fine on both platforms .\r\n\r\n- *decelerating* and *dragging* don't work on Android. They are always been returned as _NULL_\r\n\r\n- *globalPoint* is never displayed on +iOS or Android+\r\n\r\n{quote}\r\n\r\n{code:title=app.js|borderStyle=solid}\r\n var w = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n \r\nvar v = Ti.UI.createView({\r\n backgroundColor:'blue',\r\n borderRadius:10,\r\n width:300,\r\n height:2000,\r\n top:10\r\n});\r\n\r\n\r\nvar s = Ti.UI.createScrollView({\r\n contentHeight: 1000,\r\n showVerticalScrollIndicator:true,\r\n scrollType: \"vertical\",\r\n});\r\n \r\ns.addEventListener('scroll', function(e){\r\n alert(\"decelerating: \" + e.decelerating);\r\n alert(\"dragging: \" + e.dragging);\r\n alert(\"(x, y): 2 + e.x + \", \" + e.y);\r\n alert(\"globalPoint: \"+ e.globalPoint.x +\", \"+ e.globalPoint.y);\r\n});\r\n\r\ns.add(v);\r\nw.add(s);\r\nw.open();\r\n{code} \r\n\r\nh4.Associated Helpdesk Ticket\r\n\r\nhttp://support.appcelerator.com/tickets/APP-575798", "attachment": [], "flagged": false, "summary": "Android: Some ScrollView Scroll Event properties not supported", "creator": { "name": "mvizcaino", "key": "mvizcaino", "displayName": "Miguel Vizcaino", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mvizcaino", "key": "mvizcaino", "displayName": "Miguel Vizcaino", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "h3.Mac iOS, Android, iPhone", "comment": { "comments": [ { "id": "164168", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "globalpoint is being deprecated. Ticket timob-5118.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T11:59:02.000+0000", "updated": "2011-08-26T11:59:02.000+0000" }, { "id": "179879", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Splitting this into an APIDoc bug and a parity bug. Reassigning to Opie for consideration--hope that's OK.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T10:57:39.000+0000", "updated": "2012-01-19T10:57:39.000+0000" }, { "id": "443416", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi guys, dragging & decelerating are still not working for Android. Dragging returns undefined; TiSDK 7.4.1GA. Please look at it, thanks...", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-11-08T13:35:21.000+0000", "updated": "2018-11-08T13:35:21.000+0000" }, { "id": "453561", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case.\r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T19:16:48.000+0000", "updated": "2020-01-09T19:16:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }