{ "id": "130115", "key": "TIMOB-16937", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-05-07T14:50:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "animation" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:08.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": " Round view animation looks weird. See the images attached.\r\n\r\n{code:xml}\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n{code}\r\n{code}\r\nvar viewDescriptors = [\r\n { backgroundColor: 'blue', borderRadius: 100, width: 100, height: 100, left: 50, top: 50 },\r\n { backgroundColor: 'blue', borderRadius: 50, width: 100, height: 100, left: 190, top: 50 },\r\n { backgroundColor: 'blue', width: 100, height: 100, left: 330, top: 50 }\r\n];\r\n\r\nvar views = [];\r\n\r\nfunction onButton(e) {\r\n views.forEach(function(view) {\r\n var animation = Ti.UI.createAnimation({\r\n duration : 20000,\r\n top : view.top + 3,\r\n left : view.left + 3\r\n });\r\n \r\n $.label.setText($.label.getText() + \"([\" + view.left + \",\" + view.top + \"] -> [\" + animation.left + \",\" + animation.top + \"]) \");\r\n view.animate(animation);\r\n });\r\n}\r\n\r\n\r\n$.theWindow.open();\r\n\r\nviewDescriptors.forEach(function(descriptor) {\r\n var view = Ti.UI.createView(descriptor);\r\n views.push(view);\r\n $.theWindow.add(view);\r\n});\r\n{code}\r\n", "attachment": [ { "id": "47890", "filename": "final_screen.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-07T14:50:25.000+0000", "size": 24757, "mimeType": "image/jpeg" }, { "id": "47887", "filename": "initial_screen.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-07T14:50:25.000+0000", "size": 23732, "mimeType": "image/jpeg" }, { "id": "47888", "filename": "intermediate_screen_1.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-07T14:50:25.000+0000", "size": 28518, "mimeType": "image/jpeg" }, { "id": "47889", "filename": "intermediate_screen_2.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-07T14:50:25.000+0000", "size": 27227, "mimeType": "image/jpeg" }, { "id": "47923", "filename": "roundviewtest.avi", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-08T18:00:08.000+0000", "size": 4665284, "mimeType": "video/avi" } ], "flagged": false, "summary": "Android: Animation does not work properly for round views", "creator": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "subtasks": [], "reporter": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "environment": "Windows 7, 3.2.3.GA, Android", "comment": { "comments": [ { "id": "303872", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fixplease] Thank you for the screenshot and the test case. I am sorry, but I am not seeing the same behavior (intermediate and final screenshots) for the round views. \r\n\r\nI tried it on Samsung Galaxy S4 device. Are you using any specific device?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T19:05:54.000+0000", "updated": "2014-05-07T19:05:54.000+0000" }, { "id": "304017", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "The original screenshots were made on *Samsung GT-N8000 / Android 4.1.2*.\r\nIn addition to that I've just recreated the issue on *Samsung GT-I9152 / Android 4.2.2* and android emulator as well.\r\nBtw, in order to be sure we are on the same ground I've created a new project from the scratch and copy/pasted the code and markup from the bug report. And the new project was used to recreate the issue.", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-08T15:15:56.000+0000", "updated": "2014-05-08T15:15:56.000+0000" }, { "id": "304030", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fixplease] I still don't see any difference in the code above. Can you please make sure you have copied/pasted the code here? I also see a new ticket TC-4102 as well and assuming its different one.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T17:02:02.000+0000", "updated": "2014-05-08T17:02:02.000+0000" }, { "id": "304053", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "{quote}\r\nCan you please make sure you have copied/pasted the code here?\r\n{quote}\r\nI've attached a video on how I do copy/paste, build and run the code. Take a look, please. And I've checked the same newly created project on the GT-N8000 as well. The issue was recreated on the device exactly the same as before. \r\n\r\n{quote}\r\nI also see a new ticket TC-4102 as well and assuming its different one.\r\n{quote}\r\nRight. The TC-4102 is a different one. Investigate the issue as well, please.", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-08T18:00:08.000+0000", "updated": "2014-05-08T18:00:08.000+0000" }, { "id": "304055", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks. Will check.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T18:04:23.000+0000", "updated": "2014-05-08T18:04:23.000+0000" }, { "id": "304085", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "I've just recreated the issue on *Samsung GT-S7562 / Android 4.0.4*.", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-08T19:24:22.000+0000", "updated": "2014-05-08T19:24:22.000+0000" }, { "id": "304148", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case. Same test case works on iOS platform as expected.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-09T05:36:56.000+0000", "updated": "2014-05-09T05:36:56.000+0000" }, { "id": "307073", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "any update on the issue, please?", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-30T21:18:38.000+0000", "updated": "2014-05-30T21:18:38.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }