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

Unify key handling code on linux

    XMLWordPrintable

    Details

    • Technical Risk:
      Normal

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                paeglis Gatis Paeglis
                Reporter:
                paeglis Gatis Paeglis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: