[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Integrated: 8245053: Keyboard doesn't show when TextInputControl has focus
From:       Abhinay Agarwal <github.com+3197675+abhinayagarwal () openjdk ! java ! net>
Date:       2020-07-30 8:37:11
Message-ID: 2ZuCWIWCyiVnMLTQHSW3sZfRSk1FNWrCd514IFoXtao=.4f771e32-69c1-4ebc-97c4-f133e5577e20 () github ! com
[Download RAW message or body]

On Thu, 14 May 2020 19:22:54 GMT, Abhinay Agarwal \
<github.com+3197675+abhinayagarwal@openjdk.org> wrote:

> In Android, TextInputControls (TextField and TextArea) are responsible for showing \
> and hiding software keyboard. Currently, a focus listener is attached to these \
> controls and is used to toggle the visibility of keyboard. This condition fails in \
> cases where the control already has focus but the keyboard is not visible.  \
> Ideally, the keyboard should be shown again when the user taps on the \
> TextInputControl. This PR adds an event handler for `MouseEvent.MOUSE_CLICKED` \
> event and shows the keyboard  if the TextInput control is both editable and \
> focused.

This pull request has now been integrated.

Changeset: 5d34d724
Author:    Abhinay Agarwal <abhinay.agarwal@gluonhq.com>
Committer: Johan Vos <jvos@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/5d34d724
Stats:     93 lines in 2 files changed: 6 ins; 63 del; 24 mod

8245053: Keyboard doesn't show when TextInputControl has focus

Reviewed-by: jvos

-------------

PR: https://git.openjdk.java.net/jfx/pull/219


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic