{ "id": "129971", "key": "TIMOB-16918", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16271", "description": "2014 Sprint 10 SDK", "name": "2014 Sprint 10 SDK", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T17:08:50.000+0000", "created": "2014-05-05T17:57:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "module_animation", "qe-testadded", "regression" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-23T17:08:50.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Not sure how this even got past testing. Pretty sure this is related to the animation changes you made from 3.2.2. A now simple animation completely breaks in this latest build, which is unfortunate as i was looking forward to some of these properties. Major regression.\r\n\r\nTest case is simple, i want a View to slide over to reveal content underneath it.\r\n\r\nin 3.2.2 This works as expected. In 3.2.3, seemingly the right side never moves?\r\n\r\nAlloy\r\n\r\nXML\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n{code}\r\n\r\nJavascript\r\n{code}\r\nvar anim = Ti.UI.createAnimation({\r\n\tduration: 250\r\n});\r\n\r\n$.slidingContainer.addEventListener('click', function(){\r\n\tvar animateAmmount = 500;\r\n\tvar animationSuffix = \"px\";\r\n\t\r\n\tanim.right = animateAmmount + animationSuffix;\r\n\tanim.left = (animateAmmount * -1) + animationSuffix;\r\n\t\r\n\t$.slidingContainer.animate(anim);\r\n\t\r\n});\r\n\r\n$.win.open();\r\n{code}\r\n\r\nTSS\r\n{code}\r\n\"Window\": {\r\n\tbackgroundColor: \"blue\",\r\n\tfullscreen: true\r\n}\r\n\r\n\"View\":{\r\n\tbackgroundColor: \"red\",\r\n\tleft: 0,\r\n\tright: 0,\r\n\ttop: 0,\r\n\tbottom: 0\r\n}\r\n{code}\r\n\r\nAny Workaround?", "attachment": [], "flagged": false, "summary": "Android: 'right' and 'bottom' animations broken for Honeycomb+ devices", "creator": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "environment": "Android, 3.2.3 SDK", "closedSprints": [ { "id": 104, "state": "closed", "name": "2014 Sprint 10 SDK", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:47.424Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "303521", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~paul h] Thank you for bringing this to our attention.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T18:52:43.000+0000", "updated": "2014-05-05T18:52:43.000+0000" }, { "id": "303522", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this to engineering as I can reproduce this issue on Samsung Galaxy S4 with the provided sample code.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T18:53:21.000+0000", "updated": "2014-05-05T18:59:06.000+0000" }, { "id": "303870", "author": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "body": "It seems like both \"right\" and \"bottom\" annimations are broken", "updateAuthor": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "created": "2014-05-07T18:58:54.000+0000", "updated": "2014-05-07T18:58:54.000+0000" }, { "id": "303873", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue is reproducible in alloy & classic apps. We are investigating further on this issue.\r\n\r\nTest code for classic app:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:\"blue\",\r\n\tfullscreen:true\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor: \"red\",\r\n left: 0,\r\n right: 0,\r\n top: 0,\r\n bottom: 0\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext:\"This is animation test\"\r\n});\r\n\r\nvar anim = Ti.UI.createAnimation({\r\n duration: 250\r\n});\r\n\r\nview.addEventListener('click', function(){\r\n\tvar animateAmmount = 500;\r\n var animationSuffix = \"px\";\r\n \r\n anim.right = animateAmmount + animationSuffix;\r\n anim.left = (animateAmmount * -1) + animationSuffix;\r\n \r\n view.animate(anim);\r\n});\r\n\r\nview.add(label);\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405011408\r\nTi SDK : 3.2.3.GA\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-dev\r\nCLI - 3.3.0-dev\r\nNexus 5 - android 4.4.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T19:07:32.000+0000", "updated": "2014-05-07T19:07:32.000+0000" }, { "id": "303879", "author": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "body": "Another note: Not too surprisingly, this issue also exists in the CI 3.3.x builds. Same as 3.2.3", "updateAuthor": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "created": "2014-05-07T19:15:38.000+0000", "updated": "2014-05-07T19:15:38.000+0000" }, { "id": "305028", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Possibly related to TIMOB-16614, TIMOB-16087, TIMOB-15951 or TIMOB-15719", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T10:35:49.000+0000", "updated": "2014-05-15T10:35:49.000+0000" }, { "id": "305224", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This regression is caused by https://github.com/appcelerator/titanium_mobile/pull/5226", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T00:41:25.000+0000", "updated": "2014-05-16T00:41:25.000+0000" }, { "id": "305388", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5699", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-17T00:22:20.000+0000", "updated": "2014-05-17T00:22:20.000+0000" }, { "id": "305390", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Additional testing code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:\"blue\",\r\n fullscreen:true\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n backgroundColor: \"red\",\r\n left: '40dp',\r\n right: '40dp',\r\n top: '40dp',\r\n bottom: '40dp'\r\n});\r\n\r\nvar view2 = Ti.UI.createView({\r\n \tbackgroundColor: \"green\",\r\n left: '40dp',\r\n right: '40dp',\r\n top: '40dp',\r\n bottom: '40dp'\r\n});\r\n \r\nvar label = Ti.UI.createLabel({\r\n text:\"This is animation test. This is animation test.\"\r\n});\r\n \r\nvar anim = Ti.UI.createAnimation({\r\n duration: 250\r\n});\r\n \r\nview2.addEventListener('click', function(){\r\n var animateAmmount = 20;\r\n var animationSuffix = \"dp\";\r\n \r\n anim.right = '100dp';\r\n anim.left = '-20dp';\r\n anim.top = '-20dp';\r\n anim.bottom = '100dp';\r\n \r\n view2.animate(anim);\r\n});\r\n \r\nview.add(view2);\r\nview2.add(label);\r\nwin.add(view);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-17T00:25:37.000+0000", "updated": "2014-05-17T00:25:37.000+0000" }, { "id": "305810", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T21:52:28.000+0000", "updated": "2014-05-20T21:52:28.000+0000" }, { "id": "305813", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3.3.X PR: https://github.com/appcelerator/titanium_mobile/pull/5713", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T22:00:04.000+0000", "updated": "2014-05-20T22:00:04.000+0000" }, { "id": "306252", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nThe view moves to reveal the view underneath & works as expected.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405211748\r\nTi SDK : 3.3.0.v20140522144936\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-alpha2\r\nCLI - 3.3.0-alpha5\r\nCode Processor: 1.1.1\r\nSamsung Galaxy S4 running android 4.2.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T16:55:20.000+0000", "updated": "2014-05-23T16:55:20.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }