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

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

XMLWordPrintable

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

      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")
          }
      }
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes