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

event.isAutoRepeat does not consistently report the correct value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      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

            Assignee:
            martjone Martin Jones (closed Nokia identity) (Inactive)
            Reporter:
            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