[TIMOB-15089] Tizen: Apps built with tizen 2.2 and 3.1.3 SDK are missing basic functionality
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-09-10T18:32:24.000+0000 |
Affected Version/s | Release 3.1.3 |
Fix Version/s | Release 3.1.3 |
Components | Tizen |
Labels | qe-3.1.3, qe-nfc, qe-testadded |
Reporter | Lokesh Choudhary |
Assignee | Ingo Muschenetz |
Created | 2013-09-09T18:26:34.000+0000 |
Updated | 2014-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
Resolved by mistake.
Resolved by PR: https://github.com/appcelerator/titanium_mobile_tizen/commit/d16bcf24a21ed27bd2b8042f9c3501617a036390
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