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

            Bug ID: 502032
           Summary: Keystrokes not registering in X11-based context menus
                    within Wayland session
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: jakemorgan...@outlook.com
  Target Milestone: ---

Summary:
Keystrokes not registering in X11-based context menus within Wayland session

Description:
When running Unreal Engine 5.5 (X11-based application) on Arch Linux under KDE
Plasma Wayland session, keystrokes are not being registered in context menus
within the editor (such as the blueprint graph right-click menu).

I have identified the issue to be related to Wayland’s handling of legacy X11
apps. Currently, the only working solution (from within a wayland session) that
I have been able to find is to enable the "Allow legacy X11 apps to read
keystrokes typed in all apps" setting in KDE Plasma's "Legacy X11 App Support"
options and set it to "Always". However, this workaround significantly reduces
security by allowing all legacy X11 applications to potentially intercept
sensitive keyboard inputs.

I am not sure how many other applications this issue impacts but, depending on
the application, it is likely that this issue could happen in other X11
applications since this issue seems to be related to Wayland’s handling of
legacy X11 apps and not an issue with the Unreal Editor.

Steps to Reproduce:

Launch KDE Plasma under Wayland.

Download Unreal Engine binaries and run Unreal Engine 5.5 (via XWayland).

Open a blueprint graph within Unreal Engine.

Right-click to open the context menu and attempt to type to filter/search.

Observed Behavior:
Keystrokes are ignored; no input is registered.

Expected Behavior:
Keystrokes should be correctly registered within the X11-based application's
context menu without compromising system security.

System Information:

KDE Plasma Version: 6.3.3

KDE Frameworks Version: 6.12.0

Qt Version: 6.8.2

Operating System: Arch Linux 6.13.8-arch1-1 (64-bit)

Graphics Hardware and Drivers: NVIDIA GeForce RTX 4070 Driver Version:
570.133.07

Workaround (with security concerns):
Enabling the setting:
"Allow legacy X11 apps to read keystrokes typed in all apps" = Always

Request:
A safer and more secure solution or workaround that allows keystrokes in X11
applications without compromising overall system security.

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

Reply via email to