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

Device width and height value incorrect on first orientation change (Android)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Description

      Just like previous issues related to orientation changes (which seem to be fixed now), there's a problem with device width/height detection now.

      Initially the device width and height values are correct. But, on the first orientation change it returns the same values. After the second change it returns the values that it should have returned the first time, which results in a reversed width/height value.

      Workaround: read the properies for a second time, with a delay of +/- 1000 ms. This returns the correct value.

      URL to test project: https://content.skoften.net/test.zip (can't upload due to 10MB limit)

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              arif Arjan
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration