{ "id": "131012", "key": "TIMOB-17274", "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-29T10:51:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:23.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": "h4. Problem Description\r\nThe animation in the code will suddenly stop if running with 3.2.3.GA/3.3.0.RC. If you are using 3.2.2.GA, will continue without any issue. See the video attached.\r\n\r\nNote, that I has not managed to recreate the issue on the GT-S7562 device. At the same time the issue can be easily recreated on the AVD. \r\n\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t \r\n \r\n \r\n \r\n \r\n \r\n\t\r\n\r\n{code}\r\n{code}\r\nvar view = Ti.UI.createView({\r\n backgroundColor: 'green',\r\n opacity: 1,\r\n width: 30,\r\n height: 30,\r\n});\r\n \r\nvar baseX, baseY;\r\nvar onPostLayout = function() {\r\n baseX = view.rect.x;\r\n baseY = view.rect.y;\r\n\r\n Ti.API.info('postlayout: ' + baseX + \", \" + baseY);\r\n\r\n startAnimation();\r\n \r\n view.removeEventListener('postlayout', onPostLayout);\r\n};\r\n\r\nview.addEventListener('postlayout', onPostLayout);\r\n\r\nvar animation = Ti.UI.createAnimation();\r\n \r\nanimation.addEventListener('complete', function() {\r\n Ti.API.info('Animation complete');\r\n startAnimation();\r\n});\r\n \r\nvar shiftX = 15;\r\nvar shiftY = 15;\r\n \r\nfunction startAnimation() {\r\n shiftX = -shiftX;\r\n shiftY = -shiftY;\r\n \r\n animation.left = baseX + shiftX;\r\n animation.top = baseY + shiftY;\r\n animation.duration = 2000;\r\n \r\n Ti.API.info('Start Animation: ' + JSON.stringify(animation));\r\n view.animate(animation);\r\n};\r\n\r\n$.index.add(view);\r\n$.index.open();\r\n\r\n{code}", "attachment": [ { "id": "48451", "filename": "animation1.avi", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-05-29T10:52:11.000+0000", "size": 3185126, "mimeType": "video/avi" } ], "flagged": false, "summary": "Android: Animation suddenly stops", "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": "308068", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to reproduce the issue with Titanium SDK 3.2.3 GA on Samsung Galaxy device and was not able to reproduce it. I don't see any difference in the animation with Titanium SDK 3.2.2 GA and 3.2.3 GA. \r\n\r\nCan you please try it on some other devices as this will help us narrow down the issue?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-09T18:57:24.000+0000", "updated": "2014-06-09T18:57:24.000+0000" }, { "id": "308140", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello!\r\n\r\nI tested this on Mobile SDK 3.2.3.GA on a Motorola X with Android 4.4.2 and it's working just fine. \r\n\r\nCan you please provide more info? When the animation stops working in your testing? \r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-06-09T23:15:06.000+0000", "updated": "2014-06-09T23:15:06.000+0000" }, { "id": "308454", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "Hi Mauro,\r\n\r\nhave you seen the video attached?\r\nSeems, the easiest way to recreate the issue is to use x86 AVD and the code provided. I've just recreated it on Nexus_10_by_Google, Android 4.4.2/19, Intel Atom (x86) AVD", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-06-11T13:34:26.000+0000", "updated": "2014-06-11T13:34:26.000+0000" }, { "id": "319892", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce\r\n\r\nTitanium SDK version 3.4.0 master, 3.3.0.GA, 3.2.3.GA, 3.2.2.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid emulator , Android version : 2.3.3", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-22T10:07:31.000+0000", "updated": "2014-08-22T10:07:31.000+0000" }, { "id": "319934", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jithinv@exalture.com] can you please try the EXACT AVD as specified in the line above:\r\n\r\nNexus_10_by_Google, Android 4.4.2/19, Intel Atom (x86) AVD", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-22T16:09:55.000+0000", "updated": "2014-08-22T16:09:55.000+0000" }, { "id": "321003", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry, we are unable to test with the specified AVD.", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-29T10:30:42.000+0000", "updated": "2014-08-29T10:30:42.000+0000" }, { "id": "326884", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "I've just made some more tests...\r\nSeems the issue only occurs with \"Use host GPU\" turned 'on'. This time I used the 2.3.3 Android version and was able to recreate the issue.", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2014-10-03T14:53:10.000+0000", "updated": "2014-10-03T14:53:10.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }