{ "id": "123281", "key": "AC-2325", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-12-15T18:12:24.000+0000", "created": "2013-12-05T17:28:17.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:20.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Titanium version: 3.1.1\r\n\r\nIssue: On Android 4.1+, Views with height > 699 within the ScrollView are not displayed\r\n\r\nh4. Steps to reproduce:\r\n- Set ti.ui.defaultunit property on tiapp.xml to \"dip\"\r\n- Create a scrollView with the following properties:\r\nlayout: \"vertical\",\r\ncontentWidth: \"auto\",\r\ncontentHeight: \"auto\"\r\n- Add some Views to it.\r\n- Add a tableView (or a regular View) to it and make it grow until its height is higher than 699.\r\n\r\nh4. Observed Result:\r\n- The big view disappears from the scrollView\r\n\r\nh4. Observations:\r\n- The issue does not reproduce on Android 4.0 and below.\r\n- If we set the property: android:hardwareAccelerated=\"false\" within the tag in tiapp.xml, the issue does not reproduce.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "ScrollView issue: On Android 4.1+, Views with height > 699 within the ScrollView are not displayed", "creator": { "name": "athilahs@gmail.com", "key": "athilahs@gmail.com", "displayName": "Athila Santos", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "athilahs@gmail.com", "key": "athilahs@gmail.com", "displayName": "Athila Santos", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "283029", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue the test code below. We can’t reproduce this issue. In our sample code, we have used all properties that you mentioned. Please let us know if you notice anything different. We will mark this \"resolved\" but wait for your feedback before closing this. Please keep us posted.\r\n\r\nRegards,\r\n\r\nh5. Testing Environment: \r\n\r\nOS: MAC OS X 10.8.5\r\nTi SDK: 3.1.3 GA \r\nTi CLI: 3.3.0\r\nAndroid Device/Emulator\r\nAndroid SDK 4.2.2\r\n\r\n\r\n\r\nh5. Test Code \r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white',\r\n exitOnClose : true,\r\n fullscreen : false,\r\n title : 'ScrollView Demo'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n contentWidth : 'auto',\r\n contentHeight : 'auto',\r\n layout : 'vertical',\r\n\r\n});\r\nwin.add(scrollView);\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n minRowHeight : 80\r\n});\r\nscrollView.add(tableView);\r\nvar data = [];\r\n\r\nfunction makeid() {\r\n var text = \"\";\r\n var possible = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\r\n\r\n for (var i = 0; i < 5; i++)\r\n text += possible.charAt(Math.floor(Math.random() * possible.length));\r\n\r\n return text;\r\n}\r\n\r\nfor (var i = 0, j = 100; i < j; i++) {\r\n data.push({\r\n title : ' Random Text: ' + makeid()\r\n });\r\n\r\n};\r\n\r\ntableView.setData(data);\r\n\r\ntableView.addEventListener('click', function(e) {\r\n\r\n alert(tableView.getHeight());\r\n});\r\n\r\nwin.open();\r\n\r\n{code} \r\n\r\n\r\nh5. Step to reproduces\r\n# Create a new project\r\n# Paste test code in app.js\r\n# Set ti.ui.defaultunit property on tiapp.xml to \"dip\"\r\n# Android Device/Emulator \r\n# TableView will displayed \r\n\r\n\r\nThanks\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-07T06:03:16.000+0000", "updated": "2013-12-10T18:11:24.000+0000" }, { "id": "283571", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~athilahs]We tried to replicate the problem based on your description and were not able to reproduce it with the sample code and steps listed above. Can you please try out this sample code and see if the problem still exist?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T18:11:49.000+0000", "updated": "2013-12-12T00:27:24.000+0000" }, { "id": "284203", "author": { "name": "athilahs@gmail.com", "key": "athilahs@gmail.com", "displayName": "Athila Santos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Ritu.\r\nI can see that you used a different SDK in your tests. Could you please try it again using the 3.1.1 SDK? Is it possible that this issue is fixed in the Titanium 3.1.3 ?\r\n\r\nThanks\r\nAthila", "updateAuthor": { "name": "athilahs@gmail.com", "key": "athilahs@gmail.com", "displayName": "Athila Santos", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-13T13:02:00.000+0000", "updated": "2013-12-13T13:02:18.000+0000" }, { "id": "284217", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~athilahs@gmail.com] We highly recommend that you use Titanium 3.1.3 as it has many more fixes and features. We were not able to reproduce this issue with 3.1.3 SDK so please upgrade and let us know if the issue persists.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-13T17:24:46.000+0000", "updated": "2013-12-15T18:11:29.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }