Build 947: Twitter SSO Window is cut using "zoomEven" on iPhone 5, NOOK Tablet, etc.

Hi,

I already posted this problem because of a NOOK Tablet app rejection:
https://developer.coronalabs.com/forum/2012/11/05/show-stopping-bug-build-945-app-rejected-nook-tablet

Now I found out that this problem happens with iPhone 5 too, using full 640x1136 portrait mode and “zoomEven”.

Please have a look at the iPhone 5 screenshot taken on the device:
http://apps.oetingerverlag.de/iPhone5TwitterSSO.PNG

The Twitter SSO window does not respect the screen dimensions of the devices with a very widescreen aspect ratio like iPhone 5 or NOOK Tablet.

This is bad, because my app was rejected because of this.
You can use the login on the window, but you cannot activate the “remember me” checkbox.

In comparison the Facebook pop up does respect the screens dimensions with iPhone 5 and “zoomEven”:
http://apps.oetingerverlag.de/iPhone5Facebook.PNG

If you ask for a testcase - please use the Twitter SSO example with a config.lua like this:


application =
{
content =
{
width = 320,
height = 480,
scale = “zoomEven”,
xalign = “center”,
yalign = “center”,

imageSuffix =
{
["@2"] = 2,
["@4"] = 4,
},
},
}

Best,
Andreas
[import]uid: 133261 topic_id: 32721 reply_id: 332721[/import]

[This is a re-post of my reply from the previous thread]

Andreas,

I’m sorry to say this, but it’s not a bug. This is what happens when you use zoomEven.

The only way to get around this issue on all devices is to use letterbox. However, when you use letterbox you have to make the background larger so that you have bleed areas that will fill the areas of the screen that are outside the base screen size defined in config.lua. Otherwise you’ll get black borders on device screens that are taller or wider, which might get rejected by some app stores.

If you follow this link http://j.mp/GIZX4p, you’ll see how you can handle this to make sure no black borders are shown regardless of device it’s run on. [import]uid: 70847 topic_id: 32721 reply_id: 130099[/import]

[This is a re-post of my reply from the previous thread]

Andreas,

I’m sorry to say this, but it’s not a bug. This is what happens when you use zoomEven.

The only way to get around this issue on all devices is to use letterbox. However, when you use letterbox you have to make the background larger so that you have bleed areas that will fill the areas of the screen that are outside the base screen size defined in config.lua. Otherwise you’ll get black borders on device screens that are taller or wider, which might get rejected by some app stores.

If you follow this link http://j.mp/GIZX4p, you’ll see how you can handle this to make sure no black borders are shown regardless of device it’s run on. [import]uid: 70847 topic_id: 32721 reply_id: 130099[/import]

Hi,

I disagree, it’s definitly a bug - if

* the SDK offers “zoomEven” and
* the programmer cannot control the size a popup window like Twitter SSO

the SDK must respect the display dimensions of all supported devices.
It as easy as that - if not, “zoomEven” would be useless.

And it’s an easy fix, too, the screen dimensions are known, and Coronalabs already implemented this when coding the Facebook API, the Facebook window has the correct dimensions on iPhone 5 with “zoomEven”.

And for some purposes “zoomEven” is much better suited for lot of different devices with different aspect ratios then letterbox (the concept of using letterbox and using lager backgrounds is quite an easy one, it just not the best solution in some cases - that’s the reason why there is a “zoomEven” mode at all).

Hope my new game is not rejected because of this, it’s already in the review queue for iOS and runs on iPad, iPhone, iPhone 5 full screen…
[import]uid: 107675 topic_id: 32721 reply_id: 130121[/import]

Hi,

I disagree, it’s definitly a bug - if

* the SDK offers “zoomEven” and
* the programmer cannot control the size a popup window like Twitter SSO

the SDK must respect the display dimensions of all supported devices.
It as easy as that - if not, “zoomEven” would be useless.

And it’s an easy fix, too, the screen dimensions are known, and Coronalabs already implemented this when coding the Facebook API, the Facebook window has the correct dimensions on iPhone 5 with “zoomEven”.

And for some purposes “zoomEven” is much better suited for lot of different devices with different aspect ratios then letterbox (the concept of using letterbox and using lager backgrounds is quite an easy one, it just not the best solution in some cases - that’s the reason why there is a “zoomEven” mode at all).

Hope my new game is not rejected because of this, it’s already in the review queue for iOS and runs on iPad, iPhone, iPhone 5 full screen…
[import]uid: 107675 topic_id: 32721 reply_id: 130121[/import]