{ "id": "91876", "key": "TIMOB-9137", "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": "13407", "description": "Sprint 2012-11 API", "name": "Sprint 2012-11 API", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-29T11:36:43.000+0000", "created": "2012-05-15T15:16:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "ipass1", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:01:59.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Issue\r\nAs the title\r\n\r\nh6.Tested on\r\niOS simulator\r\n\r\nh6.Expected behavior\r\nPull down to refresh works in Titanium SDKs 2.0.x\r\n\r\nh6.Current behavior\r\nPull down to refresh doesn't works in Titanium SDKs 2.1.x\r\n\r\nh6.Steps to reproduce\r\n1. Run Kitchen Sink demos\r\n2. Go to sample: Base UI tab > Views > TableViews > Pull to refresh \r\n\r\nh6.Titanium SDK version: 2.0.2 (05/10/12 22:31 82d3920)\r\n{code}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 2.0.2 (05/10/12 22:31 82d3920)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Performing full rebuild. This will take a little bit. Hold tight...\r\n[INFO] Skipping JS compile, running from simulator\r\n[WARN] The project seems to be having custom info.plist which does not contain the `CFBundleShortVersionString` key\r\n[INFO] Generating the missing `CFBundleShortVersionString` key\r\n[INFO] Detected compiler plugin: ti.log/0.1\r\n[INFO] Compiler plugin loaded and working for ios\r\n[INFO] Performing clean build\r\n[INFO] Compiling localization files\r\n[INFO] Detected custom font: comic_zine_ot.otf\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (31.21 seconds)\r\n[INFO] Application started\r\n[INFO] KitchenSink/1.0 (2.0.2.v20120510223154.82d3920)\r\n[INFO] Welcome to Kitchen Sink for Titanium/2.0.2\r\n{code}\r\n\r\nh6.Titanium SDK version: 2.1.0 (05/02/12 17:33 85e7af3)\r\n{code}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 2.1.0 (05/02/12 17:33 85e7af3)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Performing full rebuild. This will take a little bit. Hold tight...\r\n[INFO] Skipping JS compile, running from simulator\r\n[WARN] The project seems to be having custom info.plist which does not contain the `CFBundleShortVersionString` key\r\n[INFO] Generating the missing `CFBundleShortVersionString` key\r\n[INFO] Detected compiler plugin: ti.log/0.1\r\n[INFO] Compiler plugin loaded and working for ios\r\n[INFO] Performing clean build\r\n[INFO] Compiling localization files\r\n[INFO] Detected custom font: comic_zine_ot.otf\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (35.35 seconds)\r\n[INFO] Application started\r\n[INFO] KitchenSink/1.0 (2.1.0.v20120502173348.85e7af3)\r\n[INFO] Welcome to Kitchen Sink for Titanium/\r\n{code}\r\n\r\nh6.contentOffset\r\nhttp://docs.appcelerator.com/titanium/2.0/index.html#!/api/Titanium.UI.TableView-event-scrollEnd", "attachment": [ { "id": "27706", "filename": "Pull2Refresh.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-15T15:17:31.000+0000", "size": 57841, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: TableView scroll event contentOffset returning 0", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "- Product: Mobile\r\n- Titanium SDK: Mobile 2.0.1, 2.0.2, 2.1.0\r\n- Platform OS: iOS\r\n- Platform OS Version: 4.x & 5.x", "comment": { "comments": [ { "id": "195553", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "I just discovered the bug independently, exactly as described here. Thanks for raising it.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-21T17:10:57.000+0000", "updated": "2012-05-21T17:10:57.000+0000" }, { "id": "196201", "author": { "name": "pennadl", "key": "pennadl", "displayName": "stefano di luca", "active": true, "timeZone": "America/Los_Angeles" }, "body": "same problem, when touchEnd is fired with the tableView scrolled down the \"e.contentOffset.y\" report a value of 0.\r\nAlso the scroll event continue to run after the tableView is released and return to top.\r\n\r\n{code} \r\ntable_view.addEventListener('scroll', function(e) {\r\n var offset = e.contentOffset.y;\r\n if(offset <= -65.0 && !pulling) {\r\n var t = Ti.UI.create2DMatrix();\r\n t = t.rotate(-180);\r\n\r\n //**** WHEN offset BECOME <= -65 PULLING IS CORRECTLY SET TO TRUE\r\n pulling = true;\r\n\r\n arrow.animate({\r\n transform : t,\r\n duration : 180\r\n });\r\n \r\n }else if(pulling && offset > -65.0 && offset < 0) {\r\n\r\n //**** IF TABLEVIEW IS RELEASED WITH offset <= -65 PULLING ASSUME FALSE*\r\n //**** THIS ONLY HAPPEN IN 2.1.0*\r\n pulling = false;\r\n\r\n var t = Ti.UI.create2DMatrix();\r\n arrow.animate({\r\n transform : t,\r\n duration : 180\r\n });\r\n\r\n }\r\n }\r\n});\r\n{code}\r\n\r\nAny new on this??\r\nThank you", "updateAuthor": { "name": "pennadl", "key": "pennadl", "displayName": "stefano di luca", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-27T08:18:36.000+0000", "updated": "2012-05-27T08:22:12.000+0000" }, { "id": "196329", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T11:33:14.000+0000", "updated": "2012-05-29T11:33:14.000+0000" }, { "id": "196331", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing bug as invalid. As this is the new expected behavior.\r\n\r\nTested on iPhone Sim 4.3 and 5.0 on Xcode 4.3 on Titanium SDK 2.1.0 build a04ec8f4e51c915e009222c3e11180a3f04a128c", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T11:36:32.000+0000", "updated": "2012-05-29T11:36:32.000+0000" }, { "id": "414031", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:01:59.000+0000", "updated": "2017-03-20T22:01:59.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }