{ "id": "90029", "key": "TIMOB-8729", "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-05-21T10:44:46.000+0000", "created": "2012-04-13T16:40:23.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and040912" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "updated": "2019-05-21T10:44:46.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": "In TextField cannot see any texts that is being typed in and the cursor blinks outside the text field. For a second previous view is shown\r\n\r\nSteps to reproduce\r\n1:Install and run the app\r\n2: Tap inside the text field\r\n3:type in word\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\nvar textField = Ti.UI.createTextField({\r\nbackgroundColor: '#fff',\r\nheight: 30,\r\ntop: 20,\r\nleft: 20,\r\nright: 20\r\n});\r\nwindow.add(textField);\r\nwindow.open();\r\n{code}\r\n\r\nActual result: Could not see the text typed in,on focus the window returns to the previous view for a second.\r\n\r\nExpected result:should be able to see the text and the cursor should blink inside the text field \r\n\r\n*Note : this is not a regression bug,it goes back to 1.8.2* ", "attachment": [], "flagged": false, "summary": "Android: TextField: Text is not visible, and view appears to redraw before keyboard is displayed", "creator": { "name": "sshylaja", "key": "sshylaja", "displayName": "Sitara Shylaja", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sshylaja", "key": "sshylaja", "displayName": "Sitara Shylaja", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK - 2.0.1.v20120410103239\r\nStudio - 2.0.1.201204101854\r\nNexus s 4.0.4", "closedSprints": [ { "id": 1136, "state": "closed", "name": "2019 Sprint 11", "startDate": "2019-05-18T17:39:52.830Z", "endDate": "2019-05-31T17:39:00.000Z", "completeDate": "2019-06-04T21:37:11.485Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "239772", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is reproduced with sdk versions 3.0.2 and 3.1.0.\n\nNote: if height of the textfield is set to 'auto' or some dimension like 100(much greater than 30) it works fine. ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T07:47:55.000+0000", "updated": "2013-02-26T07:47:55.000+0000" }, { "id": "239773", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is reproduced with sdk versions 3.0.2 and 3.1.0.\n\nNote: if height of the textfield is set to 'auto' or some dimension like 100(much greater than 30) it works fine. ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T07:48:52.000+0000", "updated": "2013-02-26T07:48:52.000+0000" }, { "id": "293433", "author": { "name": "maltroth", "key": "maltroth", "displayName": "Marc Andrew Landles", "active": true, "timeZone": "America/New_York" }, "body": "SDK 3.2.0 still have the bug. The solution from jithinpv seems like a good workaround though. (height: 'auto')", "updateAuthor": { "name": "maltroth", "key": "maltroth", "displayName": "Marc Andrew Landles", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-17T14:27:38.000+0000", "updated": "2014-02-17T14:27:38.000+0000" }, { "id": "423875", "author": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "body": "\r\nIt is recommended to use the default font size of the system and let the TextField auto-size its height to fit (by default, height of the TextField is Ti.UI.SIZE). Please try to avoid hard coding the height of TextField and specify the text color in order to be visible.\r\n\r\n{code}\r\n\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\nvar textField = Ti.UI.createTextField({\r\nbackgroundColor: '#fff',\r\ncolor:'blue',\r\nheight: Ti.UI.SIZE,\r\ntop: 20,\r\nleft: 20,\r\nright: 20\r\n});\r\nwindow.add(textField);\r\nwindow.open();\r\n\r\n{code}\r\n\r\nPlease take note TextField Cursor is not visible on certain previous Android API levels as the native Android behaviour. Will open a separate ticket for the cursor issue.", "updateAuthor": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "created": "2017-07-11T03:08:22.000+0000", "updated": "2017-07-11T03:08:22.000+0000" }, { "id": "448544", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, not able to reproduce using the instructions mentioned above. (Added colour property and setting the height to Ti.UI.SIZE adjusts its height according to the fontSize property if specified.\r\n\r\n*Test Environment*\r\n{code:java}\r\nGoogle pixel xl 7.1.1 sim\r\n7.1.0-master.16\r\nOperating System Name: Mac OS Mojave\r\nOperating System Version: 10.14.2\r\nNode.js Version: 8.11.3\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-21T10:44:46.000+0000", "updated": "2019-05-21T10:44:46.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }