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

QML Keys::onEnterPressed notworking

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes