Right display side (landscape) is not working for touch event

I have an image with an event listener listening for a touch event on the image.
The image is bigger than the display size (iPhone 5).

The orientation is landscape!

It is working fine in the simulator with the iPhone 4 size, but there is a problem with the iPhone 5 and for example the Galaxy 3 sizes, which are wider. The problem I have is: The event ‘touch’ is not working for the additional size on the right side for this bigger device screens… which means I can touch inside the additonal left size, the ‘normal’ mid screen size like from the iPhone 4 but NOT the right side… the part which is additional space on the iPhone 5.

Is this a known problem?

Thank you!

D. Mach
[import]uid: 137572 topic_id: 31631 reply_id: 331631[/import]

I found some information in the following blog entry:

http://www.coronalabs.com/blog/2012/09/14/corona-guidelines-iphone-5-and-ios6-preliminary/

Here it is:
“We fixed a touch issue where began and ended touches on the bottom portion of the iPhone 5 weren’t getting dispatched.”

So, what am I doing wrong here? This already should be fixed but I can’t see it in the simulator with the newest build? The bottom portion (in this case the right side because it is landscape mode) still can’t be touched.

Can you please help me with this?

Thx.

D. Mach
[import]uid: 137572 topic_id: 31631 reply_id: 126360[/import]

If using latest daily build and still having issues can you please file a bug report with simple sample/instructions to reproduce? [import]uid: 52491 topic_id: 31631 reply_id: 126440[/import]

okay.

Here are some more infos:

I’m using build .928 and I discovered the main problem for this behaviour is the config.lua. Here you can see what I’m using:

[lua]application =
{
content =
{
fps = 60,
width = 320,
height = 480,
scale = “letterbox”,
antialiasing=true,

imageSuffix =
{
["@2x"] = 1.5,
},
},
}[/lua]

This is perfect working with oversized images (like for example 1140x720px) because it will show correctly on iPad and iPhone4 AND iPhone5 (and on Android devices like the Galaxy III)! The only problem is the “height = 480” because this is the entry which seems to have an influence on the tappable screensize. Everything (remember it is landsacape mode!) right from 480px on the iPhone5 (and GalaxyIII for example) is not tappable! It can be seen but you can not click on it. You have to change the value in the config file first (to 540 for example), but then the images, BGs and so on are not shown correctly on all the devices anymore.

If this is a Corona problem I will file a bug report… but maybe there is an easy solution for it? :wink:

Thank you!

D. Mach
[import]uid: 137572 topic_id: 31631 reply_id: 126475[/import]

I found some information in the following blog entry:

http://www.coronalabs.com/blog/2012/09/14/corona-guidelines-iphone-5-and-ios6-preliminary/

Here it is:
“We fixed a touch issue where began and ended touches on the bottom portion of the iPhone 5 weren’t getting dispatched.”

So, what am I doing wrong here? This already should be fixed but I can’t see it in the simulator with the newest build? The bottom portion (in this case the right side because it is landscape mode) still can’t be touched.

Can you please help me with this?

Thx.

D. Mach
[import]uid: 137572 topic_id: 31631 reply_id: 126360[/import]

Have you followed the setup instructions here? http://www.coronalabs.com/blog/2012/09/14/corona-guidelines-iphone-5-and-ios6-preliminary/

(See bit of code at end.) [import]uid: 52491 topic_id: 31631 reply_id: 126601[/import]

If using latest daily build and still having issues can you please file a bug report with simple sample/instructions to reproduce? [import]uid: 52491 topic_id: 31631 reply_id: 126440[/import]

okay.

Here are some more infos:

I’m using build .928 and I discovered the main problem for this behaviour is the config.lua. Here you can see what I’m using:

[lua]application =
{
content =
{
fps = 60,
width = 320,
height = 480,
scale = “letterbox”,
antialiasing=true,

imageSuffix =
{
["@2x"] = 1.5,
},
},
}[/lua]

This is perfect working with oversized images (like for example 1140x720px) because it will show correctly on iPad and iPhone4 AND iPhone5 (and on Android devices like the Galaxy III)! The only problem is the “height = 480” because this is the entry which seems to have an influence on the tappable screensize. Everything (remember it is landsacape mode!) right from 480px on the iPhone5 (and GalaxyIII for example) is not tappable! It can be seen but you can not click on it. You have to change the value in the config file first (to 540 for example), but then the images, BGs and so on are not shown correctly on all the devices anymore.

If this is a Corona problem I will file a bug report… but maybe there is an easy solution for it? :wink:

Thank you!

D. Mach
[import]uid: 137572 topic_id: 31631 reply_id: 126475[/import]

Have you followed the setup instructions here? http://www.coronalabs.com/blog/2012/09/14/corona-guidelines-iphone-5-and-ios6-preliminary/

(See bit of code at end.) [import]uid: 52491 topic_id: 31631 reply_id: 126601[/import]

We’ve been having the same issue for quite a while now, on the latest daily build (936) and the bottom (right side, landscape) still cannot be touched with “touch” listeners. Tap listeners work fine. We’ve followed all the guides and advice we can find, no luck. [import]uid: 40758 topic_id: 31631 reply_id: 128713[/import]

We’ve been having the same issue for quite a while now, on the latest daily build (936) and the bottom (right side, landscape) still cannot be touched with “touch” listeners. Tap listeners work fine. We’ve followed all the guides and advice we can find, no luck. [import]uid: 40758 topic_id: 31631 reply_id: 128713[/import]

I just finally got around to updating my apps compatibility with iPhone 5. I am having the same issue in landscape mode. Touch events are not registering on the right side of the screen. Any solutions to this? [import]uid: 79834 topic_id: 31631 reply_id: 140585[/import]

I just finally got around to updating my apps compatibility with iPhone 5. I am having the same issue in landscape mode. Touch events are not registering on the right side of the screen. Any solutions to this? [import]uid: 79834 topic_id: 31631 reply_id: 140585[/import]

I’m having this very same issue now - 6 months after the last reply in this thread… I can’t tap a button I have placed at the bottom right side of my screen on the iPhone 5 in landscape mode. Is there a fix for this yet?

Hi @Skatan,

I assume you’ve included the iPhone5 “tall” launch image in your project? I seem to recall that’s necessary in regards to both functionality and content area. If you have done this (and named it correctly, and confirmed it’s working), please post some code on your config.lua setup and perhaps your basic button setup/listener as well.

Best regards,

Brent

Hey Brent thanks for the reply, it seems to be a director class bug since it works when I add the button in main.lua straight away. Guess the time has come to adapt storyboard then :slight_smile:

Thanks

I’m having this very same issue now - 6 months after the last reply in this thread… I can’t tap a button I have placed at the bottom right side of my screen on the iPhone 5 in landscape mode. Is there a fix for this yet?

Hi @Skatan,

I assume you’ve included the iPhone5 “tall” launch image in your project? I seem to recall that’s necessary in regards to both functionality and content area. If you have done this (and named it correctly, and confirmed it’s working), please post some code on your config.lua setup and perhaps your basic button setup/listener as well.

Best regards,

Brent

Hey Brent thanks for the reply, it seems to be a director class bug since it works when I add the button in main.lua straight away. Guess the time has come to adapt storyboard then :slight_smile:

Thanks