{ "id": "172208", "key": "TIMOB-26378", "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-14T14:47:03.000+0000", "created": "2018-09-11T12:48:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56788", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172224", "key": "TIMOB-26390", "fields": { "summary": "Android: Connect getters with background drawables for Unit test purposes", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2018-09-14T18:07:15.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": "Property {{backgroundDisabledColor}} is ignored for Ti.UI.View.\r\n\r\n*Sample:*\r\n_app.js_\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\t\tlayout: 'vertical'}),\r\n\tview = Ti.UI.createView({\r\n\t\ttop: 50,\r\n\t\twidth: 100,\r\n\t\theight: 100,\r\n\t\tbackgroundColor: 'red',\r\n\t\tbackgroundDisabledColor: 'gray'}),\r\n\tbutton = Ti.UI.createButton({\r\n\t\ttitle: 'toggle'\r\n\t});\r\nview.addEventListener('click', function () {\r\n\tTi.API.info('Click!');\r\n});\r\nbutton.addEventListener('click', function () {\r\n\tview.enabled = !view.enabled;\r\n});\r\nwin.add([view, button])\r\nwin.open();\r\n{code}\r\n\r\nClicking the button changes the state of the view, but the background color stays the same. It is expected that the color changes accordingly to the enabled state.\r\nEdit: The previous version of the sample was not the best one.", "attachment": [], "flagged": false, "summary": "Android: backgroundDisabledColor is ignored", "creator": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "subtasks": [], "reporter": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "environment": null, "comment": { "comments": [ { "id": "441571", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*FR Passed*\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/10317", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-09-14T14:27:02.000+0000", "updated": "2018-09-14T14:27:02.000+0000" }, { "id": "441585", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on master branch SDK 7.5.0.v20180914072924. Works fine. Closing\r\n{code}\r\nName = Mac OS X\r\n Version = 10.13.6\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.1.1\r\nTitanium SDK\r\n SDK Version = 7.5.0.v20180914072924\r\nSamsung galaxy s5 -android6\r\nGoogle pixel emulator- android7{code}", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-14T18:07:09.000+0000", "updated": "2018-09-14T18:07:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }