{ "id": "83778", "key": "TIMOB-6650", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-02-01T17:46:05.000+0000", "created": "2011-12-13T16:59:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14914", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "85335", "key": "TIMOB-7347", "fields": { "summary": "iOS: TextArea - In KS, Scroll Views Text Area test is printing out error messages to the console", "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 } } } }, { "id": "14926", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85852", "key": "TIMOB-7518", "fields": { "summary": "iOS: In KS, Table Views - Inset row is printing out error message to the console ", "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": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:07:14.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": [], "description": "This error shows in the console log when setting the contentOffset of the scrollView in this example\r\n[ERROR] Adding an event listener to a proxy that isn't already in the context.\r\n\r\nIf you comment out the contentOffset in the scroll eventListener, there is no error.\r\n\r\nStep 1: run the code below\r\nStep 2: scroll the view\r\nStep 3: notice the error in the console\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar layer1 = Titanium.UI.createScrollView({\r\n\tzIndex : 1,\r\n\tcontentWidth : 'auto',\r\n\tcontentHeight : 'auto',\r\n\ttop : 0,\r\n\tlayout : 'horizontal',\r\n\tcontentOffset : {\r\n\t\tx : 0,\r\n\t\ty : 0\r\n\t}\r\n});\r\n\r\nvar controlScroll = Titanium.UI.createScrollView({\r\n\tzIndex : 10,\r\n\tcontentWidth : 1000,\r\n\tcontentHeight : 480,\r\n\tshowHorizontalScrollIndicator : true,\r\n\ttop : 0,\r\n\tlayout : 'horizontal'\r\n});\r\ncontrolScroll.addEventListener('scroll', function() {\r\n\tvar x = controlScroll.contentOffset.x;\r\n\tlayer1.contentOffset = {\r\n\t\tx : (x * 1.3)\r\n\t};\r\n})\r\n\r\nfor(var i = 0; i < 10; i++) {;\r\n\tlayer1.add(makeView('blue'));\r\n}\r\n\r\nfunction makeView(color) {\r\n\tvar view = Ti.UI.createView({\r\n\t\tleft : 100,\r\n\t\twidth : 20,\r\n\t\theight : 480,\r\n\t\tbackgroundColor : color\r\n\t});\r\n\r\n\treturn view;\r\n}\r\n\r\nwin.add(layer1);\r\nwin.add(controlScroll);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ScrollView - [ERROR] Adding an event listener to a proxy that isn't already in the context", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.0.1 RC1\r\niOS Simulator 5.0", "comment": { "comments": [ { "id": "181290", "author": { "name": "rogmabi", "key": "rogmabi", "displayName": "Roger Mabillard", "active": true, "timeZone": "America/Montreal" }, "body": "SDK 1.8.1 shows ~ 36 errors - any answer from appcelerator team would be so great", "updateAuthor": { "name": "rogmabi", "key": "rogmabi", "displayName": "Roger Mabillard", "active": true, "timeZone": "America/Montreal" }, "created": "2012-01-31T17:34:36.000+0000", "updated": "2012-01-31T17:34:36.000+0000" }, { "id": "181308", "author": { "name": "stevec", "key": "stevec", "displayName": "Steve Carpenter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm getting this error multiple times after updating to SDK 1.8.1, without contentOffset being involved. App appears to run fine.", "updateAuthor": { "name": "stevec", "key": "stevec", "displayName": "Steve Carpenter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T01:50:38.000+0000", "updated": "2012-02-01T01:50:38.000+0000" }, { "id": "181373", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Running the sample code, I'm seeing the error even if the entire event listener is commented out. So as Steve says, seems unrelated to contentOffset--or even to adding an event listener.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T11:44:06.000+0000", "updated": "2012-02-01T11:44:06.000+0000" }, { "id": "181386", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "I am seeing this error when using a *ScrollableView* -- it fires each time I switch between child views while running the app. Behavior started with the 1.8.1 builds (first build tried 1.8.1.v20120123161633)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-01T12:35:20.000+0000", "updated": "2012-02-01T12:35:20.000+0000" }, { "id": "181423", "author": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug is scheduled for the 1.9 release which is slated for end of March. Should show up in the CI build earlier. Please watch the status of this bug switch to \"Resolved\" if you want to verify. It will be fixed when the status is marked \"Closed\".", "updateAuthor": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T17:36:03.000+0000", "updated": "2012-02-01T17:36:03.000+0000" }, { "id": "181425", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-7347.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T17:46:05.000+0000", "updated": "2012-02-01T17:46:05.000+0000" }, { "id": "182860", "author": { "name": "adnzouaoui", "key": "adnzouaoui", "displayName": "zouaoui adnene", "active": true, "timeZone": "America/Los_Angeles" }, "body": "any solution to this problem ? our application can be rejected by Appel ? \r\nthanks !", "updateAuthor": { "name": "adnzouaoui", "key": "adnzouaoui", "displayName": "zouaoui adnene", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-12T06:56:35.000+0000", "updated": "2012-02-12T06:56:35.000+0000" }, { "id": "183010", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "body": "I get this error messages in 1.8.1 when using the scrollTo(X,Y) on a ScrollView. App seems to be working fine. Sounds like this is fixed now?", "updateAuthor": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2012-02-14T04:34:25.000+0000", "updated": "2012-02-14T04:34:25.000+0000" }, { "id": "184537", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should be fixed in 1.8.2.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-28T14:36:02.000+0000", "updated": "2012-02-28T14:36:02.000+0000" }, { "id": "184950", "author": { "name": "matthewlberg", "key": "matthewlberg", "displayName": "Matt Berg", "active": true, "timeZone": "America/Chicago" }, "body": "This does look to be fixed in 1.8.2, but I do see a very similar error/issue when using backgroundGradient in the constructor for Views.", "updateAuthor": { "name": "matthewlberg", "key": "matthewlberg", "displayName": "Matt Berg", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-02T16:00:02.000+0000", "updated": "2012-03-02T16:00:02.000+0000" }, { "id": "414045", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:07:14.000+0000", "updated": "2017-03-20T22:07:14.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }