AliSherKashif / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Incorrect splash flash for iPad in landscape with the new iOS vm #1382

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please clearly state whether the issue relates to a device/the simulator or
the tools.
If related to a device be sure to specify exactly which device with as much
details as possible.

The problem occurs on on iPad with the new iOS vm

What steps will reproduce the problem?
1. Open app in landscape orientation

What is the expected output? What do you see instead?

For a moment the splash drawn in awakeFromNib is incorrect, a log statement

NSLog(@"Drew image on %i, %i for display %i, %i", imgHeight, imgWidth, wi, he);

in CodenameOne_GLViewController.m prints like this:

Drew image on 768, 768 for display 1024, 768

(that is for splash is used a square image and right side of the screen is 
black as seen in attached screenshot)

What version of the product are you using? On what operating system?

the latest buildserver with ios.newVM=true, tested with iOS 8 simulator an on 
iPad 2

Please provide any additional information below.

It would be nice to remove the mentioned log statement once the problem is 
fixed.

Original issue reported on code.google.com by jaanus.h...@gmail.com on 2 Mar 2015 at 1:42

Attachments: