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

Unify key handling code on linux

XMLWordPrintable

      There are way too much duplicated code, e.g. ::keysymToQtKey():

      QWaylandXkb::keysymToQtKey in qtwayland/src/shared/qwaylandxkb.cpp
      QLibInputKeyboard::keysymToQtKey in qtbase/src/platformsupport/input/libinput/qlibinputkeyboard.cpp
      And the originating source code QXcbKeyboard::keysymToQtKey in qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp
      

      And other code that uses libxkbcommon (e.g. for shortcut handling, compose key input) could benefit from sharing. All this should be cleaned up and shared.

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

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

              Created:
              Updated:
              Resolved: