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

Android: Landscape Left/Right handling is backwards

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 2.1.1, Release 3.1.0
    • Fix Version/s: Release 7.0.0
    • Component/s: Android
    • Environment:

      Tested with Titanium SDK: 2.1.1.v20120718121609
      Tested with Titanium  Studio: 2.1.1.201207161421
      Android Device: Samsung GALAXY Note (2.3.6)
      OS: Mac OSX 10.7.3

      Description

      On Android platform, setting up the orientation as landscape left/landscape right only doesn't show the correct behaviour.

      This is not a regression.This issue occurs as far back as 2.0.2

      Steps to reproduce:

      1. Install the app.js and launch it in portrait mode.
      2) Hold device so top is pointing left

      Actual result:
      After Step 1) Image appears in landscape left mode
      After Step 2) Image appears in landscape left mode

      Expected Result:
      After Step 1) Image appears in landscape right mode
      After Step 2) Image appears in landscape right mode

      app.js

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                nchhabra Neha Chhabra
                Reviewer:
                Gary Mathews
                Tester:
                Lokesh Choudhary
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code