{ "id": "131005", "key": "TIMOB-17039", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-02T18:55:59.000+0000", "created": "2014-05-29T00:25:13.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_views", "qe-3.3.0", "qe-closed-3.3.0", "qe-testadded", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-02T21:21:09.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": "h5.Description\r\nA view with a border radius set will not be trimmed by the border. The view will remain square while the border curves. See attached screenshot.\r\n\r\nh5.Steps To Reproduce\r\nCopy the following code snippet into your app.js file.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'green',\r\n layout:'vertical'\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor:'white',\r\n\tborderColor:'red',\r\n\tborderWidth:15,\r\n\twidth:150,\r\n\theight:150,\r\n\ttop:10\r\n});\r\n\r\nvar but1 = Ti.UI.createButton({\r\n\ttitle:\"border radius = 10\",\r\n\ttop:20\r\n});\r\n\r\nbut1.addEventListener('click',function(){\r\n\tview.borderRadius = \"20\";\r\n});\r\n\r\nvar but2 = Ti.UI.createButton({\r\n\ttitle:\"border radius = 20\",\r\n\ttop:20\r\n});\r\n\r\nbut2.addEventListener('click',function(){\r\n\tview.borderRadius = \"40\";\r\n});\r\n \r\nwin.add(view);\r\nwin.add(but1);\r\nwin.add(but2); \r\n\r\nwin.open();{code}\r\n\r\nh5.Expected Result\r\nView should be trimmed by the border\r\n\r\nh5.Actual Result\r\nView sticks out from under the border, remaining a square shape.\r\n\r\n+Extra Information+\r\nThis is a regression as it works as expected in 3.2.3.GA", "attachment": [ { "id": "48450", "filename": "screen.png", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-29T00:25:13.000+0000", "size": 75620, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Border radius fails to trim corners off a view", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405271647\r\nTitanium SDK, build: 3.3.0.v20140528144113\r\nTitanium CLI, build: 3.3.0-beta\r\nAlloy: 1.4.0-beta\r\nAndroid Device: Nexus 4 (4.4)", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "306955", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Regression caused by https://github.com/appcelerator/titanium_mobile/pull/5177", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-30T02:21:44.000+0000", "updated": "2014-05-30T02:21:44.000+0000" }, { "id": "307082", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5746", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-30T21:35:35.000+0000", "updated": "2014-05-30T21:35:35.000+0000" }, { "id": "307218", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged into master. Needs a backport to 3_3_X", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T18:55:59.000+0000", "updated": "2014-06-02T18:55:59.000+0000" }, { "id": "307232", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3.3.X PR: https://github.com/appcelerator/titanium_mobile/pull/5752", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T20:28:38.000+0000", "updated": "2014-06-02T20:28:38.000+0000" }, { "id": "307243", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405271647\r\nTitanium SDK, build: 3.3.0.v20140602133312\r\nTitanium CLI, build: 3.3.0-beta2\r\nAlloy: 1.4.0-beta\r\nAndroid Device: Nexus 4 (4.4)\r\n\r\nBorder radius correctly trims the view.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T21:20:41.000+0000", "updated": "2014-06-02T21:20:41.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }