{ "id": "154955", "key": "TIMOB-20411", "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": "2016-02-17T01:06:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engSchedule", "qe-5.2.0" ], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [], "assignee": null, "updated": "2019-09-12T17:15:59.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": "Only the border has a radius when borderRadius is set to 10 on android (see images)\r\n\r\n*Steps to reproduce:* \r\n# Use the app.js file below.\r\n\r\n*Actual :*\r\nOnly the border has a radius when borderRadius is set to 10; \r\n\r\n!Screenshot_20160216-170221.png|thumbnail! \r\n\r\n*Expected:*\r\nView has a radius as well as the views border. (see image)\r\n\r\n!Screenshot_20160216-170230.png|thumbnail!\r\n\r\n*App.js*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'blue'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\tleft: 10,\r\n\theight: 300,\r\n\twidth: 300,\r\n\ttop: 10,\r\n\tbackgroundColor: 'white',\r\n\tborderWidth: 20,\r\n\tborderColor: 'red'\r\n});\r\n\r\n\r\nvar b1 = Ti.UI.createButton({\r\n\ttop: 310,\r\n\ttitle: \"backgroundColor=transparent\"\r\n});\r\nb1.addEventListener(\"click\", function() {\r\n\tview.backgroundColor = 'transparent';\r\n});\r\n\r\nvar b2 = Ti.UI.createButton({\r\n\ttop: 350,\r\n\ttitle: \"backgroundColor=white\"\r\n});\r\nb2.addEventListener(\"click\", function() {\r\n\tview.backgroundColor = 'white';\r\n});\r\n\r\nvar b3 = Ti.UI.createButton({\r\n\ttop: 390,\r\n\ttitle: \"borderRadius=30\"\r\n});\r\nb3.addEventListener(\"click\", function() {\r\n\tview.borderRadius = 30;\r\n});\r\n\r\nvar b4 = Ti.UI.createButton({\r\n\ttop: 430,\r\n\ttitle: \"borderRadius=10\"\r\n});\r\nb4.addEventListener(\"click\", function() {\r\n\tview.borderRadius = 10;\r\n});\r\n\r\nvar b5 = Ti.UI.createButton({\r\n\ttop: 470,\r\n\ttitle: \"borderRadius=0\"\r\n});\r\nb5.addEventListener(\"click\", function() {\r\n\tview.borderRadius = 0;\r\n});\r\nvar b6 = Ti.UI.createButton({\r\n\ttop: 510,\r\n\ttitle: \"borderToggle\"\r\n});\r\nb6.addEventListener(\"click\", function() {\r\n\tif (view.borderWidth == 0) {\r\n\t\tview.borderWidth = 20;\r\n\t} else {\r\n\t\tview.borderWidth = 0;\r\n\t}\r\n});\r\n\r\n\r\n\r\nwin.add(view);\r\nwin.add(b1);\r\nwin.add(b2);\r\nwin.add(b3);\r\nwin.add(b4);\r\nwin.add(b5);\r\nwin.add(b6);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "58251", "filename": "Screenshot_20160216-170221.png", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-17T01:03:49.000+0000", "size": 94263, "mimeType": "image/png" }, { "id": "58250", "filename": "Screenshot_20160216-170230.png", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-17T01:03:51.000+0000", "size": 97125, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Only the border has a radius when borderRadius is set to 10", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Appc Studio : 4.5.0.201602132419\r\nTi SDK : 5.2.0.v20160216091337\r\nOS X El Capitan: 10.11.3\r\nAppc NPM : 4.2.3-2\r\nAppc CLI : 5.2.0-265\r\nNode: 4.2.4\r\nNexus 6P - Android 6.0.1\r\n", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }