Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16462] iOS: Poor animation when opening a window from a tab on a slow simulator / device

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T22:16:23.000+0000
Affected Version/sRelease 3.2.1
Fix Version/sn/a
ComponentsiOS
Labelsanimation, open, shocking, smooth, tab
ReporterMartijn Kooij
AssigneeUnknown
Created2014-02-11T21:17:48.000+0000
Updated2020-01-09T22:16:23.000+0000

Description

When you open a new window from within a tab the open animation sort of animates in a jagged/shocking way. As if the animation is rendered using large blocks with a height of ~100pixels at a time. Even the root window's background color often shows in the bottom half of the screen. I managed to capture the effect in a screenshot using the iPad Retina simulator. You can reproduce the issue by creating the default Classic/Tabbed application template and opening the window. The effect is most obvious on a retina iPad in landscape. This is the call that triggers the open with the default animation.
self.containingTab.open(Ti.UI.createWindow({
  title: L('newWindow'),
  backgroundColor: 'white'
}));
The issue has been in Ti SDK for as long as I know. I always thought I was doing something wrong, but I am not... So time to report the issue cause apparently no one else is seeing it...

Attachments

FileDateSize
iOS Simulator Screen shot 11 Feb 2014 22.06.34.png2014-02-11T21:17:48.000+000071471
open_close_tab.mov2014-02-13T19:34:52.000+00002556710
tab_open_animation.mov2014-02-13T19:15:06.000+00001070574

Comments

  1. Ritu Agrawal 2014-02-12

    Thanks for reporting this issue. Just to make sure that I understand this issue, you are saying that default Class Tabbed application has poor animation. Are you making any change to this sample? If yes, can you please provide complete code?
  2. Martijn Kooij 2014-02-12

    No, it happens in the default sample code as well. No modifications at all.
  3. Ritu Agrawal 2014-02-13

    We cannot reproduce this issue at all. Would it be possible for you to provide a video to demonstrate the issue?
  4. Martijn Kooij 2014-02-13

    I would say the screenshot shows it already, a video will only prove it a tiny bit more... It appears to be easier to see with higher resolutions + slower devices. It is barely visible on an iPhone for instance, but clearly visible on a retina iPad. So have you tried it on the iPad Retina simulator in landscape? The animation you see in the screenshot is the default slide from right to left. It appears to be animating in blocks of n pixels height causing large chunks to be somehow delayed a tiny bit? I will try to find some screencapturing software tonight, but I can hardly believe you can't see it whereas I can see it on both the simulator as on a standard iPad 3.
  5. Martijn Kooij 2014-02-13

    I have attached a video showing the effect.
  6. Martijn Kooij 2014-02-13

    The close animation is not that smooth either actually. Not as bad as the open animation, but still far from smooth. I have attached another video showing both opening and closing (still the default tabbed application template, no changes). Tried it on the last nightly SDK as well (20140210)
  7. Ritu Agrawal 2014-02-14

    Thank you very much for providing the video. I can now reproduce the issue with iPad simulator.
  8. Ritu Agrawal 2014-02-14

    Moving this ticket to engineering as I can reproduce this issue with "Tabbed Application" shipped with Studio.
  9. Hans Knöchel 2015-10-20

    Is that issue still present on latest Titanium SDK and iOS ?
  10. Martijn Kooij 2015-10-20

    Was reproducible and still is...
  11. Alan Hutton 2020-01-09

    This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source