{ "id": "63005", "key": "TIMOB-2373", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15708", "description": "2013 Sprint 23 API", "name": "2013 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-14T20:22:42.000+0000", "created": "2011-04-15T03:18:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "insight", "module_animation", "qe-closed-3.2.0", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "33228", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "122481", "key": "TIMOB-15719", "fields": { "summary": "Height and width animations have side effects on Galaxy S3", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-21T06:22:56.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": "When attempting to animate height and width on a view in Android, there are some interesting side effects going on in the parent view. Here's an app.js to repro:\r\n\r\n{code}\r\n// Create application main window\r\nvar main = Ti.UI.createWindow({\r\n backgroundColor:'#000'\r\n});\r\n\r\nvar container = Ti.UI.createView({\r\n height:300,\r\n width:300,\r\n backgroundColor:'#fff'\r\n});\r\nmain.add(container);\r\n\r\nvar shifty = Ti.UI.createView({\r\n top:10,\r\n left:10,\r\n height:200,\r\n width:200,\r\n backgroundColor:'#ff0000'\r\n});\r\ncontainer.add(shifty);\r\n\r\nvar btn = Ti.UI.createButton({\r\n title:'do it',\r\n height:50,\r\n width:100,\r\n bottom:10\r\n});\r\nbtn.addEventListener('click', function() {\r\n shifty.animate({\r\n height:50,\r\n width:50,\r\n duration:1500\r\n });\r\n});\r\nmain.add(btn);\r\n \r\nmain.open();\r\n{code}", "attachment": [ { "id": "43411", "filename": "droid3.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T18:22:01.000+0000", "size": 15976, "mimeType": "image/png" }, { "id": "43412", "filename": "samsung_s3.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T18:22:01.000+0000", "size": 28682, "mimeType": "image/png" }, { "id": "43413", "filename": "samsung_s4.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T18:22:01.000+0000", "size": 38249, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Height and width animations have side effects", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "128312", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}
Still occurs in heavyweight windows too.