{ "id": "124509", "key": "TIMOB-16145", "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": "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-09-10T07:38:10.000+0000", "created": "2014-01-08T01:33:27.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_animation", "parity", "qe-testadded", "supportTeam" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-10-14T00:54:48.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": "h6.Issue description\r\nWhen animating a view with a border on android, the animations are clipped to the bounds of the border. It appears that the border becomes the new 'parent' of the view, rather than the window that owns it.\r\n\r\nh6.Steps to reproduce:\r\n1. Launch application using Titanium SDK 3.2 on an Android device\r\n2. Swipe down on each of the rectangles and observe behaviour.\r\n3. Run once again on iOS simulator to notice parity\r\n\r\nh6.Sample code\r\n{code}\r\n(function() {\r\n\r\n\tvar myAppWindow = Ti.UI.createWindow({\r\n\t\tbackgroundColor : 'white'\r\n\t});\r\n\r\n\tvar view1 = Ti.UI.createView({\r\n\t\twidth : 100,\r\n\t\theight : 100,\r\n\t\tleft : 20,\r\n\t\ttop : 50,\r\n\t\tbackgroundColor : \"blue\",\r\n\t\tborderColor : \"black\",\r\n\t\tborderWidth : 5\r\n\t});\r\n\r\n\tvar view2 = Ti.UI.createView({\r\n\t\twidth : 100,\r\n\t\theight : 100,\r\n\t\tright : 20,\r\n\t\ttop : 50,\r\n\t\tbackgroundColor : \"red\"\r\n\t});\r\n\r\n\tview1.addEventListener('swipe', function(e) {\r\n\t\tif (e.direction === \"down\") {\r\n\t\t\tvar moveDownAnimation = Ti.UI.createAnimation({\r\n\t\t\t\ttop : 150,\r\n\t\t\t\tduration : 500,\r\n\t\t\t\tautoreverse : true\r\n\t\t\t});\r\n\t\t\tview1.animate(moveDownAnimation);\r\n\t\t}\r\n\t});\r\n\r\n\tview2.addEventListener('swipe', function(e) {\r\n\t\tif (e.direction === \"down\") {\r\n\t\t\tvar moveDownAnimation = Ti.UI.createAnimation({\r\n\t\t\t\ttop : 150,\r\n\t\t\t\tduration : 500,\r\n\t\t\t\tautoreverse : true\r\n\t\t\t});\r\n\t\t\tview2.animate(moveDownAnimation);\r\n\t\t}\r\n\t});\r\n\r\n\tmyAppWindow.add(view1);\r\n\tmyAppWindow.add(view2);\r\n\r\n\tmyAppWindow.open();\r\n})(); \r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Animation issue when setting borderColor & borderWidth on a Ti.UI.View", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.3, 4.0.4", "comment": { "comments": [ { "id": "322745", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces in \r\nTitanium SDK version 3.2.3.GA, 3.2.0.GA\r\n\r\nCannot reproduce in \r\nTitanium SDK version 3.4.0 master, 3.3.0.GA\r\n\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4\r\niOS simulator : iPhone Retina (3.5-inch), iOS 7.0.3\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T07:37:37.000+0000", "updated": "2014-09-10T07:37:37.000+0000" }, { "id": "323037", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with environment:\r\n\r\nAppcelerator Studio:3.4.0.201409101253\r\nSdk:3.4.0.v20140910235714\r\nalloy:1.5.0-rc\r\ntitanium:3.4.0-rc\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6GMSeed \r\nDevice:iPhone5c(v8.0),Nexus7(v4.4.4)\r\n\r\nAnimation working same in both ios and android\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T10:02:38.000+0000", "updated": "2014-09-11T10:02:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }