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

The eventFilter function gets QKeyEvent twice for a single keypress with ShortcutOverride event.

    XMLWordPrintable

    Details

    • Commits:
      d7ca800a87a2291c94c6580f0cfe068bb2280caf

      Description

      Run the test program from eventfiltertest_v1.zip archive. Press 'x' key once. See the below output with the single key press.

      QEvent::ShortcutOverride event is filtered. 
      DraftMainWindow object is being filtered. 
      88 key was pressed. 
      QEvent::ShortcutOverride event is filtered. 
      DraftMainWindow object is being filtered. 
      88 key was pressed. 
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              frederik Frederik Gladhorn
              Reporter:
              leonlee Leonard Lee
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes