{ "id": "63737", "key": "TIMOB-3105", "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": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:56.000+0000", "created": "2011-04-15T03:37:07.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "enterprise", "regression", "release-1.6.0", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:56.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Regression

\n

Using the latest 1.6.0 builds, backgroundImage and\nbackgroundColor do not work on Android in a tab's window. Windows\nthat are not part of a tab work fine.

\n

Sample Code

\n
\n// note: toggle the comment on backgroundColor or backgroundImage to see that neither work on a tab's window\nvar win = Titanium.UI.createWindow({\n    //backgroundColor: 'green',\n    backgroundImage: 'KS_nav_ui.png'\n});\n\n// this will show hte background color and image:\n//win.open();\n\n// but this won't:\nvar tabGroup = Ti.UI.createTabGroup();\nvar tab = Titanium.UI.createTab({\n    window: win\n});\ntabGroup.addTab(tab);\ntabGroup.open();\n
\n

Tested On

\n

Tested with Titanium SDK version: 1.6.0 (02/09/11 23:02\n4d4ffa0...)
\nBROKEN in Android Emulator 2.2
\nWORKS in iPhone Simulator 4.2

\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/71921

{html}", "attachment": [], "flagged": false, "summary": "Android: Tab Window background regression", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "130085", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

I'd also like to note that the issue was NOT present in the\nfollowing build, so it has been introduced in a build after\nthis:
\nTitanium SDK version: 1.6.0 (02/02/11 15:22 a02f7db...)

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:37:07.000+0000", "updated": "2011-04-15T03:37:07.000+0000" }, { "id": "130086", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Another customer has noticed this.

\n

2nd Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/72271

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:37:07.000+0000", "updated": "2011-04-15T03:37:07.000+0000" }, { "id": "130087", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [3369dd72308c02ea2d223d07892390a1fc702607])\npost a job to change the background color/image of a heavyweight\nwindow's activity if we're in processProperties (this apparently\nneeds
\nto happen after onCreate() is finished) [#3105\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/3369dd72308c...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:37:08.000+0000", "updated": "2011-04-15T03:37:08.000+0000" }, { "id": "130088", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [73e58a17929ae60095422ead5782db36d769a19c])\npost a job to change the background color/image of a heavyweight\nwindow's activity if we're in processProperties (this apparently\nneeds
\nto happen after onCreate() is finished) [#3105\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/73e58a17929a...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:37:08.000+0000", "updated": "2011-04-15T03:37:08.000+0000" }, { "id": "130089", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

closing against provided content using [INFO] Titanium SDK version: 1.6.0 (02/11/11\n15:10 4d6eb7a...) and sim 2.1, g1 (1.6) samsung tab (2.2.2), nexus\n2 (2.3.2)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:37:08.000+0000", "updated": "2011-04-15T03:37:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }