Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [BUG] SetEditBoxUseAlternateInput not using world coordinates.

Author
Message
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 27th Jul 2018 10:31 Edited at: 27th Jul 2018 11:42
On Android, SetEditBoxUseAlternateInput is supposed to show a small edit box when an edit box is hidden from view by the virtual keyboard. It looks as though this only works correctly if the view offset in the y dimension is 0. If you scroll down with setviewoffset, then ALL edit boxes have a small version appear, even when the main edit box is in plain view.

Here's an example to highlight the problem. Box2 should show a mini edit box when it has focus, but box1 shouldn't... Press the virtual button to scroll down and then Box3 should show a mini editbox and box2 SHOULDN'T (as it is now in plain view), however box2 still gets a mini editbox appear.


So, it looks to me as though the SetEditBoxUseAlternateInput (which is on by default) isn't taking into account world coordinates.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 31st Jul 2018 14:45
Thanks, fixed for the next version
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 7th Aug 2018 21:56
Thank you Paul! Great work as always!

Login to post a reply

Server time is: 2024-04-24 00:05:17
Your offset time is: 2024-04-24 00:05:17