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

Windows: strange isAutoRepeat behaviour

XMLWordPrintable

      Holding key down causes key events to be sent with isAutoRepeat=false (normal?). If focus leaves to another application while key is pressed down and is lifted there, coming back to Qt application and pressing the key again sends key event with isAutoRepeat=true once for release and once for press event, after which it stays false again. How ever, if key was held down the whole time, isAutoRepeat is always false.

      To reproduce:
      1. open notepad
      2. run attached application
      3. press key down and click notepad window
      4. release the key
      5. focus Qt application again and press same key down again

      There should be output that should be similar to this:

      key: press autorepeat: false
      key: release autorepeat: true
      key: press autorepeat: true
      key: release autorepeat: false
      

        1. qtbug46422.zip
          2 kB
        2. qtbug46422_widgets.zip
          1 kB
        3. qtbug46422.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes