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

Orientationchange Stops Firing on iPadOS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 9.0.2
    • Component/s: None
    • Labels:
    • Environment:

      Titanium SDK, 8.3.0, 8.3.1, 9.0.0. Xcode 11.3.1 and Xcode 11.4. iOS 13.4, iPadOS 13.4.

    • Sprint:
      2020 Sprint 8, 2020 Sprint 9

      Description

      When using Titanium SDK, 8.3.0, 8.3.1 or 9.0.0 Orientationchange will stop firing on iPadOS after a short time. Using the example code below you can open the app in the simulator or on device and rotate after a few rotations the event will stop firing, the label and console log will stop changing. Going home, and reopening the app often makes the issue happen right away. A screen recording of the issue can be found here: https://streamable.com/j7m95u

      var win = Ti.UI.createWindow({
          backgroundColor: 'white',
      });
      var label = Ti.UI.createLabel({
          text: 'Height: 0, Count: 0',
          textAlign: 'center'
      })
      var rotateCount = 0;
      Ti.Gesture.addEventListener('orientationchange', function (e) {
            console.log('Height: ' + Ti.Platform.displayCaps.platformHeight);
            rotateCount++;
            label.text = 'Height: ' + Ti.Platform.displayCaps.platformHeight + ', Count: ' + rotateCount;
      });
      win.add(label);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                dlewis23 Donovan Lewis
                Reviewer:
                Christopher Williams
                Tester:
                Samir Mohammed
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration