Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17646] iOS8: Popover: The app does not change orientation when popover is visible

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-09-15T16:29:20.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 3.4.0, Release 3.5.0
ComponentsiOS
Labelsios8, qe-3.4.0
ReporterLokesh Choudhary
AssigneeVishal Duggal
Created2014-09-08T18:25:01.000+0000
Updated2014-11-21T20:27:13.000+0000

Description

Description:

1. Replace the code in app.js with the code below:
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();
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.

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

Expected Result:

1. The orientation should change when the popover is visible

Comments

  1. Ingo Muschenetz 2014-09-12

    This might be fixed. Need to confirm.
  2. Vishal Duggal 2014-09-13

    Fixed with changed for TIMOB-17648

JSON Source