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

iOS8: First launch - unexpected layout for Ti.UI.Portrait

    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

      When launching app in a LANDSCAPE_RIGHT mode, the image layout is wrong. Rotating device to PORTRAIT results in image size reduction.
      It happens only on first launch. Killing the app and launching it again will result in an expected layout.
      app.js

      var win = Ti.UI.createWindow({
      	backgroundColor:'white'
      });
       
      var img = Ti.UI.createImageView({image:'grouch.jpg'});
       
      win.add(img);
       
      win.orientationModes = [
          Ti.UI.PORTRAIT,
          Ti.UI.UPSIDE_PORTRAIT
      ];
       
      win.open();
      
      

        Attachments

        1. expected.png
          expected.png
          416 kB
        2. fixed.png
          fixed.png
          733 kB
        3. grouch.jpg
          grouch.jpg
          51 kB
        4. ios8_1st .png
          ios8_1st .png
          288 kB
        5. ios8_1strotate.png
          ios8_1strotate.png
          314 kB

          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-19171
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code