{ "id": "101650", "key": "TIMOB-11038", "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": "2012-09-21T03:09:36.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios090112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:53.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Animation crashes if the object is clicked 3-4 times quickly. This is not regression since the issue occurs as far as 2.1.0 GA.\r\n\r\nSteps to reproduce:\r\n1. create an app using the code below.\r\n2. Click on the red box 3-4 times quickly.\r\n3. click on blue box 3-4 times quickly.\r\n\r\nActual:\r\n2. Red box does not stop in its original state and then does not respond on click. \r\n3. The box does not stop in original position and then does not respond on click.\r\n\r\nExpected:\r\n2. Object should animate to retain its original state and then respond on click again. \r\n\r\n{code}\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'green'\r\n});\r\n\t\t\t\r\n\t\t\tvar box = Ti.UI.createView({\r\n\t\t\t backgroundColor : 'red',\r\n\t\t\t height : '150dp',\r\n\t\t\t width : '100dp',\r\n\t\t\t top: '50dp'\r\n\t\t\t});\r\n\t\t\t \r\n\t\t\tbox.addEventListener('click', function() {\r\n\t\t\t var matrix = Ti.UI.create2DMatrix().scale(1.5, 1.5);\r\n\t\t\t var a = Ti.UI.createAnimation({\r\n\t\t\t transform : matrix,\r\n\t\t\t duration : 500,\r\n\t\t\t autoreverse : true,\r\n\t\t\t repeat : 2\r\n\t\t\t });\r\n\t\t\t box.animate(a);\r\n\t\t\t});\r\n\t\t\twin1.add(box);\r\n\t\t\t \r\n\t\t\tvar box2 = Ti.UI.createView({\r\n\t\t\t backgroundColor: \"blue\",\r\n\t\t\t top: \"285dp\",\r\n\t\t\t height: \"100dp\",\r\n\t\t\t width: \"100dp\"\r\n\t\t\t});\r\n\t\t\t \r\n\t\t\tbox2.addEventListener(\"click\", function() {\r\n\t\t\t var matrix = Ti.UI.create2DMatrix().rotate(97);\r\n\t\t\t box2.animate({transform: matrix, duration: 500, autoreverse: true, repeat: 2});\r\n\t\t\t});\r\n\t\t\twin1.add(box2);\r\n\t\r\n\t\t\twin1.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Animation - Animation crashes if the object is clicked 3-4 times quickly ", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.1.3.v20120920154617\r\nStudio:2.1.2.201208301612\r\nDevices: iPad2(v 5.1), iOS simulator.\r\nOS:OSX 10.8", "comment": { "comments": [ { "id": "244103", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \niOS iPhone Simulator: iOS SDK version: 6.0\n\nbut it works fine on SDK version: 3.0.2 ", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:38:36.000+0000", "updated": "2013-03-26T08:38:36.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }