[TIMOB-3105] Android: Tab Window background regression
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:00:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 |
Components | Android |
Labels | android, enterprise, regression, release-1.6.0, reported-1.6.0, rplist |
Reporter | Dawson Toth |
Assignee | Don Thorp |
Created | 2011-04-15T03:37:07.000+0000 |
Updated | 2011-04-17T02:00:56.000+0000 |
Description
Regression
Using the latest 1.6.0 builds, backgroundImage and backgroundColor do not work on Android in a tab's window. Windows that are not part of a tab work fine.
Sample Code
// note: toggle the comment on backgroundColor or backgroundImage to see that neither work on a tab's window
var win = Titanium.UI.createWindow({
//backgroundColor: 'green',
backgroundImage: 'KS_nav_ui.png'
});
// this will show hte background color and image:
//win.open();
// but this won't:
var tabGroup = Ti.UI.createTabGroup();
var tab = Titanium.UI.createTab({
window: win
});
tabGroup.addTab(tab);
tabGroup.open();
Tested On
Tested with Titanium SDK version: 1.6.0 (02/09/11 23:02
4d4ffa0...)
BROKEN in Android Emulator 2.2
WORKS in iPhone Simulator 4.2
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/71921">http://developer.appcelerator.com/helpdesk/view/71921
I'd also like to note that the issue was NOT present in the following build, so it has been introduced in a build after this:
Titanium SDK version: 1.6.0 (02/02/11 15:22 a02f7db...)
Another customer has noticed this.
2nd Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/72271">http://developer.appcelerator.com/helpdesk/view/72271
(from [3369dd72308c02ea2d223d07892390a1fc702607]) post a job to change the background color/image of a heavyweight window's activity if we're in processProperties (this apparently needs
to happen after onCreate() is finished) [#3105 state:fixed-in-qa]
https://github.com/appcelerator/titanium_mobile/commit/3369dd72308c02ea2d223d07892390a1fc702607"> https://github.com/appcelerator/titanium_mobile/commit/3369dd72308c...
(from [73e58a17929ae60095422ead5782db36d769a19c]) post a job to change the background color/image of a heavyweight window's activity if we're in processProperties (this apparently needs
to happen after onCreate() is finished) [#3105 state:fixed-in-qa]
https://github.com/appcelerator/titanium_mobile/commit/73e58a17929ae60095422ead5782db36d769a19c"> https://github.com/appcelerator/titanium_mobile/commit/73e58a17929a...
closing against provided content using [INFO] Titanium SDK version: 1.6.0 (02/11/11 15:10 4d6eb7a...) and sim 2.1, g1 (1.6) samsung tab (2.2.2), nexus 2 (2.3.2)