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

ios app crashed when hiding keyboard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.0 RC
    • 5.4.0 Beta
    • Quick: Controls 1
    • None
    • IOS 8.1
      IPAD4
    • iOS/tvOS/watchOS

    Description

      IOS app crashed when i try to hide the keyboard.
      app is very sample.

      import QtQuick 2.3
      import QtQuick.Controls 1.2
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          Rectangle{
              anchors.fill: parent
              focus: true
              TextField {
                  text: qsTr("Hello World")
                  anchors.centerIn: parent
              }
          }
      }
      

      step1: click TextField, open the keyboard.
      step2: click button(right bottom one on the keyboard) to hide keyboard.
      then, crashed with EXC_BAD_ACCESS.

      Attachments

        Activity

          People

            vestbo Tor Arne Vestbø
            277040019@qq.com tinghuisun
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: