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

Android orientations on orientationchange not providing accurate results in some Android Tablets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 5.0.1, Release 5.0.2, Release 5.0.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Device Name: Galaxy tab 3 10.1
      Model Number: GT-P5210
      Android Version: 4.4.2
      Kernel Version: 3.4.34-2435918, dpi@SWDD5910 #1
      Build Number: KOT49H.P5210UEU0CNK1
      Screen Size: 1280 x 800

      Titanium SDK 5.0.2GA

    • Story Points:
      5

      Description

      Issue description

      With the new Titanium SDK, SINCE 4.1.0, Android tablets that have their default orientation in landscape are reporting it's orientation as portrait when it is actually landscape and landscape when it is actually portrait. The customer experienced this issue using the Samsung Galaxy Tab 3 model GT-P5210.

      Steps to replicate

      -Create a new titanium alloy project
      -Open the app folder
      -Replace the index.xml file inside views folder, the index.tss file inside styles folder and the index.js file inside controllers
      -Change orientation in emulator
      -Build and run
      -Device Orientation is sometimes detected as portrait when it is actually landscape and landscape when it is actually portrait

        Attachments

        1. index.js
          1 kB
        2. index.tss
          0.4 kB
        3. index.xml
          0.1 kB

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              rramirez Ricardo Ramirez
              Reviewer:
              Hieu Pham
            • Watchers:
              21 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code