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

QML Keys::onEnterPressed notworking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.0, 5.0.0
    • None
    • Windows 7, Qt SDK 1.2

      To reproduce the problem, run the following qml code:

      import QtQuick 1.1
      
      Item {
          id:me
          width: 1366
          height: 768;focus:true
          Keys.onEnterPressed: console.log("enter")
          Keys.onEscapePressed: console.log("esc")
          Keys.onDeletePressed: console.log("delete")
      }
      

      The escape key and delete key are captured, but not the enter key.

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

            martjone Martin Jones (closed Nokia identity) (Inactive)
            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes