{ "id": "133793", "key": "TIMOB-17461", "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-08-20T18:46:42.000+0000", "created": "2014-07-28T06:37:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "module_animation", "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-22T05:50:26.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": "The image is suppose to move from point A to point B but with a border added to the image, the image moves down and disappears behind something that isn't there...\r\n\r\nTest code as follows (isolated from working project), one image has a border the other doesn't... both images use the same animation\r\n{code}\r\nvar window = Titanium.UI.createWindow({});\r\n\r\nvar congrats = Titanium.UI.createImageView({\r\n\ttop: 200,\r\n\tleft:10,\r\n\twidth: 100,\r\n\theight: 80,\r\n\timage:'images/congratsimage.png',\r\n});\r\nwindow.add(congrats);\r\n\r\nvar congratsalt = Titanium.UI.createImageView({\r\n\ttop: 200,\r\n\twidth: 100,\r\n\tright: 10,\r\n\theight: 80,\r\n\timage:'images/congratsimage.png',\r\n\tborderRadius : 10,\r\n\tborderColor : \"#000000\",\r\n\tborderWidth : 5,\r\n});\r\nwindow.add(congratsalt);\r\n\r\nvar animation = Titanium.UI.createAnimation({\r\n\ttop: 50,\r\n\tduration:1000,\r\n\tautoreverse : true,\r\n\tcurve:Titanium.UI.ANIMATION_CURVE_LINEAR,\r\n});\r\n\r\nvar butStart = Titanium.UI.createButton({\r\n\ttitle : 'START',\r\n\tfont : {\r\n\t\tfontSize : 32\r\n\t},\r\n\tcolor : '#ffffff',\r\n\tborderRadius : 10,\r\n\tborderColor : \"#ffffff\",\r\n\tborderWidth : 5,\r\n\tbackgroundImage: 'none',\r\n\ttop: 400,\r\n\twidth: 200,\r\n\theight: 50,\r\n});\r\nwindow.add(butStart);\r\nbutStart.addEventListener('click', function () {\r\n\tcongrats.animate(animation);\r\n\tcongratsalt.animate(animation);\r\n});\r\nwindow.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Animation bug for using border on imageView on Ti SDK 3.2.3", "creator": { "name": "MAMSoft", "key": "mamsoft", "displayName": "Michael Mathews", "active": true, "timeZone": "America/Denver" }, "subtasks": [], "reporter": { "name": "MAMSoft", "key": "mamsoft", "displayName": "Michael Mathews", "active": true, "timeZone": "America/Denver" }, "environment": "SDK 3.2.3\r\nEmulator Android 2.3.3\r\nActual phone Galaxy S2 Android version 4.1.2", "comment": { "comments": [ { "id": "317226", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nCan you please try to use SDK 3.3.0GA, see whether this problem is there. \r\nAlso I tried SDK 3.2.3GA, there is a total different behaviours.\r\n\r\nWith SDK 3.3.0\r\n--The animation works well.\r\nWith SDK 3.2.3\r\n--For Android 4.2.2, the image with border do not move at all.\r\n--For Android 2.3.6, the image with move down like you mentioned.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-08-06T05:35:26.000+0000", "updated": "2014-08-06T05:35:26.000+0000" }, { "id": "317239", "author": { "name": "MAMSoft", "key": "mamsoft", "displayName": "Michael Mathews", "active": true, "timeZone": "America/Denver" }, "body": "Hi Shuo,\r\n\r\nThank you for looking into this issue.\r\n\r\nI tried the test app using 3.3.0 as you suggest and it gave the desired results on both my Galaxy S2 running Android version 4.1.2 and also on the emulator running Android 2.3.3.\r\n\r\nMichael Mathews", "updateAuthor": { "name": "MAMSoft", "key": "mamsoft", "displayName": "Michael Mathews", "active": true, "timeZone": "America/Denver" }, "created": "2014-08-06T06:42:46.000+0000", "updated": "2014-08-06T06:42:46.000+0000" }, { "id": "317240", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nThank you for your report. \r\n\r\nI will forward this ticket to engineer team to take care of this problem in SDK 3.2.3. For now, you'd better run your app in SDK 3.3.0\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-08-06T06:47:35.000+0000", "updated": "2014-08-06T06:47:35.000+0000" }, { "id": "319445", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce in \r\nTitanium SDK version 3.4.0 master, 3.3.0.GA\r\n\r\nIssue reproduces in\r\nTitanium SDK version 3.2.3.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", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T10:07:57.000+0000", "updated": "2014-08-20T10:07:57.000+0000" }, { "id": "319526", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nThe animation works as expected & the view with the border does not disappear.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201408180158\r\nTi SDK : 3.4.0.v20140819094113\r\nMac OSX : 10.8.5\r\nAlloy : 1.5.0-dev\r\nCLI - 3.4.0-dev\r\nCode Processor: 1.1.1\r\nNexus 5 - android 4.4.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T18:43:04.000+0000", "updated": "2014-08-20T18:43:04.000+0000" }, { "id": "319866", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce in \r\nTitanium SDK version 3.4.0 master, 3.3.0.GA\r\n\r\nIssue reproduces in\r\nTitanium SDK version 3.2.3.GA\r\n\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid emulator : Android version :2.3.3", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-22T05:50:26.000+0000", "updated": "2014-08-22T05:50:26.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }