{ "id": "136883", "key": "TIMOB-17730", "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": null, "resolutiondate": null, "created": "2014-09-19T14:57:55.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.4.0", "reprod" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:31.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The changed hint text on a textfield does not show when the device is in landscape orientation. This happens when soft keyboard is shown and on android devices that show only the text field for edit in landscape mode. \r\n\r\nThis is not a regression as the issue also occurs in 3.3.0.GA\r\n\r\nSteps to Reproduce:\r\n1. Create a project and replace its app.js with the code below\r\n2. Run the app on a device\r\n3. When the app launches the textfield shows a hint text as \"123\".\r\n4. Click on \"click me!\" button. The hint text of the textfield changes to \"456\"\r\n5. Click on the textfield to invoke the soft keyboard\r\n6. Now rotate the device to landscape mode\r\n\r\nActual Result:\r\nThe textfield shows the hint text as \"123\" instead of \"456\"\r\n\r\nExpected Result:\r\nThe changed hint text should show even after orientation change\r\n\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nvar text = Ti.UI.createTextField({\r\n\thintText : 123\r\n});\r\n\tvar crash = Ti.UI.createButton({\r\n\ttop : 30,\r\n\ttitle : 'click me!'\r\n});\r\n\r\ncrash.addEventListener('click', function(e) {\r\n\ttext.hintText = 456;\r\n\r\n});\r\nwindow.add(crash);\r\nwindow.add(text);\r\nwindow.open();\r\n{code}", "attachment": [ { "id": "51446", "filename": "Landscape_AfterHintTextChange.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T14:57:55.000+0000", "size": 171653, "mimeType": "image/png" }, { "id": "51447", "filename": "Portrait_AfterHintTextChange.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T14:57:55.000+0000", "size": 80465, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Changed hint text on textfield not shown in landscape mode", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.4.0.v20140917120000\r\nStudio: 3.4.0.201409161950\r\nCLI: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2\r\nXcode: Xcode 6\r\nDevice: Nexus 5 (v4.4.4)", "comment": { "comments": [ { "id": "325811", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-26T06:58:05.000+0000", "updated": "2014-09-26T06:58:05.000+0000" }, { "id": "423514", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-05T16:55:58.000+0000", "updated": "2017-07-05T16:55:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }