https://bugs.kde.org/show_bug.cgi?id=500032

            Bug ID: 500032
           Summary: The "Legacy X11 App Support" setting does not work
                    correctly with a different keyboard layout!
    Classification: Plasma
           Product: kwin
           Version: 6.2.5
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: xwayland
          Assignee: kwin-bugs-n...@kde.org
          Reporter: katze_...@alt-kde.ru
  Target Milestone: ---

Created attachment 178323
  --> https://bugs.kde.org/attachment.cgi?id=178323&action=edit
Demonstration

SUMMARY
The bug only appears when using a different keyboard layout (e.g., Russian). If
you select any option other than "Never", XWayland apps continue to receive all
keystrokes. The bug does not appear on the English layout.

STEPS TO REPRODUCE
1. Open System Settings, go to Application Permissions → Legacy X11 App Support
2. Set it to "Only Meta, Control, Alt and Shift keys"
3. In Keyboard, add a new layout (for example, Russian)
4. Open Konsole and enter: xinput test-xi2 --root
5. Switch to the English layout and try to type something. The command will not
output anything
6. Switch to a different keyboard layout and try to type something. The command
will start outputting your keystrokes.

OBSERVED RESULT
Keystrokes are sent to XWayland applications

SOFTWARE/OS VERSIONS
Operating System: ALT Regular KDE
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Kernel Version: 6.13.2-6.13-alt1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

ADDITIONAL INFORMATION
I'm attaching a video demonstration. I consider this a rather serious bug that
slightly compromises security and interferes with some virtual machines (for
example, VMware Workstation intercepts all keystrokes even when its window is
out of focus).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to