[TIMOB-943] orientation-specific splash screens don't render correctly on iPad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:39:47.000+0000 |
Updated | 2011-04-17T01:54:44.000+0000 |
Description
see attached to reproduce
Attachments
File | Date | Size |
---|---|---|
ipadorientation.zip | 2011-04-15T02:39:47.000+0000 | 1755967 |
(from [ff0293fdb7a4195122184754c0c11005b28eb211]) Closes #943 . On start, we listen to the device orientation because the status bar orientation is false at boot. Added bonus, is that when the orientation was programmatically enforced, we now listen to when the device rotates back to where the application thought it would be. http://github.com/appcelerator/titanium_mobile/commit/ff0293fdb7a4195122184754c0c11005b28eb211"> http://github.com/appcelerator/titanium_mobile/commit/ff0293fdb7a41...
I just tried this latest build on the iPad using the KitchenSink-iPad demo:
The initial screen with the four demo buttons loads up OK in landscape orientation at full width - but the splash image momentarily displays sideways - in portrait - then flashes to the right orientation before opening the app.
Then, when I try any of the tests (with the device still in landscape orientation) the windows open up with the split view showing, but the widths of the windows only have the width set as if they wee in portrait mode (ie: the height in landscape)
Rotating the ipad to portrait then back to landscape fix this and then displays everything as expected.
Re-opened, apparently there's a split-second flash of the default screen after the "right" screen is shown. In landscape the default "portrait" also appears drawn in the portrait rectangle, which looks very strange on a landscape iPad (and probably just as bad as on a landscape iPhone).
So this is secretly two bugs.
(from [32be64d85693872fa01eedde920809989c158b99]) Closes #943: Splash screen load based on device/orientation. http://github.com/appcelerator/titanium_mobile/commit/32be64d85693872fa01eedde920809989c158b99"> http://github.com/appcelerator/titanium_mobile/commit/32be64d856938...