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

Support multiple keyboards

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/Wayland, Linux/X11

      Description

      For X11/XCB, only core keyboard device is supported now, seeĀ 

      QXcbKeyboard::QXcbKeyboard(QXcbConnection *connection)
          : QXcbObject(connection)
      {
          core_device_id = 0;
          if (connection->hasXKB()) {
              selectEvents();
              core_device_id = xkb_x11_get_core_keyboard_device_id(xcb_connection());
              if (core_device_id == -1) {
                  qCWarning(lcQpaXcb, "failed to get core keyboard device info");
                  return;
              }
          } else {
              m_key_symbols = xcb_key_symbols_alloc(xcb_connection());
          }
      
          updateKeymap();
      }
      

      When user has multiple keyboard, expecially with different settings, it has issues.

      Haven't checked status on Wayland, but assume same now.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              liaqi Liang Qi
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes