Android soft keyboard issue when in landscape orientation

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Android soft keyboard issue when in landscape orientation

Post by Ledigimate » Fri Jul 15, 2016 9:50 am

Hi LiveCoders

I'm experiencing an issue with the Android soft keyboard when the device is in landscape orientation, but only on recent versions of Android. I don't know if LiveCode is to blame, or the Andoid OS, or the Java SDK, or the Android SDK, or what.

Here's what happens:
Suppose a LiveCode app is running on Android Lollipop, and the device is in landscape orientation. There are two (LiveCode) text input fields on the card and you tap in the fist field which brings up the Android soft keyboard. So far so good. Then, with the soft keyboard still showing, you tap in the second input field and... where's the keyboard gone to? Then you tap in the first field and sure enough, the keyboard comes back. Tap again in the second field while the keyboard is showing and... keyboard gone again.

Run the same app on Android Gingerbread and there's no issue.

Can somebody help me determine whether its a LiveCode bug or not?
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

LiveCode_Panos
Posts: 308
Joined: Fri Feb 06, 2015 4:03 pm

Re: Android soft keyboard issue when in landscape orientatio

Post by LiveCode_Panos » Fri Jul 15, 2016 10:59 am

Hi Ledigimate,

Do you see the same behavior in other (non-LiveCode) apps running on Android Lollipop? If this is the case, then maybe the "problem" is in the Android OS. If not, then it might be LiveCode's fault.

Best,
Panos
--

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: Android soft keyboard issue when in landscape orientatio

Post by Ledigimate » Fri Jul 15, 2016 11:19 am

Hi Panos

I would like to test this, but I am a bit afraid of installing Android Studio because it might mess up my Android SDK settings which could render LiveCode unable to build an Android standalone.

Perhaps someone already has Android Studio installed and could test it for us?

Regards,

Gerrie
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3977
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Android soft keyboard issue when in landscape orientatio

Post by jacque » Fri Jul 15, 2016 4:52 pm

I think Panos just means any other app you may already have installed. I just tried it with Google Keep and another note taking app and the keyboard remains until no text field is being edited.

Since the keyboard disappears when the field loses focus, you might try locking messages after the first field gains focus. Or you may be able to trap focusOut or closefield or one of the other messages to prevent the engine from getting them. Jus a guess but worth a try.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

LiveCode_Panos
Posts: 308
Joined: Fri Feb 06, 2015 4:03 pm

Re: Android soft keyboard issue when in landscape orientatio

Post by LiveCode_Panos » Fri Jul 15, 2016 8:16 pm

Hi all,

Yes, I meant any other (non-LC) app you have already installed. I tested using Gmail app and I do not see this behavior, so on a first glance it looks like a bug in LC. I suggest you file a report (http://quality.livecode.com/) so we investigate this further.

Best,
Panos
--

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: Android soft keyboard issue when in landscape orientatio

Post by Ledigimate » Thu Jul 21, 2016 2:16 pm

010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

Post Reply

Return to “Bug Triage”