{ "id": "171230", "key": "TIMOB-25835", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-09T22:22:13.000+0000", "created": "2018-03-02T08:18:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Android", "animation", "borderRadius" ], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" }, { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-09T13:16:48.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Affects to 7.0.2, 7.1.RC\r\n\r\nAnimating a view with border radius doesn't works properly. On iOS it works fine.\r\n\r\nCheck attached demo to see code example.\r\n", "attachment": [ { "id": "64917", "filename": "animate.gif", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-02T10:15:57.000+0000", "size": 99721, "mimeType": "image/gif" }, { "id": "64915", "filename": "app-bugAnimationWithBorderRadius.zip", "author": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "created": "2018-03-02T08:15:13.000+0000", "size": 9207627, "mimeType": "application/zip" }, { "id": "64916", "filename": "bug-animation-radius.gif", "author": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "created": "2018-03-02T08:13:39.000+0000", "size": 51321, "mimeType": "image/gif" }, { "id": "64938", "filename": "Screen Shot 2018-03-08 at 11.18.18 AM.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-08T19:18:46.000+0000", "size": 34180, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Animation with border radius doesn't works properly", "creator": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "subtasks": [], "reporter": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "environment": null, "comment": { "comments": [ { "id": "435097", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "The problem is that a View with a borderView will create a parent TiBorderWrapperView View. Now when animating properties it will animated them on the outer view and not the view inside the TiBorderWrapperView.\r\n\r\nWhen adding the following code:\r\n{code:java}\r\nif (view instanceof TiBorderWrapperView) {\r\n\tview = ((TiBorderWrapperView)view).getChildAt(0);\r\n}\r\n{code}\r\n\r\nin [TiAnimationBuilder|https://github.com/appcelerator/titanium_mobile/blob/1150f8228f8d569d1ab397e381aa1f76032cc148/android/titanium/src/java/org/appcelerator/titanium/util/TiAnimationBuilder.java#L315] it will use the inner view. \r\n\r\nI think it is only the backgroundColor where the check for borderWrapper is needed. All other properties (opacity, position) are fine on the outer view.\r\n\r\nI'm setting up a PR", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-02T10:11:30.000+0000", "updated": "2018-03-02T10:11:30.000+0000" }, { "id": "435098", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9900\r\n\r\n !animate.gif! ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-02T10:17:32.000+0000", "updated": "2018-03-02T10:17:32.000+0000" }, { "id": "437303", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting for merge to be enabled.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-02T18:16:57.000+0000", "updated": "2018-05-02T18:16:57.000+0000" }, { "id": "437547", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-09T22:22:07.000+0000", "updated": "2018-05-09T22:22:07.000+0000" }, { "id": "438368", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Fix can be seen in SDK Version: 7.3.0.v20180607210411\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/9900", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-12T19:49:17.000+0000", "updated": "2018-06-12T19:49:17.000+0000" }, { "id": "443457", "author": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "body": "It doesn't works fine with 7.5.0.v20181108182512\r\n\r\nSee the link with the test app:\r\n\r\n[Example|http://personales.upv.es/jormagar/gif/border_radius_animation_bg.gif]", "updateAuthor": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "created": "2018-11-09T13:16:48.000+0000", "updated": "2018-11-09T13:16:48.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }