{ "id": "122481", "key": "TIMOB-15719", "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": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15823", "description": "2014 Sprint 02 API", "name": "2014 Sprint 02 API", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-22T22:22:10.000+0000", "created": "2013-11-14T20:16:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_animation", "qe-testadded", "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33228", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63005", "key": "TIMOB-2373", "fields": { "summary": "Android: Height and width animations have side effects", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-18T21:45:01.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": "{code}\r\nvar main = Ti.UI.createWindow({ backgroundColor:'#000' });\r\n\r\nvar container = Ti.UI.createView({ height:300, width:300, backgroundColor:'#fff' });\r\nmain.add(container);\r\n\r\nvar shifty = Ti.UI.createView({ top:10, left:10, height:200, width:200, backgroundColor:'#ff0000' });\r\ncontainer.add(shifty);\r\n\r\nvar btn = Ti.UI.createButton({ title:'do it', height:50, width:100, bottom:10 });\r\nbtn.addEventListener('click', function() {\r\nshifty.animate({ height:50, width:50, duration:1500 });\r\n});\r\nmain.add(btn);\r\n\r\nmain.open();\r\n{code}\r\n\r\nRun the above test case on Samsung S3 (4.0.4) and click the button.\r\nExpected behavior: both height and width of the square animate to 25%.\r\nActual behavior: see the attached screen shot in TIMOB-2373.\r\n\r\nIf we turn on the hardware acceleration in tiapp.xml {code}android:hardwareAccelerated=\"true\"{code} the animation will work fine.\r\n\r\nThis bug only happens on 3.2.0 because in 3.2.0 we start using the new animation mechanism - [Property Animation|http://developer.android.com/guide/topics/graphics/prop-animation.html].", "attachment": [], "flagged": false, "summary": "Height and width animations have side effects on Galaxy S3", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "284579", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo], Correct.. at this point, we do not know of a more graceful fix.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-16T22:33:54.000+0000", "updated": "2013-12-16T22:33:54.000+0000" }, { "id": "288376", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/5226\nFor FR, please follow the testing steps in TIMOB-15951, TIMOB-16087, TIMOB-15719, TIMOB-2373, TIMOB-13536.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T00:13:38.000+0000", "updated": "2014-01-16T00:13:38.000+0000" }, { "id": "289447", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/5245", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-23T18:25:22.000+0000", "updated": "2014-01-23T18:25:22.000+0000" }, { "id": "298178", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on samsung galaxy S3 running android 4.0.4 & it seems to be fixed. We do not see any side effects & the animations are smooth as expected.\r\n\r\nEnvironment:\r\nAppc Studio : 3.2.3.201403181115\r\nTi SDK : 3.2.3.v20140320130134 , 3.3.0.v20140319124903\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.1\t\r\nCLI - 3.2.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-21T00:24:39.000+0000", "updated": "2014-03-21T00:24:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }