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

[REG 6.2.2 -> 6.2.3] Keyboard layout resets to English

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.3, 6.2.4, 6.3.0
    • Fix Version/s: 5.15.10, 6.3.1, 6.4.0 Beta1
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      9b92c5314e (qt/qtbase/dev) 9b92c5314e (qt/tqtc-qtbase/dev) 0bc1d618dd (qt/qtbase/6.3) 7614f0ee21 (qt/tqtc-qtbase/5.15) 0bc1d618dd (qt/tqtc-qtbase/6.3) 7614f0ee21 (qt/tqtc-qtbase/tqtc/vxworks-5.15.10)

      Description

      Since 6.2.3 keyboard layout in Qt 6 applications resets to English without changing the layout globally in the system (so layout indicator still shows the expected language), it's reproducible even in the lineedits example, it's enough to disconnect & connect laptop charger to get the bug on my system, but Ctrl+A and backspace (i.e. cleaning the input area) makes the bug disappear (i.e. layout restores). setxkbmap -query:

      xkb_keymap {
              xkb_keycodes  { include "evdev+aliases(qwerty)" };
              xkb_types     { include "complete"      };
              xkb_compat    { include "complete"      };
              xkb_symbols   { include "pc+us+ru:2+inet(evdev)+group(win_space_toggle)+terminate(ctrl_alt_bksp)"       };
              xkb_geometry  { include "pc(pc104)"     };
      };
      

      I think https://codereview.qt-project.org/c/qt/qtbase/+/378691 is at fault.

        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:
              ilya-fedin Ilya Fedin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes