{ "id": "86616", "key": "TIMOB-7688", "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": "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-08-01T18:25:35.000+0000", "created": "2012-02-16T13:13:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "insight", "module_animation", "parity", "qe-manualtest" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "15245", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85488", "key": "TIMOB-7412", "fields": { "summary": "Android: V8/Rhino: Animation: Setting animation on a lightweight window makes the window color go transparent", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-08T17:41:09.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": "Sample code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\t//fullscreen: true,\r\n\tbackgroundColor: 'blue'\r\n});\r\n\r\nvar bkgdView = Ti.UI.createView({\r\n\twidth: '200dp',\r\n\theight: '200dp',\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\n\r\nvar fromColor = 'green';\r\nvar toColor = 'red';\r\n\r\nvar v = Ti.UI.createView({\r\n\twidth: '100dp',\r\n\theight: '100dp',\r\n\tbackgroundColor: fromColor\r\n});\r\n\r\nv.addEventListener('click', function() {\r\n\tv.animate({\r\n\t\tbackgroundColor: toColor,\r\n\t\tduration: 500\r\n\t});\r\n});\r\n\r\nvar b = Ti.UI.createButton({\r\n\ttitle: 'Animate',\r\n\tbottom: '10dp',\r\n\tleft: '10dp'\r\n});\r\n\r\nb.addEventListener('click', function() {\r\n\tv.animate({\r\n\t\tbackgroundColor: toColor,\r\n\t\tduration: 500\r\n\t});\r\n});\r\n\r\nbkgdView.add(v);\r\nwin.add(bkgdView);\r\nwin.add(b);\r\nwin.open();\r\n{code}\r\n\r\nSteps to reproduce:\r\n1. run the above sample code (either LW or HW window) on 2.x devices.\r\n2. click the button \"Animate\".\r\n\r\nActual result:\r\nPart of the white view is blinking during the animation.\r\n\r\nExpected result:\r\nThe white view should not blink.\r\n\r\nFor comparison, if clicking the green view, the white view stays white without blinking during the animation. (TIMOB-7412)", "attachment": [], "flagged": false, "summary": "Android: Animation: button makes view blinking on 2.x devices", "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": "242205", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Button makes blinking on 2.x (Tested on emulator)\r\nbut It cannot reproduce with higher versions (4.x) \r\n\r\n\r\n\r\ntested on:\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\nAndroid Emulator: Android SDK version: 2.2\r\n\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T11:19:29.000+0000", "updated": "2013-03-14T11:31:21.000+0000" }, { "id": "264472", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This has been fixed in 3.2.0", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T18:25:35.000+0000", "updated": "2013-08-01T18:25:35.000+0000" }, { "id": "275902", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310181700\r\nSdk:3.2.0.v20131018154951\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Samsung Note(v 2.3,6),iphone5(v7)\r\nXcode: 5\r\n\r\n\r\nAnimation works fine no blinks of the view found while animating", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T09:24:43.000+0000", "updated": "2013-10-21T09:24:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }