[TIMOB-16462] iOS: Poor animation when opening a window from a tab on a slow simulator / device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-01-09T22:16:23.000+0000 |
Affected Version/s | Release 3.2.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | animation, open, shocking, smooth, tab |
Reporter | Martijn Kooij |
Assignee | Unknown |
Created | 2014-02-11T21:17:48.000+0000 |
Updated | 2020-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
File | Date | Size |
---|---|---|
iOS Simulator Screen shot 11 Feb 2014 22.06.34.png | 2014-02-11T21:17:48.000+0000 | 71471 |
open_close_tab.mov | 2014-02-13T19:34:52.000+0000 | 2556710 |
tab_open_animation.mov | 2014-02-13T19:15:06.000+0000 | 1070574 |
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?
No, it happens in the default sample code as well. No modifications at all.
We cannot reproduce this issue at all. Would it be possible for you to provide a video to demonstrate the issue?
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.
I have attached a video showing the effect.
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)
Thank you very much for providing the video. I can now reproduce the issue with iPad simulator.
Moving this ticket to engineering as I can reproduce this issue with "Tabbed Application" shipped with Studio.
Is that issue still present on latest Titanium SDK and iOS ?
Was reproducible and still is...
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.