Project: titanium
Issue TIMOB-17646: iOS8: Popover: The app does not change orientation when popover is visible
h5. Description: 1. Replace the code in app.js with the code below: {code} var win = Titanium.UI.createWindow(); win.orientationModes = [ Titanium.UI.PORTRAIT, Titanium.UI.UPSIDE_PORTRAIT, Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT, ]; var b1 = Titanium.UI.createButton({ title:'Show Gallery', width:200, height:40, top:40 }); b1.addEventListener('click', function() { Titanium.Media.openPhotoGallery({ success:function(event) { Ti.API.debug('Success!'); }, cancel:function() { }, allowEditing:true }); }); win.add(b1); win.open(); {code} 2. Build & run the app on Ipad/Ipad mini (I had I pad mini). 3. Tap the show Gallery button. 4. With the popover visible change the device orientation to landscape or any other orientation. h5. Actual Result: 1. The orientation does not change. 2. Close the popover & change the orientation of the device, you will see that the orientation now changes. NOTE: The orientation changes as expected for ipad(mini in my case) devices with iOS 7.0.3 & iOS 6.1.3 h5. Expected Result: 1. The orientation should change when the popover is visible
Story points: 5