OSK not removed when active focus is no longer a text input

Bug #1170674 reported by Zsombor Egri
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
Invalid
Undecided
Unassigned

Bug Description

Given the following example:
import QtQuick 2.0

Column {
    height: 400
    width: 400
    spacing: 10

    TextEdit {
        id: t1
        width: parent.width
        height: 40
    }

    Rectangle {
        width: parent.width
        height: 40

        color: "red"
        MouseArea {
            anchors.fill: parent
            onClicked: t1.focus = !t1.focus
        }
    }
}
When clicking on the red rectangle for the first time, t1 gets activeFocus set and the input panel appears. The second press on the rectangle sets t1 activeFocus to false but the input panel is not removed.

Tags: text-input
Zsombor Egri (zsombi)
affects: ubuntu-ui-toolkit → touch-preview-images
Changed in touch-preview-images:
importance: Undecided → Critical
assignee: nobody → Thomas Moenicke (thomas-moenicke)
Changed in touch-preview-images:
status: New → Confirmed
Zsombor Egri (zsombi)
tags: added: input text
tags: added: text-input
removed: input text
Bill Filler (bfiller)
no longer affects: touch-preview-images
Bill Filler (bfiller)
Changed in ubuntu-keyboard:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.