{ "id": "114859", "key": "TIMOB-13967", "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": "15116", "description": "2013 Sprint 11 BB", "name": "2013 Sprint 11 BB", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "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-05-24T21:06:26.000+0000", "created": "2013-05-23T19:01:45.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "blackberry", "qe-testadded", "sdk-bb" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-26T10:48:50.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create an app for BB with the code below:\r\n{code}\r\n\r\nvar win = Titanium.UI.createWindow();\r\n \r\nvar scroll = Ti.UI.createScrollView({\r\n backgroundColor: '#ccc',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n layout: 'vertical',\r\n \r\n});\r\n \r\nfunction MyButton(title) {\r\n return Ti.UI.createButton({\r\n title: title,\r\n top: 10\r\n });\r\n}\r\n \r\nfor(var i = 0; i < 100; i++) {\r\n scroll.add(MyButton('Button #' + (i + 1))); \r\n}\r\n \r\nwin.add(scroll);\r\nwin.open();\r\n{code}\r\n2. Build & run it on a BB device.\r\n3. Immediately after the app launches & you see the scrollview touch & try to scroll the scroll view. (make sure this happens before all the layout is complete)\r\n\r\nActual results:\r\n1. The layout crashes & the scroll view does not scroll anymore\r\n2. If you wait for the whole layout to complete & then touch the scroll view then everything works fine\r\n\r\nExpected Results:\r\n1. The layout should not crash", "attachment": [], "flagged": false, "summary": "BlackBerry : Layout crashes if we touch the views before it finishes laying out the whole layout", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130522190722\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "comment": { "comments": [ { "id": "253916", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created pull request [#56|https://github.com/appcelerator/titanium_mobile_blackberry/pull/56] for master.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T19:52:36.000+0000", "updated": "2013-05-24T19:52:36.000+0000" }, { "id": "254308", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix and the scroll view does not lockup when touched before it finishes rendering the controls.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130524180421\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-28T17:29:55.000+0000", "updated": "2013-05-28T17:29:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }