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

Android: Splash screen open animation sometimes stutters on cold start

    Details

    • Story Points:
      5
    • Sprint:
      2019 Sprint 17

      Description

      Summary:
      As of Android Q beta 4, the OS displays activity windows via a zoom-in animation on some devices such as the Pixel 3. Because of this new open animation, Titanium's splash screen might stutter during a cold start (but not subsequent startups) as shown by the attached "AndroidQ-Launch.gif" below.

      This issue can happen on older Android OS versions as well, but is less likely to happen and difficult to reproduce. The attached "AndroidP-Launch.gif" shows this happening on Android P with a slide-up transition.

      Notes:

      • This does not happen with Android Q on a Pixel 2 device. (Does not do zoom-in animations.)
      • This stutter only happens when opening a window while the splash screen is still doing its open animation. (Can work-around by delaying opening the first window.)
      • This appears to be a bug on Google's end, but we should attempt to work-around it.

      Steps to reproduce:

      1. Acquire a Pixel 3 device/emulator with Android Q beta 4 or newer.
      2. Download kitchensink-v2 project. (Can be found here.)
      3. Build and run on the Pixel 3.
      4. Notice that the splash screen stutters while opening as shown in GIF above.
      5. To re-test, "force-quit" the app and relaunch the app.

      Work-Around:
      In your "app.js" or "alloy.js", delay opening the first window by about 100ms. Waiting for the splash screen open animation to end works-around the issue.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              3 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