{ "id": "142354", "key": "TIMOB-18321", "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": "2015-01-06T20:50:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:18.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": [], "description": "Updating UI property (like Ti.UI.Button.title) from timer function causes crash inside HAL. Likely related to #30 and #47. Note that `Ti.API.info` works in this case.\r\n\r\n{code}\r\njavascript\r\n'use strict';\r\n\r\nvar win = Ti.UI.createWindow();\r\nvar view = Ti.UI.createView();\r\nvar btn = Ti.UI.createButton();\r\nbtn.title = 'Test';\r\nbtn.backgroundColor = 'blue';\r\n\r\nview.add(btn);\r\nwin.add(view);\r\n\r\nvar count = 0;\r\nvar timerId = setInterval(function () {\r\n Ti.API.info('TIMER ' + timerId + ': ' + count);\r\n btn.title = 'TIMER ' + timerId + ': ' + count;\r\n if (++count > 10) {\r\n clearInterval(timerId);\r\n }\r\n}, 1000);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Updating UI property from timer causes crash", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }