{ "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.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:18:07.000+0000", "updated": "2011-04-15T03:18:07.000+0000" }, { "id": "130787", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:23:29.000+0000", "updated": "2011-04-15T07:23:29.000+0000" }, { "id": "215861", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120821095711, issue still valid. Sometimes it animates the view perfectly fine, other times it actually has some weird effect on the parent view. If you keep trying for a few times, you should eventually be able to reproduce it.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-23T12:11:51.000+0000", "updated": "2012-08-23T12:11:51.000+0000" }, { "id": "264448", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is resolved in 3.2.0.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T17:05:29.000+0000", "updated": "2013-08-01T17:05:29.000+0000" }, { "id": "276387", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening ticket. Bug still occurs on Samsung Galaxy S4 (4.2.2) and Samsung Galaxy S3 (4.0.4) (see samsung_s4.png and samsung_s3.png). However, bug seems fixed on Droid3 (2.3.4) (see droid3.png)\n\nTested on:\n\nTitanium Studio, build: 3.2.0.201310230548\nOS: Mac OS X Mountain Lion (10.8.5)\nSDK build: 3.2.0.v20131022171645\nTi CLI: 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f)\nDevices: Droid3 (2.3.4), Samsung Galaxy S3 (4.0.4), Samsung Galaxy S4 (4.2.2)\n\nNote: If you are testing on a higher density android device like Samsung Galaxy S3, then add this to you tiapp.xml:\n{code}\n\n\t \n\t \n\t \n\t\n{code}", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T18:21:47.000+0000", "updated": "2013-10-23T18:21:47.000+0000" }, { "id": "279263", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/4957", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T00:35:03.000+0000", "updated": "2013-11-13T00:35:03.000+0000" }, { "id": "279614", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The above PR fixes the issue on JellyBean devices. The issue on Galaxy S3 is filed as a different ticket TIMOB-15719.\nResolved this ticket as Fixed.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T20:22:22.000+0000", "updated": "2013-11-14T20:22:22.000+0000" }, { "id": "280579", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "+Verified fixed on:+\nMax OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311200322\nTitanium SDK, build: 3.2.0.v20131120142443\nCLI: 3.2.0-alpha\nAlloy: 1.3.0-alpha\n\n+Tested and fixed on the following devices:+\nSony Xperia U (2.3.7)\nSony Xperia S (4.1.2)\nSamsung Galaxy Note II (4.1.2)\nGoogle Nexus 5 (4.4)\nSamsung Galaxy S4 (4.2.2\n\n+Still occurs on:+\nSamsung Galaxy SIII (4.0.4)\n\nAnimation runs smoothly using the code in the example with both fixes provided in comments.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-21T18:45:05.000+0000", "updated": "2013-11-21T18:45:05.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }