{ "id": "60836", "key": "TIMOB-204", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:25:24.000+0000", "created": "2011-04-15T02:25:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "problem", "refresh", "settoolbar" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:10:19.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Hi all,

\n

I'm using TM on iPhone.

\n

I can successfully create a toolbar with:
\nTitanium.UI.currentWindow.setToolbar

\n

The problem is: I need to update it on the fly while the program\nis running (adding/removing some buttons) and the only way I found\nto do this, is to re-update the toolbar calling \"setToolbar\"\nagain.

\n

This works fine if my main view is at 0,0. If I have a view\nlarger than screen height, and I scroll it with my finger at Y >\n0, when I call setToolbar I can see a very bad \"refresh\" problem\n(like toolbar is resized or it falls quickly from top).

\n

I hope I explained it well, btw it's very easy to reproduce\n:)

\n

There's a way to avoid that or something we could fix in the\nsource code??

\n

Thanks again.

{html}", "attachment": [], "flagged": false, "summary": "iPhone setToolbar refresh problem", "creator": { "name": "danielemaiorana", "key": "danielemaiorana", "displayName": "Daniele Maiorana", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "danielemaiorana", "key": "danielemaiorana", "displayName": "Daniele Maiorana", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122940", "author": { "name": "danielemaiorana", "key": "danielemaiorana", "displayName": "Daniele Maiorana", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I hope this could help: I have same behaviour on iPhone\nsimulator and on real device

{html}", "updateAuthor": { "name": "danielemaiorana", "key": "danielemaiorana", "displayName": "Daniele Maiorana", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:24.000+0000", "updated": "2011-04-15T02:25:24.000+0000" }, { "id": "122941", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Changes in codebase have mooted this since then.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:25:24.000+0000", "updated": "2011-04-15T02:25:24.000+0000" }, { "id": "410508", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:10:19.000+0000", "updated": "2017-03-09T21:10:19.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }