{ "id": "117463", "key": "TIMOB-14619", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-07-22T20:58:05.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "animation" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:45.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The following simple app demonstrates the issue with autoreverse:\r\n\r\nTap the first label and it will animate to zero opacity and back once. Tap it again and it disappears (goes to opacity=0 instantly). This label is animated using autoreverse=true\r\n\r\nTapping the second box, the label correctly animates to zero opacity and back to opacity=1 as many times as you want to tap the label. This label is animated using a callback function with autoreverse unspecified.\r\n\r\n{code:xml|title=index.xml}\r\n\r\n\t\r\n\t\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\"#label2\": {\r\n\tbackgroundColor: 'green'\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\r\nfunction doClick2(e) { \r\n $.label2.animate({\r\n \topacity: 0,\r\n \tduration: 2000\r\n }, function() {\r\n \t$.label2.animate({\r\n \t\topacity: 1,\r\n \t\tduration: 2000\r\n \t})\r\n });\r\n}\r\n$.index.open();\r\n{code}\r\n\r\nPossible regression. See TIMOB-8091", "attachment": [], "flagged": false, "summary": "Android: autoreverse=true works once, then element disappears; callback works fine", "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": "Titanium 3.1.1GA\r\nGalaxy Nexus, 4.2.2\r\nMotorola Droid 2.2.3", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }