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

event.isAutoRepeat does not consistently report the correct value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • None
    • 5.0.0
    • None
    • Ubuntu

      The example has the following line, attempting to drop auto repeated keys:

      Keys.onSpacePressed: { if(event.isAutoRepeat){ console.log("Dropped"); } else { console.log("Accepted"); } }

      This does not seem to be working correctly. The output shows:

      Accepted
      Accepted
      Accepted
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Dropped
      Accepted
      Dropped
      Accepted
      Accepted
      Accepted
      Accepted
      Accepted
      Accepted
      Accepted
      Dropped
      Accepted
      

        1. keyautorepeat.qml
          0.2 kB
          Damian Jansen (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes