Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16740

Virtual keyboard missing when activating text fields with touch only

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.7.1
    • None
    • Symbian s60

    Description

      Using N8
      1. Create TextInput field
      2. Tap on the text box

      Expected: Virtual keyboard so that user can type in the text field

      Actual: Virtual keyboard doesn't appear when activating text fields

      Comment.
      This is a real blocker that stops users form using qt-components.

      Rectangle {
          width: 700
          height: 400
      
      				Rectangle {
      					anchors.top:textInput.bottom
      				        id: rectangle1
      				        x: 55
      				        y: 27
      				        width: 282
      				        height: 130
      				        color: "#f70404"
      
      				        Text {
      				            id: text1
      				            x: 96
      				            y: 49
      				            width: 80
      				            height: 20
      				            text: "This is a text "
      				            font.pixelSize: 12
      				        }
      				    }
      
          			TextInput {
      			        id: textInput
      			        text: "Click ME! NOW!"
      			        height: 30
      					anchors.top: button.bottom
      			        anchors.left:parent.left
      			        anchors.right:parent.right
      			        anchors.verticalCenter: container.verticalCenter
      			        anchors.margins: container.documentMargin
      			        //anchors.rightMargin: (actionButton.visible || icon.visible) ? 10 : 0
      			        echoMode: (!container.passwordMode) ? TextInput.Normal : TextInput.Password
      			        activeFocusOnPress: true
      			        horizontalAlignment: TextEdit.AlignLeft
      			        onAccepted: {
      			            container.accepted();
      			        }
      			        font.family: "Nokia Standard Light"
      			        font.pixelSize: 24
      			        color: "red"
      
      			    }
      				TextInput {
      			        id: textInput2
      			        text: "Click ME! NOW!"
      			        height: 30
      					anchors.top: rectangle1.bottom
      			        anchors.left:parent.left
      			        anchors.right:parent.right
      			        anchors.verticalCenter: container.verticalCenter
      			        anchors.margins: container.documentMargin
      			        //anchors.rightMargin: (actionButton.visible || icon.visible) ? 10 : 0
      			        echoMode: (!container.passwordMode) ? TextInput.Normal : TextInput.Password
      			        activeFocusOnPress: true
      			        horizontalAlignment: TextEdit.AlignLeft
      			        onAccepted: {
      			            container.accepted();
      			        }
      			        font.family: "Nokia Standard Light"
      			        font.pixelSize: 24
      			        color: "red"
      
      			    }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jpetrell Joona Petrell
            smiechur Slawomir Smiechura
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes