You will see the 'top' of the window shifts down at the same height as the status bar.
To reproduce in KS:
1. Go to Phone > Play Movie > Embedded Video in KS (top video will start)
2. Click the arrows to go fullscreen while playing
3. Turn the simulator of device left or right orientation at least once. (You can stay landscape or go back to portrait)
4. Let the movie complete itself. (Do not press 'done')
This only seems to happen when the movie completes itself.
Clicking to another tab and back again appears to reset the top of the window back again.
Helpdesk ticket that reported this:
http://support.appcelerator.com/tickets/KYR-94554-295/homepage
Please see if this is still occurring.
Still valid in d502b23, but there have been a number of orientation fixes since; could be resolved by these. TIMOB-6379 must be resolved first.
Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2
This bug seems to still exist. Ti Studio: 1.0.9.201202141208 Ti SDK: 1.8, 1.8.1, 1.8.2, 2.0.0.v20120319173321 Xcode 4.2 Mac OS X 10.6.8
Niel - Please add a test case that demonstrates this issue.
Neeraj, 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(); tabGroup.orientationModes = [Titanium.UI.PORTRAIT]; // // create base UI tab and root window // var win2 = Titanium.UI.createWindow({ title:'Tab 2', backgroundColor:'#fff' }); var button2 = Ti.UI.createButton({ title:'Watch YouTube Video', height:40 }); button2.addEventListener('click', function() { var win3 = Titanium.UI.createWindow({ title:'YouTube', backgroundColor:'#CCC' }); var url = 'http://www.youtube.com/watch?v=6b4ZZQkcNEo'; var html = '' + '' + '' + '
Reopening based on the latest test case.
Same issue still exists within 1.8.2 on a device: app.js: http://pastebin.com/9WWvyqeK videoplayer.js: http://pastebin.com/BYBMQ0mM Comments from customer: "While a video is running, if orientation switches to landscape and video is set to full screen, then when orientation goes back to portrait and video.fullscreen = false, the window is positioned incorrectly. Basically, the title bar of the window is underneath the status bar. On my real app, the width of the window is cut off as well." Instead of opening a new ticket, I have used this one to continue the discussion. If you would like me to open a new one, just let me know. HD ticket: http://support-admin.appcelerator.com/display/APP-237638