Webviews not positioning correctly

We have seemingly discovered a potential bug in the new WebView function. Apparently if you have anything other than the native resolution set in your config.lua file the webview X,Y coordinates is interpreted wrong. For example, if I set 320x480 in my config.lua and place the webView at 160,430 it should appear at the center, bottom of the screen but instead it’s completely off the screen to the right and somewhere near the top. To correct it we divide the needed position of the webview by 2 thus (80,215) and the webview appears correctly.

I would imagine that the webviews should be using the scaled dimensions set in the config.lua file rather than the actual device screen dimensions for positioning.

[import]uid: 9046 topic_id: 30674 reply_id: 330674[/import]

Yes I noticed this today - using a webview on an ipad for an app built at 320x480 the positioning seemed shifted down and to the right. [import]uid: 102112 topic_id: 30674 reply_id: 122894[/import]

Hey guys - have either of you filed a bug report on this? If so please let me know the # and will bring it up in our next meeting. [import]uid: 52491 topic_id: 30674 reply_id: 123034[/import]

Yes I noticed this today - using a webview on an ipad for an app built at 320x480 the positioning seemed shifted down and to the right. [import]uid: 102112 topic_id: 30674 reply_id: 122894[/import]

No, I actually thought “this” was filing a bug on it. Another bug to report is we can’t get clicks to occur using a standard listener. A one screen app seems to work, but using storyboard or director (deprecated I know) causes the listener to break.

Rich

[import]uid: 9046 topic_id: 30674 reply_id: 123425[/import]

Sorry about that - I agree the system is a little confusing. If one of you could please use this form it would be great; http://developer.coronalabs.com/content/bug-submission

Do you think having a sub forum and form is confusing? I’ve never overly considered it but can see why that could very well be the case. We’re overhauling the forum soon so if you have any input there I’d be v happy to hear it :slight_smile: [import]uid: 52491 topic_id: 30674 reply_id: 123489[/import]

Hey guys - have either of you filed a bug report on this? If so please let me know the # and will bring it up in our next meeting. [import]uid: 52491 topic_id: 30674 reply_id: 123034[/import]

No, I actually thought “this” was filing a bug on it. Another bug to report is we can’t get clicks to occur using a standard listener. A one screen app seems to work, but using storyboard or director (deprecated I know) causes the listener to break.

Rich

[import]uid: 9046 topic_id: 30674 reply_id: 123425[/import]

Sorry about that - I agree the system is a little confusing. If one of you could please use this form it would be great; http://developer.coronalabs.com/content/bug-submission

Do you think having a sub forum and form is confusing? I’ve never overly considered it but can see why that could very well be the case. We’re overhauling the forum soon so if you have any input there I’d be v happy to hear it :slight_smile: [import]uid: 52491 topic_id: 30674 reply_id: 123489[/import]

Any fix in sight for this? What’s the solution in the meantime? [import]uid: 36578 topic_id: 30674 reply_id: 129904[/import]

Any fix in sight for this? What’s the solution in the meantime? [import]uid: 36578 topic_id: 30674 reply_id: 129904[/import]

We just reverted back to Webpopup’s for now with our LunarAds setup - it works and is much more predictable :slight_smile:

Richard
[import]uid: 9046 topic_id: 30674 reply_id: 130019[/import]

We just reverted back to Webpopup’s for now with our LunarAds setup - it works and is much more predictable :slight_smile:

Richard
[import]uid: 9046 topic_id: 30674 reply_id: 130019[/import]

If you have a bug # I can check on status for you.

Glad in the meantime you have things working OK with web popups. [import]uid: 52491 topic_id: 30674 reply_id: 130042[/import]

If you have a bug # I can check on status for you.

Glad in the meantime you have things working OK with web popups. [import]uid: 52491 topic_id: 30674 reply_id: 130042[/import]