{ "id": "154008", "key": "TIMOB-20177", "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": "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": "2019-11-13T22:30:28.000+0000", "created": "2015-12-23T00:09:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "Label", "ScrollView" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-11-13T22:30:28.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": "After 13k characters the label don't appear\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:javascript}\r\nvar labelLength = 1000;\r\n\r\nsetInterval(function() {\r\n console.log(labelLength);\r\n $.label.text = Array(labelLength).join(\"a\");\r\n labelLength += 1000;\r\n}, 1000);\r\n\r\n$.index.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Label inside Scrollview is not show after certain amount of characters", "creator": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS X El Capitan 10.11.2\r\nXCode 7.2\r\niPhone Simulator 6s Plus / iOS 9.2\r\nTi SDK 5.1.1.GA", "comment": { "comments": [ { "id": "373445", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, This is a valid bug in Scrollview with Label. The label doesn't show inside a scrollview when the label character exceeds 13k. I have tested the reported sample code in SDK 5.1.1.GA with iOS 9.1. I have observed the same result. The label vanishes when the character length exceeds 13k. I tried to test the behavior without the scrollview and the I saw that it works. The label doesn't vanishes. So it's a bug in scrollview to limit the label character.\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor('#FFF');\r\nvar window = Ti.UI.createWindow();\r\nvar Name = Ti.UI.createLabel();\r\nvar CallBtn = Ti.UI.createButton({\r\n title : \"Test\",\r\n bottom : 50,\r\n});\r\nCallBtn.addEventListener('click', function(e) {\r\n var labelLength = 1000;\r\n setInterval(function() {\r\n console.log(labelLength);\r\n Name.text = Array(labelLength).join(\"a\");\r\n labelLength += 1000;\r\n }, 1000);\r\n});\r\nwindow.add(Name);\r\nwindow.add(CallBtn);\r\nwindow.open();\r\n{code}\r\n\r\nh5. My Environment\r\n\r\nOS X El Capitan 10.11.2\r\nXCode 7.1\r\niPhone Simulator 6s Plus / iOS 9.1\r\nTi SDK 5.1.1.GA\r\n\r\nThanks.\r\n\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-23T06:23:49.000+0000", "updated": "2015-12-23T06:23:49.000+0000" }, { "id": "373459", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This happens only on iOS", "updateAuthor": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-23T16:19:21.000+0000", "updated": "2015-12-23T16:19:21.000+0000" }, { "id": "373555", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any known workarounds?", "updateAuthor": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-28T16:03:25.000+0000", "updated": "2015-12-28T16:03:25.000+0000" }, { "id": "373557", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Possible workaround: Split the text in multiple labels. \r\nHaving multiple labels with less than 13k characters inside the scrollview does not cause the bug\r\nOne note: it appears that the bug is not about character limit, but size of the label. If you have a lower font size, its possible to have more than 13k characters without the label vanishing", "updateAuthor": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-28T16:51:23.000+0000", "updated": "2015-12-28T16:51:23.000+0000" }, { "id": "452651", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce. I stopped after 28000.\r\n\r\nAxway Appcelerator Studio, build: 5.1.4.201909061933 \r\nmacOS : 10.15\r\nNode.js Version : 8.9.1\r\nnpm Version : 5.5.1\r\nAppcelerator CLI : 7.1.1\r\nTitanium CLI\r\nCLI Version : 5.2.1\r\nnode-appc Version : 0.2.49\r\nTitanium SDKs : 8.2.1.GA", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-13T22:30:28.000+0000", "updated": "2019-11-13T22:30:28.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }