{ "id": "161926", "key": "TIMOB-23835", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-12-12T16:38:12.000+0000", "created": "2016-07-22T07:00:37.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Android", "TextField", "Titanum", "focusable" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" }, { "id": "17972", "name": "Release 5.3.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-12T16:38:12.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": [], "description": "*index.xml*\r\n\r\n{code:java}\r\n\r\n\t\r\n\t \r\n\t \r\n\t \r\n\t \r\n\t\r\n\r\n{code}\r\n\r\n\r\n*index.js*\r\n\r\n\r\n{code:java}\r\nfunction noFocusNoEdit() {\r\n $.OTHER_FIELD.focusable = false;\r\n $.OTHER_FIELD.editable = false;\r\n $.OTHER_FIELD.hintText = 'No-Focus + No-Edit';\r\n}\r\n\r\nfunction focusEdit() {\r\n $.OTHER_FIELD.focusable = true;\r\n $.OTHER_FIELD.editable = true;\r\n $.OTHER_FIELD.hintText = 'Focus + Edit';\r\n}\r\n\r\n$.index.open();\r\n\r\n{code}\r\n\r\n", "attachment": [ { "id": "60146", "filename": "environment.txt", "author": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-08-29T09:04:28.000+0000", "size": 13485, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: TextField's focusable property does not take effect after setting it to false once.", "creator": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "comment": { "comments": [ { "id": "391281", "author": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I was expecting that TextField will regain focus on setting focusable=true, but it did not.\r\nI need to do this setting to reset the TextField underline color to default grey, which turns to Android theme color on focus.\r\neditable property works as expected.", "updateAuthor": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-07-22T07:04:48.000+0000", "updated": "2016-07-22T07:04:48.000+0000" }, { "id": "394625", "author": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This is my environment information in text file.\r\n\r\nTi SDK used in that code is 5.3.1.GA and 5.4.0.GA as well.", "updateAuthor": { "name": "prashant_saini_1", "key": "prashant_saini_1", "displayName": "Prashant Saini", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-08-29T09:05:01.000+0000", "updated": "2016-08-29T09:05:01.000+0000" }, { "id": "403176", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested hte issue with SDK 6.0.0.GA. The issue is not reproducible there. Verified fix:\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\n\r\nTitanium SDK\r\n SDK Version = 6.0.0.GA\r\n SDK Path = /Users/gsl001/Library/Application Support/Titanium/mobile\r\nsdk/osx/6.0.0.GA\r\n Target Platform = android 6.0.0\r\n{code}\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-12-12T16:37:55.000+0000", "updated": "2016-12-12T16:37:55.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }