{ "id": "139578", "key": "TIMOB-19172", "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-11-12T09:24:49.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupportTriage", "reprod" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:39.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": "When we use setOpacity method in Ti classic or alloy project, button default style disappeared. \r\n\r\nh5. TEST CODE:\r\n\r\n{code} \r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#555'\r\n});\r\n\r\nvar aButton = Ti.UI.createButton({\r\n\ttitle : 'Click',\r\n\theight : 'auto',\r\n\twidth : 'auto',\r\n\ttop : 50,\r\n});\r\n\r\naButton.addEventListener('click', function() {\r\n\taButton.setOpacity(0.3);\r\n setTimeout(function () {\r\n aButton.setOpacity(1);\r\n }, 2000);\r\n});\r\n\r\nwin.add(aButton); \r\nwin.open();\r\n{code}\r\n\r\nh5. STEPS TO REPRODUCE:\r\n\r\n- Create a simple project.\r\n- Update app.js with test code\r\n- Run on Android, check button default style\r\n- Click button, button style disappears (it should appear as default style)", "attachment": [], "flagged": false, "summary": "Android: Button default style disappears when decrease, then increase opacity.", "creator": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Ti SDK 3.4.0.GA\r\nTi CLI 3.4.0\r\nAppC Studio 3.4.0\r\nAndroid 4.4.2\r\nAlloy 1.5.1\r\nMac OS X 10.9.5", "comment": { "comments": [ { "id": "424811", "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-26T17:50:25.000+0000", "updated": "2017-07-26T17:50:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }