[TIMOB-7926] Android: Window open event doesn't fire using tabgroup to open the window
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-03T17:21:07.000+0000 |
Affected Version/s | Release 1.8.1, Release 1.8.2 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | Android |
Labels | module_tabgroup, qe-testadded |
Reporter | Nikhil Sharma |
Assignee | Hieu Pham |
Created | 2012-03-08T02:35:13.000+0000 |
Updated | 2013-12-10T05:59:46.000+0000 |
Description
Window open event doesn't get fired, using tabgroup to open the window.
Repro Steps
1. Run the below code. 2. The window open event doesn't get fired.
var tabGroup = Ti.UI.createTabGroup();
var win = Ti.UI.createWindow({ backgroundColor: '#fff', title: 'Win 1' });
tabGroup.addTab(Ti.UI.createTab({
window: win,
title: win.title
}));
win.addEventListener('open', function() {
alert('win1 opened!');
});
tabGroup.open();
Closing as Fixed. SDK: 2.0.0.v20120315140247 Android: V8, Rhino Studio: 2.0.0.201203142055 OS: Snow Leopard Devices Tested: Emulator 2.2, Revolution 2.3.4, Xoom 3.2.1
Open to update label
Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/5074