{ "id": "175477", "key": "TIMOB-28101", "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-08T16:05:07.000+0000", "created": "2020-08-26T08:04:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "regression" ], "versions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [ { "id": "58689", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "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-08T16:05:07.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": "The borderRadius behavior has changed from 9.1.0.v20200814072027 to 9.1.0.GA\r\n\r\nSample code\r\n\r\n{code:java}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nResult as seen in simulator screenshots\r\n", "attachment": [ { "id": "67499", "filename": "9.1.0.GA.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T08:02:15.000+0000", "size": 80915, "mimeType": "image/png" }, { "id": "67498", "filename": "9.1.0.v20200814072027.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T08:02:16.000+0000", "size": 80390, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: borderRadius issue with 9.1.0.GA", "creator": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "environment": "9.1.0.GA / 9.1.0.v20200814072027\r\n", "comment": { "comments": [ { "id": "456594", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a regression from TIMOB-28095 and https://github.com/appcelerator/titanium_mobile/pull/11951/files", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T10:25:27.000+0000", "updated": "2020-08-26T10:27:42.000+0000" }, { "id": "456610", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe this is due to using quadratic curves for the bezier path.\r\n\r\nThe changes in PR [#11951|https://github.com/appcelerator/titanium_mobile/pull/11951/files] just exposed this issue as the issue could be reproduced with this test case before those changes:\r\n{code:js}\r\nconst window = Ti.UI.createWindow({ backgroundColor: 'white' });\r\nconst view = Ti.UI.createView({\r\n\tbackgroundColor: 'red',\r\n\twidth: 100,\r\n\theight: 100,\r\n\tborderRadius: '50 50 50 50'\r\n});\r\n\r\nwindow.add(view);\r\nwindow.open();\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-26T16:39:36.000+0000", "updated": "2020-08-26T16:39:36.000+0000" }, { "id": "456611", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] is right. It is due to using quadratic curves for bezier path.\r\nLooking in this.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-26T18:16:10.000+0000", "updated": "2020-08-26T18:16:22.000+0000" }, { "id": "456612", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11969\r\n\r\nNote- @QE Verify test cases mentioned in TIMOB-28095 and TIMOB-27305 as well.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-26T20:17:05.000+0000", "updated": "2020-08-26T20:18:48.000+0000" }, { "id": "456613", "author": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "body": "Adding shadows (with viewShadowColor/viewShadowRadius/viewShadowOffset) to a view with borderRadius does not work anymore either. Worked in 9.1.0.v20200709073601.", "updateAuthor": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T22:32:55.000+0000", "updated": "2020-08-26T22:32:55.000+0000" }, { "id": "456614", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mj] Can you provide a small test case to reproduce it? Thanks!\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-26T22:34:41.000+0000", "updated": "2020-08-26T22:34:41.000+0000" }, { "id": "456615", "author": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "body": "Running this will show no shadow:\r\n\r\n{code:javascript}\r\nvar win=Ti.UI.createWindow({\r\n\tbackgroundColor:'#fff'\r\n});\r\nwin.add(Ti.UI.createView({\r\n\twidth:100,\r\n\theight:100,\r\n\tbackgroundColor:'#777',\r\n\tviewShadowColor:'#d000',\r\n\tviewShadowRadius:20,\r\n\tviewShadowOffset:20,\r\n\tborderRadius:20 //remove this and the shadow will show...\r\n}));\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mj", "key": "mj", "displayName": "martin", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T22:48:01.000+0000", "updated": "2020-08-26T22:48:01.000+0000" }, { "id": "456620", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can confirm, that shadows on rounded borders are not shown", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-27T05:26:53.000+0000", "updated": "2020-08-27T05:26:53.000+0000" }, { "id": "456685", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "When will the review be done approximately? ", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-09-02T06:09:53.000+0000", "updated": "2020-09-02T06:09:53.000+0000" }, { "id": "456692", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~benutzername] Someone will review it soon. To note, it fixes the borderRadius issue only.\r\nFor shadow related issue please follow TIMOB-28103. I am working on that and will create PR probably by tomorrow. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-02T17:54:34.000+0000", "updated": "2020-09-02T17:54:34.000+0000" }, { "id": "456706", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build and 9_3_X port.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-03T12:41:57.000+0000", "updated": "2020-09-03T12:41:57.000+0000" }, { "id": "456734", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Is this already merged into 9_1_X? Still seeing the issue in 9.1.1.v20200903090820.", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2020-09-04T03:58:35.000+0000", "updated": "2020-09-04T03:59:35.000+0000" }, { "id": "456738", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey [~fahad86] The fix should be present in {{9.1.1.v20200903090820}} *Note* this is a fix for borderRadius only. \r\n\r\nDo you have a sample test case where I can reproduce the issue you are seeing? ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-04T11:59:32.000+0000", "updated": "2020-09-04T11:59:32.000+0000" }, { "id": "456750", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "I'm seeing the issue with the curves in the border not being displayed (on iOS only):\r\n\r\n{code:javaScript}\r\nvar window = Ti.UI.createWindow({\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n backgroundColor: 'white'\r\n});\r\n\r\nwindow.add(Ti.UI.createView({ \r\n width: 100,\r\n height: 100,\r\n borderColor: \"red\",\r\n borderWidth: 1,\r\n borderRadius: 8\r\n});\r\n\r\nwindow.open();\r\n{code}\r\n\r\nMaybe the border radius of the view is fixed, but the border itself seems to have breaks which can be seen when setting a border width.", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2020-09-07T03:56:55.000+0000", "updated": "2020-09-07T04:04:16.000+0000" }, { "id": "456755", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fahad86] Your test case is same as mentioned in TIMOB-28110. It is fixed in PR https://github.com/appcelerator/titanium_mobile/pull/12005 (not merged yet). ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T00:07:26.000+0000", "updated": "2020-09-08T00:08:04.000+0000" }, { "id": "456756", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Thanks Vijay. Can TIMOB-28110 be included in 9.1.1.GA as there is already a pull request for this?\r\nPlease backport to 9_1_X", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2020-09-08T02:31:41.000+0000", "updated": "2020-09-08T02:34:58.000+0000" }, { "id": "456765", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T16:04:56.000+0000", "updated": "2020-09-08T16:04:56.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }