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

keyPressEvent & keyRelease event have the incorrect modifiers for the Meta key

    XMLWordPrintable

Details

    Description

      When listening for keyPress events and keyRelease events the QKeyEvent::modifiers are incorrectly set for the meta key.

      When pressing Super_Key_L -
      keyPressEvent - Modifier does not contain Qt::META
      keyReleaseEvent - Modifier contains Qt::META

      This behavior is the opposite in contrast to the Qt::CTRL and Qt::ALT modifiers.

      A git repo has a simple test file which highlights the issue - git://anongit.kde.org/scratch/vhanda/qt5-meta-modifier-bug

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            vhanda Vishesh Handa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes