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

event.isAutoRepeat does not consistently report the correct value

    XMLWordPrintable

Details

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

    Description

      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
      

      Attachments

        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)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes