1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Android Virtual Keyboard (on screen keyboard iOS & Android) disappears after app focus lost

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Plura, Oct 16, 2019.

  1. Plura

    Plura Member

    Joined:
    Jul 7, 2017
    Posts:
    17
    It seams like keyboard_virtual_status() does not recognize the correct status after app has lost it's focus.
    The onscreen keyboard disappears and no way to turn it back on.
    Step event:
    Code:
       if (!keyboard_virtual_status())
       {
           keyboard_virtual_show(kbv_type_email, kbv_returnkey_go, kbv_autocapitalize_none, true);
       }
    
    I use GMS IDE 2.2.4.459 and runtime 2.2.4.366.
    Tested on iOS 13.1.2 and Android 9.0

    Would appreciate any help.
     
  2. siread

    siread Member

    Joined:
    Oct 9, 2018
    Posts:
    13
    I saw the same thing. I managed to work around it by checking is_os_paused() and closing my input box and the virtual keyboard if so, then not actually checking the keyboard_virtual_status when opening the input box.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice