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

Reg[Qt 5.15.4->Qt5.15.5] Qt::MetaModifier and Qt::GroupSwitchModifier is always set

    XMLWordPrintable

Details

    • Linux/X11
    • bb4b40b7e1b7cc0af2f0c74a991edf39d64cac06 b587e4c0345ae5efe6889f27e112619cd083294b (qt/tqtc-qtbase/6.2.1)

    Description

      On Linux only, it seems that the QKeyEvent always has the Qt::MetaModifier and Qt::GroupSwitchModifier flags set in the modifiers, even when the keys are not pressed down.

      This can be easily reproduce with /examples/widgets/widgets/codeeditor/
      Simply typing alphabet characters in this application works. However, the non-
      printing characters do not work, like Enter, Backspace, Home, End, and cursor

      This works with Qt5.15.4 but not with 5.15.5
      Reverting patch of QTBUG-49771 fixes it.
      keys.

      Attachments

        1. output_qt_debug_plugins.txt
          13 kB
        2. output_setxkbmap.txt
          0.9 kB
        3. QTBUG-95108.tar.gz
          1.0 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-95108
          # Subject Branch Project Status CR V

          Activity

            People

              liaqi Liang Qi
              irfan.omair@digia.com Irfan Omair
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews