Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6245] Android: Animations provided to Window.open() and close() on Lightweight windows aren't being applied

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-08-14T23:21:17.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsinsight
ReporterOpie Cyrus
AssigneePing Wang
Created2011-11-20T23:43:13.000+0000
Updated2017-03-22T18:22:27.000+0000

Description

animation properties or proxy given to open() or close() methods on a LW window are not supported currently in 1.8. FROM DUPLICATE TIMOB-11790: 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. Ingo Muschenetz 2013-08-14

    [~bdawson] That was my question to [~pwang]. I believe we should "not fix" this.
  2. Ping Wang 2013-08-14

    Since LW window is deprecated in 3.2.0, I think we should not add any new feature to it. I agree to mark this ticket as "won't fix".
  3. Lee Morris 2017-03-22

    Closing ticket as the issue will not fix and with reference to the above comments. LW window has been deprecated.

JSON Source