{ "id": "124860", "key": "TIMOB-16204", "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": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15824", "description": "2014 Sprint 02 Core", "name": "2014 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-21T18:55:37.000+0000", "created": "2014-01-16T07:09:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_scrollView", "qe-3.2.1", "qe-testadded", "regression", "triage" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-22T21:13:08.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": "Android: ScrollView: App crashes while scrolling horizontally having views and webviews in scrollview\r\nThis is regression. It is reproducible on SDK: 3.2.0.GA as well. It works fine on SDK:3.1.3.GA\r\n\r\nSteps to reproduce:\r\n1. Run the app.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\nvar scrollView = Titanium.UI.createScrollView({\r\n\t\t contentHeight : 'auto',\r\n\t\t layout : 'horizontal',\r\n\t\t horizontalWrap: 'false',\r\n\t\t backgroundColor : 'transparent',\r\n\t\t scrollType : 'horizontal'\r\n\t\t});\r\n\t\t \r\n\t\t//Add to scrollView\r\n\t\tfor (var i = 0; i < 20; i++) {\r\n\t\t scrollView.add(Titanium.UI.createView({\r\n\t\t height : 85,\r\n\t\t width : 50,\r\n\t\t backgroundColor : 'blue',\r\n\t\t left : 10,\r\n\t\t borderRadius : 6\r\n\t\t }));\r\n\t\t \r\n\t\t}\r\n\t\t \r\n\t\t//Add webView -- causes scrollView to scroll down\r\n\t\tvar webView = Ti.UI.createWebView({\r\n\t\t touchEnabled : false,\r\n\t\t showScrollbars : false,\r\n\t\t scrollType : 'vertical',\r\n\t\t willHandleTouches : false,\r\n\t\t backgroundColor : 'red',\r\n\t\t scrollable : false,\r\n\t\t left : 10,\r\n\t\t height : 40\r\n\t\t});\r\n\t\t \r\n\t\tscrollView.add(webView);\r\n\t\t \r\n\t\twin.add(scrollView);\r\n\t\twin.open();\r\n\r\n{code}\r\n\r\n2. Scroll horizontally \r\n\r\nExpected:\r\nShould see a webView with red rectangle\r\n\r\nActual:\r\nApp crashes on scrolling", "attachment": [], "flagged": false, "summary": "Android: ScrollView: App crashes while scrolling horizontally having views and webviews in scrollview", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : Google Nexus 7, Android Version: 4.4.2\r\nSDK: 3.2.1.v20140114125643\r\nCLI version : 3.2.1-beta\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.1-beta2\r\nACS: 1.0.11\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.1.201401091743\r\ntitanium-code-processor: 1.1.0\r\nXCode : 5.0.2", "comment": { "comments": [ { "id": "288944", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/5240\n3_2_X: https://github.com/appcelerator/titanium_mobile/pull/5241", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T01:39:37.000+0000", "updated": "2014-01-21T01:39:37.000+0000" }, { "id": "289165", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9.1\nAppcelerator Studio, build: 3.2.1.201401201818\nTitanium SDK, build: 3.2.1.v20140121132444\nCLI: 3.2.1 (git://github.com/appcelerator/titanium.git#3_2_X)\nAndroid Emulator: 2.3.3\n\nScrolling horizontally did not crash or freeze the app.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T00:40:51.000+0000", "updated": "2014-01-22T00:40:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }