{ "id": "168464", "key": "TIMOB-24842", "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": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-19T17:28:58.000+0000", "created": "2017-06-16T21:24:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-23T20:24: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": "*This is a regression. Works fine with SDK 6.0.4.GA. Does not work from 6.1.0.GA onwards.*\r\n\r\nh5. Steps to reproduce:\r\n1. Use the code below in your app.js.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n \r\nvar parent = Ti.UI.createView({\r\n\tbackgroundColor: \"blue\",\r\n\twidth: 200, height: 200,\r\n\t// borderWidth: 5,\r\n\t// borderRadius: 10,\r\n\t// borderColor: 'green',\r\n\t// opacity: 0.5\r\n});\r\nwin.add(parent);\r\n\r\nparent.addEventListener('click', function(e) {\r\n\t\tparent.opacity = 0.5;\r\n\t});\r\n\t \r\nwin.open();\r\n{code}\r\n2. Run on android device/emulator.\r\n3. Tap on the blue view.\r\n\r\nh5.Actual results:\r\n1. The {{opacity}} of the view does not change.\r\n2. I see that if the {{borderRadius}}, {{borderWith}} or the {{borderColor}} property is set during creation then it works fine.\r\n\r\nh5.Expected results:\r\n1. Clicking on the blue view should change the {{opacity}} to {{0.5}}.", "attachment": [], "flagged": false, "summary": "Android: Setting opacity property using the view's object after creation does not work", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio Ver: 4.9.0.201705302345\r\nSDK Ver: 6.1.1.v20170615113917\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.2\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.11\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Pixel --- Android 7.1.1\r\n ⇨ google Nexus 5 --- Android 6.0.1", "closedSprints": [ { "id": 917, "state": "closed", "name": "2017 Sprint 13 SDK", "startDate": "2017-06-18T16:14:35.902Z", "endDate": "2017-07-02T16:14:00.000Z", "completeDate": "2017-07-06T23:53:22.101Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "422226", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9154\r\n6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9155", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-19T14:09:28.000+0000", "updated": "2017-06-19T14:11:30.000+0000" }, { "id": "422673", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version: 6.1.1.v20170622183547 and SDK Version: 6.2.0.v20170622105148. Test and other information can be found at: \r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/9154\r\n6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9155", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T20:24:30.000+0000", "updated": "2017-06-23T20:24:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }