{ "id": "172921", "key": "AC-6116", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2019-03-01T22:32:02.000+0000", "created": "2019-01-27T19:21:23.000+0000", "labels": [ "android", "borderRadius", "scale" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-01T22:32:03.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Scaling a view with borderRadius > 0 leads to strange results. The top left corner is not as round as the other corners.\r\n\r\n !20190127_201854.gif! \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tborderRadius: 10,\r\n\tbackgroundColor: \"#f00\"\r\n});\r\n\r\nwin.add(view);\r\n\r\nvar scale = 1;\r\nvar fact = 0.01;\r\n\r\nwin.addEventListener(\"open\", function() {\r\n\tsetInterval(function() {\r\n\t\tscale += fact;\r\n\r\n\t\tview.scaleX = scale;\r\n\t\tview.scaleY = scale;\r\n\t\tif (scale > 3) {\r\n\t\t\tfact *= -1;\r\n\t\t}\r\n\t\tif (scale < 1) {\r\n\t\t\tfact *= -1;\r\n\t\t}\r\n\t}, 10);\r\n\r\n})\r\nwin.open();\r\n\r\n{code}\r\n\r\nTitanium SDK 7.5.1.RC\r\nAndroid 7.0.1 (HTC A9)", "attachment": [ { "id": "66112", "filename": "20190127_201854.gif", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-27T19:19:41.000+0000", "size": 387116, "mimeType": "image/gif" } ], "flagged": false, "summary": "Android: ScaleX/ScaleY with borderRadius leads to strange results", "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": "445808", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~michael], I have tested with SDK 7.5.1.v20190108052418 and 7.5.1.v20190124152315, in Android 8.1.0 device (Nokia 6). I wasn't able to reproduce the issue that can be seen here. I also tested in emulators, the result is same, working as expected. Is this only happening to your HTC device there? or this is reproducible to any other device? Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-02-01T22:14:47.000+0000", "updated": "2019-02-01T22:27:09.000+0000" }, { "id": "445810", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi [~sdarda]. I was able to test it on a Moto G2 and a Galaxy A5. Both devices were working fine! I don't have another HTC phone to test if it is device specific or just my phone (guess I need a new one :) ). ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-02-02T10:53:36.000+0000", "updated": "2019-02-02T10:53:36.000+0000" }, { "id": "446036", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~michael], I believe this is a specific device issue. I tested on Samsung Galaxy J2 Prime (6.0.1) with SDK 7.5.1.v20190124152315. It works fine. I also don't have htc device to verify my hypothesis :). ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-02-12T22:42:57.000+0000", "updated": "2019-02-12T22:42:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }