[TIMOB-16973] Blackberry : NavBar visible in the child window for BB platform
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-12T12:09:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | blackberry, defect, module_navbar, qe-testadded |
Reporter | Sapan Varshney |
Assignee | Pedro Enrique |
Created | 2014-05-15T07:49:49.000+0000 |
Updated | 2014-06-20T21:36:53.000+0000 |
Description
NavBar is visible in the child window when opened as a modal for blackberry platform. NavBar doesn't hides even if navBarHidden is set to true.
Steps to reproduce:
1. Create a classic Project and add two js files app.js and child.js.
2. Copy the code below in respective files.
3. Click on the open window button
Actual Result:
Child window is opened with the Navbar
Expected Result:
Navbar should be hidden
{Code}
-----------------------
app.js
var win=Ti.UI.createWindow({
backgroundColor:'white'
});
var button=Ti.UI.createButton({
title:'Open Window',
top:50,
width:100,
height:50
});
button.addEventListener('click',function(e){
var win=Ti.UI.createWindow({
url:'child.js',
backgroundColor:'white'
});
win.open({modal:true});
});
win.add(button);
win.open();
-----------------------------------
child.js
var win=Ti.UI.currentWindow;
{Code}
Attachments
Confirmed with 3.2.3.GA
This has been fixed with the Window refactor. Also, as an FYI, we don't support the "url" property in windows for BB
Tested and verified fixed using Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406171619 Titanium SDK, build: 3.3.0.v20140620104112 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-rc npm@1.3.2 titanium@3.3.0-rc titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1) NavBar is not visible in the child window.