I did some investigation on what are the differences on the input
elements (TextInput and TextEdit used in TextField and TextArea) and
found that autoFocusOnPressed is the only difference on the component
setup. In the previous setup we had this property untouched (its default
value is true) and now we have it set to false. And seems this causes
the problem.

I managed to reproduce the failure with a simple TextInput or TextEdit
component whos autoFocusOnPressed is set to false.

inport QtQuick 2.0

Item {
    width: 100; height: 100
    Component.onCompleted: input.forceActiveFocus()

    TextInput {
        width: 100; height: 30
        text: "Here I am"
        autoFocusOnPressed: false
        onActiveFocusChanged: print("activeFocus=", activeFocus)
        onFocusChanged: print("focus=", focus)
    }
}

This example will show the cursor blinking in the text input, but OSK
will not be shown ever.

I suspect OSK as first, and as second Qt QML implementation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316057

Title:
  webbrowser-app AP failures after UITK upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-keyboard/+bug/1316057/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to