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

Support multiple keyboards on x11/xcb

XMLWordPrintable

    • Linux/Wayland, Linux/X11

      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.

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

            liaqi Liang Qi
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes