Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12896] Blackberry : The default app is broken, not showing window background color & labels

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-08-02T23:08:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 05 BB, 2013 Sprint 05
ComponentsBlackBerry
Labelsmodule_window, qe-closed-3.3.0, qe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-02-28T20:30:58.000+0000
Updated2014-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

FileDateSize
build1aug.png2013-08-02T07:58:05.000+000020351
build30july.png2013-08-02T07:58:05.000+000050882
KS.PNG2013-03-01T00:58:53.000+000032530
Screen Shot 2013-02-28 at 12.30.34 PM.png2013-02-28T20:30:58.000+000047890

Comments

  1. Lokesh Choudhary 2013-03-01

    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.
  2. Lokesh Choudhary 2013-03-04

    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
  3. Priya Agarwal 2013-07-23

    Reopening just to update label.
  4. Priya Agarwal 2013-07-23

    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
  5. Priya Agarwal 2013-08-02

    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.
  6. Pedro Enrique 2013-08-02

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/146
  7. Priya Agarwal 2014-06-30

    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

JSON Source