onscreen keyboard hides TextView

Bug #1142419 reported by Matthias Gehre
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
Medium
Bill Filler

Bug Description

Running attached qml file on the phone via
qmlscene --desktop_file_hint /usr/share/applications/qmlscene.desktop KeyboardBug.qml
shows the MainView with a TextField at the bottom.
Touching into the TextField shows the onscreen keyboard on top of the TextField,
so that the TextField is not visible while typing.

I think that the onscreen keyboard should shrink the MainView, so that the TextField anchored at the bottom of the MainView will
move up.

--- KeyboardBug.qml .---
import QtQuick 2.0
import Ubuntu.Components 0.1

MainView {
 width: units.gu(42)
    height: units.gu(67)
 TextField {
  height: units.gu(4)
        anchors {bottom: parent.bottom; left: parent.left; right: parent.right }
 }
}

Matthias Gehre (m-gehre)
description: updated
Revision history for this message
bjaanes (bjaanes) wrote :

Yes, this also goes for the notepad app. If you make a long note, you wont be able to see what you are writing after some point.

Not sure if this is something the indiviual developers should deal with. Like the browser deals with this just fine. However, shrinking the MainView probably causes a lot of problems. Just "scrolling" ut up might be a better solution. I dont know.

Something that could be discussed on the mailing list or IRC I guess.

Changed in touch-preview-images:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Bill Filler (bfiller)
Changed in touch-preview-images:
status: Confirmed → Fix Released
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.