{ "id": "170773", "key": "TIMOB-25661", "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": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "resolution": null, "resolutiondate": null, "created": "2018-01-11T09:54:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57795", "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" }, "inwardIssue": { "id": "175442", "key": "AC-6588", "fields": { "summary": "Android: View with borderRadius is not rotated correctly", "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": "56280", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "170993", "key": "TIMOB-25733", "fields": { "summary": "Android: View with border larger than screen may fail to appear as of 7.0.2.RC", "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": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-08-17T19:12:38.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I am using Circular progress widget(https://github.com/manumaticx/circularprogress), in that as per my project requirement I need to rotate the view for that I have added the below code:\r\n\r\n{code:java}\r\nvar animation = Ti.UI.createAnimation({\r\n\r\nduration : 0,\r\n\r\ntransform : Ti.UI.create2DMatrix().rotate(-90)\r\n\r\n});\r\n\r\n$.container.animate(animation);\r\n\r\n{code}\r\n\r\nthis is working fine in all the Android and iOS devices except Android OS version 7. Please see the attachment file, Android 7 should work as like that.\r\n\r\nIf I just add this property *autoreverse : true* then the Circular view is showing but not the correct position.\r\n\r\n*Actual Behaviour:* Android v7.0.0 Circular view and animation is not working properly.\r\n\r\n*Expected Behaviour:* Need's to support the Android 7.0.0 as well.\r\n\r\nTest Code: \r\n\r\nI have attached the \"App\" folder please run it on Android 7.0.0 and other devices for the difference. \r\n\r\nLet me know if you need anything else.", "attachment": [ { "id": "63976", "filename": "actual.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-18T21:31:03.000+0000", "size": 52393, "mimeType": "image/png" }, { "id": "63946", "filename": "app.zip", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-11T09:51:27.000+0000", "size": 9301158, "mimeType": "application/zip" }, { "id": "63977", "filename": "expected.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-18T21:31:03.000+0000", "size": 58423, "mimeType": "image/png" }, { "id": "63948", "filename": "Screen Shot 2018-01-11 at 3.26.00 PM.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-11T09:43:41.000+0000", "size": 42079, "mimeType": "image/png" }, { "id": "63947", "filename": "Screen Shot 2018-01-11 at 3.30.06 PM.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-11T09:43:54.000+0000", "size": 49428, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Glitchy rotation animation occurs with views with borders in Android 7.0 and above", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Ti SDK v7.0.1, 6.3.0.GA", "closedSprints": [ { "id": 990, "state": "closed", "name": "2018 Sprint 02 SDK", "startDate": "2018-01-14T22:48:43.544Z", "endDate": "2018-01-28T22:48:00.000Z", "completeDate": "2018-01-29T16:22:42.911Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "433312", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9751", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-18T19:56:21.000+0000", "updated": "2018-01-18T19:56:21.000+0000" }, { "id": "433314", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_0_X: https://github.com/appcelerator/titanium_mobile/pull/9752", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-18T21:30:21.000+0000", "updated": "2018-01-18T21:30:21.000+0000" }, { "id": "433319", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting for merge to get enabled.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-18T23:18:13.000+0000", "updated": "2018-01-18T23:18:13.000+0000" }, { "id": "433346", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-19T20:31:12.000+0000", "updated": "2018-01-19T20:31:12.000+0000" }, { "id": "433557", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Backport PR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-24T00:57:49.000+0000", "updated": "2018-01-24T00:57:49.000+0000" }, { "id": "433595", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 7.1.0.v20180124063413 & 7.0.2.v20180123170142.\r\n\r\nClosing.\r\n\r\nStudio Ver: 5.0.0.201712081732\r\nSDK Ver: 7.0.2.v20180123170142, 7.1.0.v20180124063413 \r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.2\r\nAppc NPM: 4.2.11\r\nAppc CLI: 7.0.1\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.10\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Pixel --- Android 7.1.1\r\n ⇨ google Nexus 5 --- Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-24T17:44:06.000+0000", "updated": "2018-01-24T17:44:06.000+0000" }, { "id": "433899", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a Google bug that was introduced in Android 7.0 (aka: API Level 24):\r\nhttps://issuetracker.google.com/issues/37123819\r\n\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-31T21:14:11.000+0000", "updated": "2018-01-31T21:14:11.000+0000" }, { "id": "433920", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We are reverting the above code change in Titanium 7.0.2.GA.\r\n\r\nWe're doing this because it's causing large views with borders to disappear (ie: fails to render) for other Titanium developers, such as the issue mentioned here: [TIMOB-25733]\r\n\r\nWe have discovered that this is a bug on Google's end which was introduced as of Android 7.0 and it hasn't been fixed yet (as of the time of this comment). The Google bug report can be seen via the link below. It's an issue with circular clipping and animation.\r\nhttps://issuetracker.google.com/issues/37123819\r\n\r\n[~morahman], I recommend that you use Titanium's Ti.UI.createActivityIndicator() feature instead. That will display the native animated circular progress indicator.\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow({ backgroundColor: \"gray\" });\r\nvar indicator = Ti.UI.createActivityIndicator(\r\n{\r\n\tvisible: true,\r\n//\tmessage: \"Optional message goes here.\",\r\n\tstyle: Ti.UI.ActivityIndicatorStyle.BIG,\r\n});\r\nindicator.show();\r\nwindow.add(indicator);\r\nwindow.open();\r\n{code}\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-01T02:49:06.000+0000", "updated": "2018-02-01T02:49:06.000+0000" }, { "id": "441357", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note that we've added radial gradient support on Android as of Titanium 7.1.0.\r\n\r\nThe radial gradient feature can be used to draw a solid circle or ring, which is what the app developer wants. This is a better solution than using rounded borders to \"clip\" the view into a circle, because the rounded clipping is what's buggy on Google's end. Also, radial gradient is hardware accelerated and can render faster as well. See...\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-backgroundGradient\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-05T18:10:07.000+0000", "updated": "2018-09-05T18:10:07.000+0000" }, { "id": "442704", "author": { "name": "spulipakkam", "key": "spulipakkam", "displayName": "Srinivasan Pulipakkam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in 7.1.0", "updateAuthor": { "name": "spulipakkam", "key": "spulipakkam", "displayName": "Srinivasan Pulipakkam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T16:15:55.000+0000", "updated": "2018-10-17T16:15:55.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }