Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27092] Android: Default window transitions broken in SDK 8.0.1

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2019-06-04T21:53:13.000+0000
Affected Version/sRelease 8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterHans Knöchel
AssigneeJoshua Quick
Created2019-05-19T15:59:17.000+0000
Updated2019-06-04T21:53:13.000+0000

Description

After updating to latest master, the Window transitions on Android seem to be broken. Before, the underlaying activities would pop up from bottom to top and now they seem to fade. Please restore the default (native) behavior.

Comments

  1. Hans Knöchel 2019-05-19

    It seems like adding the following setting nearly restores the default behavior, but it still looks a bit different. Also, hardcoding this is bad practice in case the OS changes it's transitions between versions.
       activityEnterTransition: Ti.UI.Android.TRANSITION_SLIDE_BOTTOM
       
  2. Rodolfo Perottoni 2019-05-21

    (y) yep, bring back the native transition please.
  3. Hans Knöchel 2019-05-22

    For anyone struggling with this, we have a custom 8.1.0 version that removed the pull request causing this issues. Download [here](https://www.dropbox.com/s/c8lp0x00j9ntwxf/mobilesdk-8.1.0-osx.zip?dl=1). We use it in production and have none known issues.
  4. Joshua Quick 2019-05-25

    It's not technically broken. It still animates, but it's defaulting to a fade-in animation instead and I can understand why a breaking-change like this would be unwanted. A separate ticket has been made here [TIMOB-27101] to address this in Titanium 8.0.2. *FYI:* What's really happening is that it's doing a "shared-element" activity transition animation by default instead. It's a negative consequence of the change made via [TIMOB-25678] which allows app devs to use the shared-element transition properties such as "activityEnterTransition" without ever having to call addSharedElement()... instead of the older open() method's "activityEnterAnimation" and "activityExitAnimation" properties. The shared-element transition properties offer more animation options versus the other method is much more limited.
  5. Joshua Quick 2019-05-30

    [~hknoechel], I've noticed that the "activityEnterTransition" slide animation is a bit janky too. The slide animation is overlapping the top status bar and bottom navigation bar. I've modified the PR in [TIMOB-27101] to handle this better. It actually looks pretty nice now.
  6. Joshua Quick 2019-06-04

    Closing as duplicate. This issue will be resolved in 8.0.2 via [TIMOB-27101].

JSON Source