facebook

TextArea widget displays keyboard even though READ-ONLY

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #336942 Reply

    I have a simple screen with an Image on top and underneath it a Panel containing two Textarea widgets displaying two sets of text. The panel with the two text areas is scrolling.

    When I test the page on my Android phone and I touch the screen it will display the keyboard as if I am making an entry.

    When I test it in the TestCenter emulator it is a bit different as I am not sure if normally a keyboard is displayed there. However, the text does highlight if I click on it, and/or click and drag on it. So in a way it is accepting input there as well.

    I thought that when READONLY is selected, any keyboard entry would be prevented.

    Thanks, TG

    #337029 Reply

    Hi tguneysu,

    What mobione of version are you using? I’ve done a simple app with 2.3.1 and the keyboard doesn’t show up.
    You can download latest version of Mobione (2.3.1) here: http://www.genuitec.com/mobile/download.html

    If problem continue, please share device details such model and OS, also a sample file would be helpful to investigate.

    #337032 Reply

    Thanks for the reply Octavio. I am already using version 2.3.1.

    I also received an email from you re a bug and a Ticket ID: XVY-838-20297.
    It gave me a link to an interim release level to test with.
    Is this about this same issue or related to something else ?
    And how do I look up a ticket id to see what it is?

    Once I figure out which problem the interim release has solved, I will retest and forward any results to the support email address.

    Thanks, TG

    #337206 Reply

    Hi tguneysu,

    We really appreciate the test case and file shared to investigate. On a preliminary test with android 4.0.4, read-only is behaving nicely. I have opened a bug on this and shared it with the dev team. Presently we will not be able to investigate this until Tues of next week due to a series of commitments.

    #340568 Reply

    benl
    Member

    octavio,

    I’ve noticed this issue is occurring when developing an app in the latest version on MobiOne. I have ensured that ReadOnly is applied; however, the keyboard will still appear on my Galaxy S4.

    #340586 Reply

    Hi benl,

    What mobione version are you referring to? 2.3.2 or 2.5dev10? What android version has your device? Can you post an url of your app that demonstrate the issue?

    Can you try next app I built with 2.3.2?
    http://goo.gl/A8qZ5

    #340594 Reply

    benl
    Member

    I am working from 2.3.2 on a Galaxy S4 running 4.2.2. The text area does not display the keyboard via a web based access, but will display it when in the native application. Unfortunately I cannot post a version of my app, but I was able to force the error even in a fresh/blank app with a single screen and a read-only text area.

    I tried to download your test app but I get a “Duplicate Headers Received” error message.

    #340626 Reply

    Hi benl,

    Thanks for the feedback. Please download and install next .apk attached. It’s the same file I shared via url.

    >but I was able to force the error even in a fresh/blank app with a single screen and a read-only text area.
    Can you share that sigle screen to help us replicate the issue? If you want to keep data in privacy send it to support at genuitec dot com, use title mobione data from benl

    Attachments:
    You must be logged in to view attached files.
    #340664 Reply

    benl
    Member

    Sorry about the late reply (the holiday weekend was pretty crazy). I downloaded and installed your sample/test project.

    Text area “on click” -> Keyboard displays but text cannot be entered
    Field “on click” -> Keyboard does not display and text cannot be entered

    Any ideas on how to suppress the keyboard from displaying on text area “click”?

    #340666 Reply

    Hi benl,

    Just to confirm, you ran the test sample using Galaxy S4 with android 4.2.2, right?

    #340667 Reply

    benl
    Member

    That is correct (and it has all applicable updates as well).

    #340701 Reply

    Hi benl,

    Thank you for following up. We have been researching this. We believe it is an android or device level bug, e.g., http://goo.gl/YRwrW, http://androiddev.orkitra.com/?p=33239

    #340702 Reply

    benl
    Member

    Thanks for the resources octavio, I will continue to investigate it as well.

    I did notice if I set a textarea’s disabled property the keyboard would not appear. However, I do not think this will be a long-term solution due to the font color changes in a disabled textarea.

    #347273 Reply

    Update – I found a solution!

    Seems only to be an issue in Android! (another Android browser bug!…)

    //disable keyboard (Android bug)->
    $(‘#m1-page-testarea’).focus(function() {
    this.blur();
    });
    //disable keyboard (Android bug)<-

    Hi Support – any solution for this – I have the same problem, but only on android.

    I’m using M1 2.6.1
    Cordova 2.9

    No problem in Web Simulator – only on devices…

    Regards
    TKT

    #347303 Reply

    Hi TKT,

    We have an open bug on this as the readonly flag is not supported consistently across android versions. We don’t have a fix for this atm.

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: TextArea widget displays keyboard even though READ-ONLY

You must be logged in to post in the forum log in