{ "id": "175442", "key": "AC-6588", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-08-15T16:32:20.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "58630", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "173692", "key": "TIMOB-27123", "fields": { "summary": "Animating view with border radius clips its children", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "58631", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "170773", "key": "TIMOB-25661", "fields": { "summary": "Android: Glitchy rotation animation occurs with views with borders in Android 7.0 and above", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-08-17T19:41:30.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": [], "description": "A view with borderRadius is not correctly turning the right container/outerView:\r\n\r\n !Screenshot_20200815-182943.png|thumbnail! \r\n\r\n*Code:*\r\n{code}\r\nvar win = Ti.UI.createWindow({title: 'Demo App',backgroundColor: \"#aaa\"});\r\n\r\nvar view = Ti.UI.createView({\r\n\theight: 100,width: 100,backgroundColor: \"#f00\",top: 40,\r\n\trotation: 45\r\n});\r\nvar view2 = Ti.UI.createView({\r\n\ttop: 180,height: 100,backgroundColor: \"#00f\",width: 100,\r\n\trotation: 45,\r\n\tborderRadius: 10\r\n});\r\nvar view3 = Ti.UI.createView({\r\n\ttop: 320,height: 100,backgroundColor: \"#ff0\",width: 100,\r\n\trotation: 45\r\n});\r\n\r\nwin.add(view);\r\nwin.add(view2);\r\nwin.add(view3);\r\nwin.open();\r\n{code}\r\n\r\n*Expected result:*\r\nThe blue view should be rotated by 45deg and show round corners.\r\n\r\n*Setup:*\r\nTi SDK 9.1.0.RC\r\nAndroid 10 (Pixel 4)", "attachment": [ { "id": "67492", "filename": "Screenshot_20200815-182943.png", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-15T16:31:02.000+0000", "size": 18399, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: View with borderRadius is not rotated correctly", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "456487", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue has been raised before as can be seen by the \"duplicate\" ticket links.\r\nThis is actually a bug on Google's end with circular clipping and animation. Please see...\r\nhttps://issuetracker.google.com/issues/37123819\r\n\r\nHow about an alternative solution? I recommend that you use Titanium's {{MaskedImage}} instead. It's hardware accelerated on Android and works on iOS too. Please see ticket [TIMOB-17363] for examples.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-17T19:27:20.000+0000", "updated": "2020-08-17T19:27:20.000+0000" }, { "id": "456488", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "I always forget the MaskedImage for those parts. I thought since the \"borderRadius\" views have an other and inner view it is just rotating the wrong one.\r\n\r\nThanks again (y) I'll change it in my code", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-17T19:41:30.000+0000", "updated": "2020-08-17T19:41:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }