{ "id": "103187", "key": "TIMOB-11406", "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": "14161", "description": "Release 3.0.1", "name": "Release 3.0.1", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14787", "description": "2012 Sprint 26 API", "name": "2012 Sprint 26 API", "archived": true, "released": true, "releaseDate": "2012-12-31" }, { "id": "14786", "description": "2012 Sprint 26", "name": "2012 Sprint 26", "archived": true, "released": true, "releaseDate": "2012-12-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-18T21:40:15.000+0000", "created": "2012-10-12T00:34:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_animation", "qe-ios100112", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:23.000+0000", "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" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description:\r\nObjects change position and size, if device rotated during animation.\r\nThis is not a regression, occurs in 2.1.3 as well\r\n\r\nTest steps:\r\n1. Run this code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'green'\r\n});\r\n \r\nvar 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\twin.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 win.add(box2);\r\nwin.open();\r\n{code}\r\n2. Click on the Red Box \r\n3. Now click on the Blue Box \r\n4. Rotate device and click boxes repeatedly \r\nActual result:\r\nSee attachments\r\nExpected result:\r\nThe red box should twice grow in size and shrink back\r\nThe blue box should rotate\r\n\r\nNote: App could freez", "attachment": [ { "id": "32549", "filename": "anim_rotation_ios6.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T00:34:41.000+0000", "size": 75445, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Animation - Orientation during animation will cause objects to change size and position", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121010184612\r\nDevices:\r\niPad3 ios 5.1.1\r\niPad3 ios 6.0\r\n", "comment": { "comments": [ { "id": "230441", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/3556", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-07T20:47:12.000+0000", "updated": "2012-12-07T20:47:12.000+0000" }, { "id": "232568", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport PR to 3_0_X https://github.com/appcelerator/titanium_mobile/pull/3639", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-27T17:36:11.000+0000", "updated": "2012-12-27T17:36:11.000+0000" }, { "id": "232950", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Animation do not changes size or position on orientation.\r\nVerified with following\r\nTitanium SDK: 3.1.0.v20130102102603\r\nTitanium SDK:3.0.1.v20121228113204\r\nTitanium Studio:3.0.1.201212181159\r\nDevice:\r\niPad3\tiOS 5.1\r\niPad4\tiOs 6.0", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-03T09:48:32.000+0000", "updated": "2013-01-03T09:48:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }