#13154 closed defect (fixed)
Some Transition Animations Not Work on Android 2.2/2.3
Reported by: | Ming Zhe Huang | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.1 |
Keywords: | android | Cc: | Atsushi Ono |
Blocked By: | Blocking: |
Description
Please use an Android Mobile Phone (2.2/2.3) to visit the test page: http://archive.dojotoolkit.org/nightly/checkout/dojox/mobile/tests/test_transition-animations2.html The following animations do not work.
Cover Cover (Reverse) Slide Vertical Slide Vertical (reverse) Cover Vertical Cover Vertical (reverse)
Attachments (1)
Change History (13)
comment:1 Changed 10 years ago by
Priority: | normal → high |
---|
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
Cc: | Atsushi Ono added |
---|---|
Keywords: | android added |
comment:5 Changed 10 years ago by
We have been working on this issue. The root cause of this issue appears to be that a transition animation and a scroll animation of ScrollableView? occur at the same time. We have reached a workaround on Android 2.3, although which does not work on Android 2.2. We do further investigation on Android 2.2.
comment:6 Changed 10 years ago by
We have also found a solution on Android 2.2. To dispatch mouse click events initiating transition animations in ScrollableView? with "setTimeout" function resolve this issue. We will commit it after regression tests.
comment:7 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I tried the mobile gallery. Some transition effects do NOT 100% work in "Transitions" demo: Cover, Cover(reverse), Slide Vertical, Slide Vertical(reverse). Please see the attached test case. They sometimes fail. It seems that the problem is related to the deep component hierarchy.
Changed 10 years ago by
Attachment: | test_transition-animation3.html added |
---|
Test case for deep component hierarchy
comment:9 Changed 10 years ago by
flip still isnt working on android in beta 2 - see test_transition-animations2.html
comment:10 Changed 10 years ago by
Yes, as far as I know, rotateY/rotateZ on webkit on android 2.2/2.3 are broken, thus animations that use rotateY/rotateZ (like flip) never work on such platforms. There's nothing we can do about it.
onoat, correct me if I am wrong.
comment:11 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [25734]) Fixes #13154 !strict. View#performTransition changes display/visibility styles a couple of times, reducing of them seems to mitigate the problem. The problem apparently comes from android animation's instability, so there's no logical explanation here. The revealv animation was too fast. Adjusted its duration.
hi kami, what's the latest status on this? we're getting close to beta2