{ "id": "61095", "key": "TIMOB-463", "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": "11205", "name": "0.9.3", "archived": true, "released": true, "releaseDate": "2010-03-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:07.000+0000", "created": "2011-04-15T02:29:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:07.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}

In app.js, I added titleImage to the first window constructor.\nWhen the apps starts, the title image is not visible. this seems to\nbe related to having a url in createWindow because the\nwindow_constructor.js test sets the titleImage in the constructor\nand it works.

{html}", "attachment": [], "flagged": false, "summary": "setting titleImage + url in createWindow = doesn't work", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123336", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Notes to self:

\n

TitleImage actually gets set properly the first time around,\nwhen relative to app.js. It uses the image at\n/images/slider_thumb.png.

\n

The problem is that, when generating the controller, it\nregenerates this image, but is now relative to\n/main_windows/base_ui.js, and /main_windows/images/slider_thumb.png\ndoesn't exist.

\n

Bigger issue:

\n

When we're saving any url, where there's a chance that it can be\nrelative to the calling context, we need to save the resulting\nabsolute url instead of the relative fragment.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:29:47.000+0000", "updated": "2011-04-15T02:29:47.000+0000" }, { "id": "123337", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [cc3cbfc6c7b1f5f486b9dada29a9566c350b1a1f])\nCloses #463 \nhttp://github.com/appcelerator/titanium_mobile/commit/cc3cbfc6c7b1f...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:29:47.000+0000", "updated": "2011-04-15T02:29:47.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }