Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17646

iOS8: Popover: The app does not change orientation when popover is visible

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: Release 3.4.0, Release 3.5.0
    • Component/s: iOS
    • Labels:
    • Environment:

      Environment:
      Appc Studio : 3.4.0.201409032106
      Ti SDK : 3.4.0.v20140907150914
      Mac OSX : 10.9.4
      Alloy : 1.5.0-beta
      CLI - 3.4.0-beta
      Code Processor: 1.1.1
      xcode 6 beta 7
      Ipad mini - IOS 8.0b5

    • Story Points:
      5
    • Sprint:
      2014 Sprint 18 SDK

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                lchoudhary Lokesh Choudhary
                Tester:
                Lokesh Choudhary
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19172
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code