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

QML - Key.onReleased event fired when the key has not been released

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.1.1
    • None
    • ArchLinux - Gnome 3.10.1 - Qt 5.1.1
    • Linux/X11

    Description

      The following code prints "called" after a key is pressed, even when the key has not been released, same happens with qtquick1. This behavior doesn't happen on Mac OS X and QNX (Blackberry 10).

      import QtQuick 2.0
      
      Rectangle {
          focus: true
      
          Keys.onReleased: {
              console.log("called")
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              paeglis Gatis Paeglis
              fmunozs Fernando Munoz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes