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

iOS: platformWidth, platformHeight don't work using OrientationModes and NavigationWindow

    Details

      Description

      If I selectively lock orientation modes for windows within a navigation Window stack, platformWidth and platformHeight can get very confused.

      See example code.

      • launch app in iPhone 6 simulator (portrait) and click "log dimensions" : correctly logs 375x667
      • click "open new window" and then "log dimensions": correctly logs 375 x 667
      • hit nav left button to close win2
      • rotate simulator to landscape left; win1 stays in portrait
      • click "log dimensions" : correctly logs 375x667
      • click "open new window"; win2 opens briefly in portrait, then adjusts itself to landscape
      • click "log dimensions": INCORRECTLY logs 375x667

      Also:

      • launch app in iPhone 6 simulator (portrait) and click "log dimensions" : correctly logs 375x667
      • click "open new window" and then "log dimensions": correctly logs 375 x 667
      • rotate simulator to landscape left; win2 shifts to landscape
      • click "log dimensions" : correctly logs 667x375
      • hit nav left button to close win2; win1 shows in landscape briefly, then adjusts itself to portrait
      • click "log dimensions": INCORRECTLY logs 667x375

      This is probably related to this issue: https://jira.appcelerator.org/browse/TIMOB-5086

      It's been open a LONG time.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpriebe Jason Priebe
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code