{ "id": "171558", "key": "TIMOB-25983", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-09-27T09:27:58.000+0000", "created": "2018-04-23T17:54:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-10-03T04:16:11.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Hello !\r\nTi.UI.createTextArea is not wrapped when there is long text, it just show in single line in windows phone. But it wrapped in android.\r\nTeste code :\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\n\r\nvar controlsHeight = 38 * Ti.App.MultiplyFactor;\r\n\r\nvar win = Ti.UI.createWindow({\r\n\r\nbackgroundColor : 'white',\r\nexitOnClose : true,\r\nfullscreen : false\r\n\r\n});\r\n\r\n\r\n\r\nvar textArea = Ti.UI.createTextArea({\r\n\r\nwidth : Ti.UI.FILL,\r\nbackgroundColor : 'white',\r\ncolor : 'black',\r\nleft : 40,\r\nright : 40,\r\nhintText : 'this is a long hint that is not wrapping in windows version. Not sure what is the problem. All text show in single line instead of multi line. please check'\r\n\r\n});\r\n\r\ntextArea.value = 'this is a long hint that is not wrapping in windows version. Not sure what is the problem. All text show in single line instead of multi line. please check';\r\n\r\nwin.add(textArea);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\nTest Environment:\r\n{code}\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.16299\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 17091956736\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.1.0.GA\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.1.0.GA\r\n Target Platform = windows\r\n{code}\r\n\r\nPlease take a look on attached screenshot.\r\n", "attachment": [ { "id": "65077", "filename": "image-1.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2018-04-23T17:53:48.000+0000", "size": 189851, "mimeType": "image/png" }, { "id": "65076", "filename": "Untitled.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2018-04-23T17:53:52.000+0000", "size": 786522, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows : Ti.UI.TextArea is not wrapped when there is long text, it just show in single line", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.16299\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 17091956736\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.1.0.GA\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.1.0.GA\r\n Target Platform = windows", "closedSprints": [ { "id": 1073, "state": "closed", "name": "2018 Sprint 19 SDK", "startDate": "2018-09-09T21:02:56.422Z", "endDate": "2018-09-23T21:02:00.000Z", "completeDate": "2018-09-23T22:28:10.932Z", "originBoardId": 114 }, { "id": 1078, "state": "closed", "name": "2018 Sprint 20 SDK", "startDate": "2018-09-23T16:57:58.349Z", "endDate": "2018-10-07T16:57:00.000Z", "completeDate": "2018-10-07T23:31:40.476Z", "originBoardId": 114 }, { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437087", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this even on Windows 10 desktop. This is happening because TextArea is not resized when there's is no {{height}} specified. In this case TextArea should assume {{height=Ti.UI.SIZE}} specified (according to [UI Composite Layout Behavior Spec|https://docs.appcelerator.com/platform/latest/#!/guide/UI_Composite_Layout_Behavior_Spec-section-src-4196675_UICompositeLayoutBehaviorSpec-Autosizebehaviors]) but on Windows it does not resize its size. Started looking into it. ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-04-24T01:20:35.000+0000", "updated": "2018-04-24T01:20:35.000+0000" }, { "id": "437097", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1230", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-04-24T08:44:45.000+0000", "updated": "2018-04-24T08:44:45.000+0000" }, { "id": "439376", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*FR Passed*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-20T16:57:07.000+0000", "updated": "2018-09-05T15:14:33.000+0000" }, { "id": "441492", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Re-opening, the sample code in the PR is not quite right because it only specifies {{hintText}}. We should take care of {{value}} property too.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-12T04:54:31.000+0000", "updated": "2018-09-12T04:54:31.000+0000" }, { "id": "441496", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1284", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-12T07:09:37.000+0000", "updated": "2018-09-12T07:09:37.000+0000" }, { "id": "441862", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR passed.Waiting for CR and merge.", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-20T19:34:43.000+0000", "updated": "2018-09-26T17:20:19.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }