{ "id": "83793", "key": "TIMOB-6659", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15716", "description": "2013 Sprint 25 API", "name": "2013 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-02T23:52:38.000+0000", "created": "2011-12-14T08:09:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "animation", "insight", "module_animation", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-07-28T21:39:35.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": "See the attached example from the Advanced training course. Click the red fade/in out box, which animates the opacity from 1 to 0 then back. At the point of opacity=0 the box flashes to black, back to transparent, and then animates back to opacity=1.\r\n\r\nMight be related to TIMOB-5460? In prior TiMob releases, we got a flash of the splash screen (heavyweight window) which no longer happens. \r\n\r\nAttached example works fine on iOS.", "attachment": [ { "id": "24651", "filename": "Lab340.zip", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-14T08:09:39.000+0000", "size": 2575543, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: animation of opacity causes flash of black", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "262713", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Still an issue with Ti SDK 3.1.1GA if built to Android 2.x. Doesn't seem to be an issue when built for Android 4.x.\r\n\r\n{code:xml|title=index.xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:title=index.tss}\r\n\".container\": {\r\n\tbackgroundColor:\"white\",\r\n\tlayout: 'vertical'\r\n},\r\n\"Label\": {\r\n\twidth: 300,\r\n\theight: 100,\r\n\ttop: 50,\r\n\tcolor: \"#fff\",\r\n\tbackgroundColor: 'red',\r\n\ttextAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n}\r\n{code}\r\n\r\n{code:title=index.js}\r\nfunction doClick(e) { \r\n $.label.animate({\r\n \topacity: 0,\r\n \tduration: 2000,\r\n \tautoreverse: true\r\n });\r\n}\r\n$.index.open();\r\n{code}\r\n\r\nTested on Galaxy Nexus running 4.2.2 and Droid (original) running 2.2.3", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2013-07-22T20:46:16.000+0000", "updated": "2013-07-22T20:47:07.000+0000" }, { "id": "268234", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "On devices running honeycomb or above, this is fixed as part of the TIMOB-11811 effort. Unfortunately, I was still able to reproduce the problem on a Gingerbread device. Looking into it.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-26T22:18:14.000+0000", "updated": "2013-08-26T22:18:14.000+0000" }, { "id": "270812", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4694\r\n\r\nTest case is precisely the code from Tim above. Please run it both on Gingerbread and ICS/JB. The animation should occur without a black flash.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-12T00:46:44.000+0000", "updated": "2013-09-16T16:23:40.000+0000" }, { "id": "302161", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Animation with opacity occurs without any black flash.\r\n\r\nVerified the fix using:\r\nDevice : Google Nexus 5, Android Version: 4.4.2\r\nDevice: LG-P970, Android version: 4.0.4\r\nDevice : Google Nexus 4, Android Version: 4.1.1\r\nDevice: Samsung Galaxy Duos, Android version: 2.3.6\r\nSDK: 3.3.0.v20140422163054\r\nCLI version : 3.3.0-dev\r\nOS : MAC OSX 10.9.2\r\nAlloy: 1.4.0-dev\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.3.0.201404211130\r\ntitanium-code-processor: 1.1.1-alpha\r\nXCode : 5.1.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-23T10:34:10.000+0000", "updated": "2014-04-23T10:34:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }