Email dialog orientation change does not change orientation of status bar and keyboard.
// 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 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'
});
var button = Ti.UI.createButton({
title:'Email',
height:40
});
button.addEventListener('click', function(){
var emailDialog = Ti.UI.createEmailDialog();
emailDialog.open();
});
win1.add(label1);
win1.add(button);
//
// 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();
//
Thanks for raising this ticket, Niel In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. For the description, you can use [this template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template) as a starting point. Furthermore, we must be able to reproduce the issue in order to accept it, and so a test case must be included and run without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase) section. Thanks in advance for your cooperation. Cheers
Paul, I have added the few lines of code that will produce the results I am seeing with 1.8.x. All that has to be done is create a new mobile project and add in the lines of code to create an email dialog. Once the device is changed to landscape, the window and keyboard do not behave as expcted. There are no errors in the console to the report.
Niel By not testing your script and ensuring that it runs without modification, it delays the time it takes to get to the engineers. I'd appreciate it if you would test your script, and update it if it does not run. Thanks
I've attached a zip file containing the code. Run simulator or install on device, run application, click on email to launch email dialog, and change orientation to landscape to observe results. Use keyboard and notice that the keyboard and status bar do not behave as expected.
Niel The test case you have provided works as expected for me. Please open a thread in the [Q&A](http://developer.appcelerator.com/questions/created) to verify this with the community, and provide a link to it here, in accordance with our [The Bug-Reporting Lifecycle](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-TheBugReportingLifecycle). Thank you
Paul, Please see thread in the Q&A at http://developer.appcelerator.com/question/130482/emailsms-dialog-do-not-display-properly-on-orientation-change-ti-18--ios.
See Gergely's response to your Q&A. Always consult the community before raising further tickets - we have some really good people there! ;) Cheers
Hi Paul, If inconsistencies are found, should I open another ticket?