{ "id": "175504", "key": "TIMOB-28110", "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": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" }, { "id": "21057", "description": "", "name": "Release 9.1.1", "archived": true, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-11T15:24:40.000+0000", "created": "2020-09-03T21:29:22.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "regression" ], "versions": [], "issuelinks": [ { "id": "58702", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175489", "key": "TIMOB-28103", "fields": { "summary": "iOS: View shadow not working anymore if combined with border radius (9.1.0 regression)", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-11T15:24:40.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Customer Issue: https://axway.my.salesforce.com/5003V000006kEu4\r\n\r\nA view having border radius defined has issues with the contents of the view overlapping the borders at the corners of the view.\r\n\r\nThis issue is a regression introduced in 9.1.0.GA. It works fine in 9.0.3.GA\r\n\r\nSteps to Reproduce:\r\n1. Create an app with code below\r\n2. Run on iOS sim/device\r\n\r\nActual Result:\r\nThe view borders do not show up correctly. Check the screenshot for 9.0.3.GA and 9.1.0.GA\r\n\r\n{code:js}\r\nvar testWin = Ti.UI.createWindow({});\r\n\r\nconst roundedLabel = Ti.UI.createLabel({\r\n height:100,\r\n\twidth:200,\r\n\tborderRadius: 50,\r\n\tborderWidth: 5,\r\n\tborderColor: 'blue',\r\n\tbackgroundColor: 'red',\r\n\tcolor: 'blue',\r\n\ttext: 'Rounded Label',\r\n\tfont: {\r\n\t\tfontSize: 20,\r\n\t\tfontWeight: 'bold'\r\n\t},\r\n\tverticalAlign: Titanium.UI.TEXT_VERTICAL_ALIGNMENT_CENTER,\r\n\ttextAlign: Titanium.UI.TEXT_ALIGNMENT_CENTER,\r\n\ttop:50\r\n})\r\n\r\nconst circleImage = Ti.UI.createImageView({\r\n height:100,\r\n\twidth:100,\r\n borderRadius:20,\r\n borderColor:'red',\r\n borderWidth:5,\r\n image:'https://www.tonytextures.com/free-texture-gallery/sky/Sky_Clouds_Photo_Texture_A_P1119218.JPG',\r\n top:200\r\n})\r\n\r\n\r\nlet roundedViewWithLabel = Ti.UI.createLabel({\r\n height:100,\r\n\twidth:200,\r\n\tborderRadius: 50,\r\n\tborderWidth: 5,\r\n\tborderColor: 'blue',\r\n\tbackgroundColor: 'white',\r\n\ttop:400\r\n})\r\n\r\nroundedViewWithLabel.add(Ti.UI.createLabel({\r\n width:Ti.UI.FILL,\r\n height:Ti.UI.FILL,\r\n text: 'Rounded View With Label',\r\n\tfont: {\r\n\t\tfontSize: 20,\r\n\t\tfontWeight: 'bold'\r\n\t},\r\n\tverticalAlign: Titanium.UI.TEXT_VERTICAL_ALIGNMENT_CENTER,\r\n textAlign: Titanium.UI.TEXT_ALIGNMENT_CENTER,\r\n color: 'blue',\r\n}));\r\n\r\ntestWin.add(roundedLabel);\r\ntestWin.add(circleImage);\r\ntestWin.add(roundedViewWithLabel);\r\ntestWin.open();\r\n{code}", "attachment": [ { "id": "67523", "filename": "9.0.3.GA.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-03T21:23:04.000+0000", "size": 157308, "mimeType": "image/png" }, { "id": "67522", "filename": "9.1.0.GA.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-03T21:23:04.000+0000", "size": 182579, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: View with border radius overlaps the border at the corners", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS: 10.15.4\r\nSDK: 9.0.3.GA, 9.1.0.GA\r\nAppc CLI: 8.1.0\r\nJDK: 11.0.4\r\nNode: 10.17.0\r\nStudio: 6.0.0.202005141803\r\nXcode: 12.0 Beta6\r\niOS sim 13.5", "closedSprints": [ { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456754", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12005\r\n\r\nNote - This fixes TIMOB-28103 as well.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-07T23:18:41.000+0000", "updated": "2020-09-08T00:04:56.000+0000" }, { "id": "456781", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T22:49:04.000+0000", "updated": "2020-09-08T22:49:04.000+0000" }, { "id": "456782", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Waiting for Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T22:49:16.000+0000", "updated": "2020-09-08T22:49:16.000+0000" }, { "id": "456785", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Can this fix be backported to 9_1_X ??", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2020-09-09T07:05:34.000+0000", "updated": "2020-09-09T07:05:34.000+0000" }, { "id": "456791", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master, backport PR to 9_1_X merged, manually cherry-picked to 9_3_X", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-09-09T15:23:59.000+0000", "updated": "2020-09-09T15:23:59.000+0000" }, { "id": "456846", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Fix verified in SDK version 9.2.0.v20200911051822, and 9.3.0.v20200911052140, 9.1.1.v20200910063052.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/12005", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-11T15:24:31.000+0000", "updated": "2020-09-11T15:24:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }