{ "id": "153752", "key": "TIMOB-20136", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-14T21:17:08.000+0000", "created": "2015-12-10T08:30:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "qe-5.4.0" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-09-05T02:59:36.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": "Using this code:\n\n{code:javascript}\nwindow = Ti.UI.createWindow({\n\t\n});\n\npassword = Ti.UI.createTextField({\n\tpasswordMask : true,\n\tvalue : \"this is a secret\",\n\teditable : false,\n\ttop : 100,\t\n\twidth : Ti.UI.FILL\n});\n\nswitcher = Ti.UI.createButton({\n\ttitle : \"Editable: \"+password.getEditable(),\n\ttop: 200\n});\n\nswitcher.addEventListener(\"click\",function(e){\t\n\t\tpassword.setEditable(!password.getEditable());\t\t\t\n\t\tswitcher.setTitle(\"Editable: \"+password.getEditable());\n});\n\nwindow.add(password);\nwindow.add(switcher);\nwindow.open();\n{code}\n\nThe textfield \"password\" don't mask the content if field is not editable. If property editable is set to true, the value is masked.\nWorks fine on iOS devices.", "attachment": [], "flagged": false, "summary": "Android: PasswordMask not working on editable textfield", "creator": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Build on MacOSX for several Android-devices", "closedSprints": [ { "id": 555, "state": "closed", "name": "2016 Sprint 1 SDK", "startDate": "2016-01-02T01:31:50.127Z", "endDate": "2016-01-16T01:31:00.000Z", "completeDate": "2016-01-18T00:52:43.848Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "374150", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7623", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-11T04:14:15.000+0000", "updated": "2016-01-11T04:14:15.000+0000" }, { "id": "374644", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-15T02:48:36.000+0000", "updated": "2016-01-15T02:48:36.000+0000" }, { "id": "387995", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.\r\n
Tested on:
\r\nNexus 5 (6.0.1)\r\nandroid emulator (6.0)\r\n
Mac OSX El Capitan 10.11.4\r\nStudio: 4.7.0.201606070951
\r\nTi SDK: 5.4.0.v20160608165242
\r\nAppc NPM: 4.2.7-2\r\nAppc CLI: 5.4.0-13\r\nNode v0.12.7
\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-10T00:11:40.000+0000", "updated": "2016-06-10T00:11:51.000+0000" }, { "id": "395289", "author": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Has this PR created a regression issue?\r\n\r\nThe previous behaviour was that if editable was false it would still respond to touch events.\r\nIt no longer does. On Android it is equivalent to setting enabled as false.\r\n", "updateAuthor": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-05T02:07:05.000+0000", "updated": "2016-09-05T02:07:05.000+0000" }, { "id": "395296", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~davidbankier] You need a textfield that has been set editable to false respond to a touch event? Which version to which version is there a regression from what you can see?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-09-05T02:57:27.000+0000", "updated": "2016-09-05T02:57:27.000+0000" }, { "id": "395298", "author": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "All previous versions, prior to 5.4.0. Eg. try 5.3.0.", "updateAuthor": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-05T02:59:36.000+0000", "updated": "2016-09-05T02:59:36.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }