Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15089] Tizen: Apps built with tizen 2.2 and 3.1.3 SDK are missing basic functionality

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-09-10T18:32:24.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sRelease 3.1.3
ComponentsTizen
Labelsqe-3.1.3, qe-nfc, qe-testadded
ReporterLokesh Choudhary
AssigneeIngo Muschenetz
Created2013-09-09T18:26:34.000+0000
Updated2014-06-19T12:43:49.000+0000

Description

Cant say if it is a regression as we are testing against tizen 2.2 for the first time.Also can't test tizen 2.2 apps with 3.1.2GA because of the signer utility fix in 3.1.3 specific for tizen 2.2.

Description:

1. Create an app for tizen from the default apps from studio or create an app with the following code in the app.js
// 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:'#fff'
});

var but = Ti.UI.createButton({
    title:'click me',
    width:60,
    top:30
});

but.addEventListener('click',function(e){
    alert('click received');
    Ti.API.info('clicked received');
});

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);
win1.add(but);
//
// 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();
2.Build & run for tizen emulator/device. 3.After the app has launched tap on the button 'click me' or tap on tab2

Actual Result:

1.Tapping on 'tab2' in the above code does not open the tab2. Also,tapping on the button does not bring up the alert or the logs in the console. 2.One more observation in the default master detail app is that tapping on the rows of fruit names does not open any view or window with the price of the fruit according to the code which means issue with table view 3. There might be other functionality's broken too.

Expected Result:

1.The apps should not break & work appropriately.

Comments

  1. Lokesh Choudhary 2013-09-10

    Resolved by mistake.
  2. Ingo Muschenetz 2013-09-10

    Resolved by PR: https://github.com/appcelerator/titanium_mobile_tizen/commit/d16bcf24a21ed27bd2b8042f9c3501617a036390
  3. Lokesh Choudhary 2013-09-10

    Verified the fix & the default apps run as with it functionality's working as expected. Closing. Environment: Appcel Studio : 3.1.3.201309072408 Ti SDK : 3.1.3.v20130910031755 Mac OSX : 10.8.4 Alloy : 1.2.2-beta CLI - 3.1.2 win 7 Win 8 Tizen sdk 2.2 Tizen emulator 2.2 Tizen device running 2.2

JSON Source