[TIMOB-12896] Blackberry : The default app is broken, not showing window background color & labels
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-02T23:08:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 05 BB, 2013 Sprint 05 |
Components | BlackBerry |
Labels | module_window, qe-closed-3.3.0, qe-testadded, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Pedro Enrique |
Created | 2013-02-28T20:30:58.000+0000 |
Updated | 2014-06-30T10:26:07.000+0000 |
Description
This is a regression it works fine in build : 3.1.0v20130225112338
Description:
2.Create & Run default app code below on BB device /simulator
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'blue'
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
var label1 = Titanium.UI.createLabel({
color:'#999',
text:'I am Window 1',
font:{fontSize:20,fontFamily:'Helvetica Neue'},
textAlign:'center',
width:'auto'
});
win1.add(label1);
//
// create controls tab and root window
//
var win2 = Titanium.UI.createWindow({
title:'Tab 2',
backgroundColor:'#fff'
});
var tab2 = Titanium.UI.createTab({
icon:'KS_nav_ui.png',
title:'Tab 2',
window:win2
});
var label2 = Titanium.UI.createLabel({
color:'#999',
text:'I am Window 2',
font:{fontSize:20,fontFamily:'Helvetica Neue'},
textAlign:'center',
width:'auto'
});
win2.add(label2);
//
// add tabs
//
tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
// open tab group
tabGroup.open();
3.Check the app after it launches
Actual Result:
1.We do not see tab window color & the labels
Expected Result:
1.We should see tab window color & labels
Attachments
File | Date | Size |
---|---|---|
build1aug.png | 2013-08-02T07:58:05.000+0000 | 20351 |
build30july.png | 2013-08-02T07:58:05.000+0000 | 50882 |
KS.PNG | 2013-03-01T00:58:53.000+0000 | 32530 |
Screen Shot 2013-02-28 at 12.30.34 PM.png | 2013-02-28T20:30:58.000+0000 | 47890 |
Also,I am not able to see any table views on windows in tabs in KS.Might help in the scale of the issue.Attaching a screenshot for this too. I think nothing will show up a window in tabs.
Verified the fix & the windows on tabs show color & label.Thus closing. Environment: Ti Studio : 3.1.0.201302281824 Ti BB SDK : 3.1.0.v20130303194855 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 Dev alpha B 10 device
Reopening just to update label.
Updated label. Closing as Fixed. Verified with environment: Studio: 3.1.2.201307191853 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261) blackberry SDK: 10.1.0.1020 Default app working well both classic as well as alloy
Verified with: Studio: 3.1.2.201307311816 SDK: 3.1.2.v20130801190110 acs:1.0.4 alloy:1.2.0-alpha3 titanium:3.1.2-alpha titanium-code-processor:1.0.2-alpha OS: OSX 10.8.4 Device:Blackberry-Z10(v 10.0.10.261) blackberry SDK: 10.1.0.1020 Attached the screenshot for the same. Working fine for build 3.1.2.v20130730133101(build30july.png) but for build 3.1.2.v20130801190110(build1aug.png) not getting the labels.
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/146
Verified with: Appcelerator-Studio:3.3.0.201406271159 Sdk:3.3.0.v20140627202512 acs:1.0.14 alloy:1.4.0-rc3 npm:1.3.2 titanium:3.3.0-rc4 titanium-code-processor:1.1.1 xcode:5.1.1 OS:Maverick(10.9.3) Device:Blackberry Z10(10.0.10.261) Default app working well both classic as well as alloy. Hence closing the issue