{ "id": "175474", "key": "TIMOB-28095", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": null, "resolutiondate": null, "created": "2020-08-24T19:10:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "regression" ], "versions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [ { "id": "59103", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175961", "key": "TIMOB-28318", "fields": { "summary": "Ti.UI.View Test Suite: Titanium.UI.View Acceptance TIMOB-28095 iOS only", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-01-18T07:56:54.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Cannot change the border radius of a view.\r\n\r\nThis is a regression in SDK 9.1.0 as it works fine in SDK 9.0.3.GA\r\n\r\nSteps to Reproduce:\r\n1. Create a project with app.js below\r\n2. Build it to an iOS device\r\n3. The app launches with a view having border radius set to 10.\r\n4. Click on buttons \"borderRadius=30/20\" or \"borderRadius=30All\" or \"borderRadius=0\" to change border radius to 30 or 0.\r\n\r\nActual Result:\r\nThe border radius does not change\r\n\r\nExpected Result:\r\nShould be able to change the border radius\r\n\r\napp.js\r\n{code}\r\n\t\r\nvar _window = Ti.UI.createWindow({\r\n\tbackgroundColor : 'blue'\r\n}); \r\n \r\nvar view = Ti.UI.createView({\r\n\tleft : 10,\r\n\theight : 100,\r\n\twidth : 100,\r\n\ttop : 10,\r\n\tbackgroundColor : 'white',\r\n\tborderWidth : 20,\r\n\tborderColor : 'red',\r\n\tborderRadius : 10\r\n}); \r\n \r\nvar b3 = Ti.UI.createButton({\r\n\ttop : 250,\r\n\ttitle : \"borderRadius=30/20\"\r\n});\r\nb3.addEventListener(\"click\", function() {\r\n\tview.borderRadius = ['30', '20', '30', '20'];\r\n});\r\n\r\nvar b4 = Ti.UI.createButton({\r\n\ttop : 300,\r\n\ttitle : \"borderRadius=30 All\"\r\n});\r\nb4.addEventListener(\"click\", function() {\r\n\tview.borderRadius = 30;\r\n});\r\n\r\nvar b5 = Ti.UI.createButton({\r\n\ttop : 350,\r\n\ttitle : \"borderRadius=0\"\r\n});\r\nb5.addEventListener(\"click\", function() {\r\n\tview.borderRadius = 0;\r\n});\r\n\r\n_window.add(view);\r\n_window.add(b3);\r\n_window.add(b4);\r\n_window.add(b5);\r\n\r\n_window.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Border Radius of a view cannot be changed", "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": "Verified on:\r\nMac OS: 10.15.4\r\nSDK: 9.1.0.v20200814072027\r\nAppc CLI: 8.1.0-master.12\r\nJDK: 11.0.4\r\nNode: 10.17.0\r\nStudio: 6.0.0.202005141803\r\nXcode: 12.0 beta\r\niPhone X(v13.4)", "comment": { "comments": [ { "id": "456564", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11951", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-24T23:55:54.000+0000", "updated": "2020-08-24T23:55:54.000+0000" }, { "id": "456577", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[9_1_X] PR - https://github.com/appcelerator/titanium_mobile/pull/11952", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T01:44:13.000+0000", "updated": "2020-08-25T01:44:13.000+0000" }, { "id": "456595", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This caused a regression: AC-6594", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-26T10:28:08.000+0000", "updated": "2020-08-26T10:28:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }