Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11790] Android: Lightweight window animations on open not working

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-14T21:21:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
LabelsSupportTeam, allen-review, core, insight
ReporterVarun Joshi
AssigneeAllen Yeung
Created2012-11-15T21:42:53.000+0000
Updated2017-03-20T22:10:57.000+0000

Description

Note: Heavyweight windows are addressed in TIMOB-10302.

Issue

Animations on opening a lightweight window are not working.

Steps to Reproduce

1. Run the sample code below {noformat} var win = Ti.UI.createWindow({ backgroundColor: 'white' }); win.open(); win.addEventListener('click', function(){ var win1 = Ti.UI.createWindow({ backgroundColor: 'red', left: 320 }); var slide_it_left = Titanium.UI.createAnimation(); slide_it_left.left = 0; slide_it_left.duration = 300; win1.open(slide_it_left); }); {noformat} 2. No animation occurs. The new window is stuck at position 320.

Comments

  1. Allen Yeung 2013-08-01

    This works on the latest master (for 3.2.0)
  2. Mark Mokryn 2013-08-01

    This issue is probably irrelevant for 3.2 since lightweight windows are a legacy feature.
  3. Allen Yeung 2013-08-01

    My mistake, seems to still be valid if we enable legacy mode.
  4. Bill Dawson 2013-08-14

    Duplicate of TIMOB-6245

JSON Source