{ "id": "108854", "key": "TIMOB-12965", "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": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-05-01T22:36:50.000+0000", "created": "2013-01-30T12:56:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "linvalid", "mobileweb" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:32.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "The animation engine assumes the DOM node that needs to be updated is always elem.domNode, but for UI elements derived from FontWidget, the animation engine needs to animate the DOM nodes in elem._styleableDomNodes.\r\n\r\nBug description: Ti.UI.Animation.color doesn't work\r\n\r\nReproduction steps:\r\n\r\n Create label with green text\r\n Create Animation object\r\n Set Animation color to red and delay to 3 seconds\r\n Call animate on label\r\n\r\nExpected behavior: Label text should become red after 3 seconds\r\n\r\nActual behavior: Label text doesn't change color.\r\n\r\nNote: test project is in the attachment\r\n\r\nCode example: \r\n\r\n{code} var self = Ti.UI.createView();\r\n \r\n // Create a Label.\r\n var label = Ti.UI.createLabel({\r\n text : 'label',\r\n color : 'green',\r\n textAlign : 'center'\r\n });\r\n \r\n // Add to the parent view.\r\n self.add(label);\r\n \r\n var animation = Ti.UI.createAnimation();\r\n animation.color = 'red';\r\n animation.delay = 3000;\r\n\r\n \r\n self.addEventListener('postlayout', function(e) {\r\n console.log('postlayout');\r\n label.animate(animation);\r\n });\r\n{code}", "attachment": [ { "id": "35189", "filename": "AnimationSample.zip", "author": { "name": "roman.kamenetsky", "key": "roman.kamenetsky", "displayName": "Roman Kamenetsky", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-30T12:56:58.000+0000", "size": 4925486, "mimeType": "application/zip" } ], "flagged": false, "summary": "Mobile Web: Animating FontWidget UI elements doesn't work", "creator": { "name": "roman.kamenetsky", "key": "roman.kamenetsky", "displayName": "Roman Kamenetsky", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "roman.kamenetsky", "key": "roman.kamenetsky", "displayName": "Roman Kamenetsky", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI version 3.0.22, Titanium SDK version 3.0.1.v20130114133207", "comment": { "comments": [ { "id": "240824", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with Code in 2.1.4 - 3.1.0:\n{code}\nwin = Ti.UI.createWindow({\n\tbackgroundColor: 'black'\n});\nvar view = Ti.UI.createView({\n\tbackgroundColor: 'black'\n});\n\nvar label = Titanium.UI.createLabel({\n\tcolor: 'white',\n\ttext: 'click me',\n textAlign : 'center'\n});\n\nview.add(label);\n\nfunction animationHandler(){\n\tview.animate({\n color: 'red',\n\tduration:2000\n });\n\n}\nview.addEventListener('click',animationHandler);\n\nwin.add(view);\nwin.open();\n{code}", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T22:55:33.000+0000", "updated": "2013-03-05T22:55:33.000+0000" }, { "id": "418510", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as \"Won't Fix\" as MobileWeb is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T22:36:50.000+0000", "updated": "2017-05-01T22:36:50.000+0000" }, { "id": "436408", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:32.000+0000", "updated": "2018-04-04T23:20:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }