{ "id": "103475", "key": "TIMOB-11499", "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": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2012-12-07T20:52:51.000+0000", "created": "2012-10-16T12:21:27.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "animation", "core", "ios", "look1", "nested-animations", "qe-ios100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T23:40:53.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": "This is not a regression. It exists as far as 2.0.1.\r\n\r\nThe view if clicked while it is animating, do not resizes to its original size. \r\n\r\nSteps to reproduce:\r\n1. Use the code below in app.js and run the app\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor : 'white'});\r\n\t\t\t\r\n\t\t\tvar box = Ti.UI.createView({\r\n\t\t\t\tbackgroundColor : 'red',\r\n\t\t\t\theight : '120',\r\n\t\t\t\twidth : '100',\r\n\t\t\t\ttop: 70\r\n\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\tbox.addEventListener('click', function() {\r\n\t\t\t\tvar matrix = Ti.UI.create2DMatrix()\r\n\t\t\t\tmatrix = matrix.rotate(90);\r\n\t\t\t\tmatrix = matrix.scale(2, 2);\r\n\t\t\t\tvar a = Ti.UI.createAnimation({\r\n\t\t\t\t\ttransform : matrix,\r\n\t\t\t\t\tduration : 500,\r\n\t\t\t\t\tautoreverse : true,\r\n\t\t\t\t\trepeat : 2\r\n\t\t\t\t});\r\n\t\t\t\tbox.animate(a);\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\twin.add(box);\r\n\t\t\twin.open();\r\n\r\n{code}\r\n2. Click the red view\r\n3. Click the red view again while it is animating(it may take 2-3 attempts to reproduce the issue)\r\n\r\nExpected result\r\n2. The view should start animating.\r\n3. It should reset animation cycle, complete it and return to the original size.\r\n\r\nActual result:\r\n2. The view starts animating.\r\n3. View resets the animation cycle but do not returns to its original size ever.", "attachment": [], "flagged": false, "summary": "iOS: Animation:New layout is set for view if clicked while animating.", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 3.0.0.v20121015174610\r\nTitanium  Studio: 2.1.3.201209101847\r\nDevice : iPad iOS 6.0 , iPad iOS 5.1\r\nXcode : 4.5 \r\nMachine OS : MAC 10.8", "comment": { "comments": [ { "id": "230443", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "We have never supported nesting animations and right now we have no plans to do so. Marking this ticket as hold.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-07T20:52:18.000+0000", "updated": "2012-12-07T20:52:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }