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

iOS8: Portrait size window does not resize after rotation to landscape

    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
    • Environment:
    • Story Points:
      8
    • Sprint:
      2014 Sprint 18 SDK

      Description

      To reproduce

      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();
       
       
      //
      // create base UI tab and root window
      //
      var win1 = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff',
          navBarHidden: false,
          tabBarHidden: true
      });
      var tab1 = Titanium.UI.createTab({  
          icon:'KS_nav_views.png',
          title:'Tab 1',
          window:win1
      });
       
      var b1 = Titanium.UI.createButton({
      	title:'Win 2',
      	height:40,
      	width:200,
      	top:30
      });
       
      win1.add(b1);
       
      b1.addEventListener('click', function(e)
      {
          var w = Titanium.UI.createWindow({
      	fullscreen:true,
      	//url:'new_win.js',
      	barColor:'#111',
      	orientationModes:[Titanium.UI.LANDSCAPE_LEFT]
          });
          
          tab1.open(w);
      });
       
      tabGroup.addTab(tab1);  
       
       
      // open tab group
      tabGroup.open();
      

      1. Click Win2
      2. Return to Tab1

      Actual result

      Portrait size window in landscape mode
      Note: it is a regression against iOS 7.1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                oromero Olga Romero
                Tester:
                Olga Romero
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code