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

            Bug ID: 521872
           Summary: KDE 6.7 no longer passes key up/down events when the
                    text input protocol is active
    Classification: Plasma
           Product: kwin
      Version First 6.7.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION

On Fedora 44 with KDE Plasma 6.7 running Wayland, keyboard input regressed when
the text input protocol is active. This can be observed in the free game
Xonotic when using the SDL Wayland backend: WASD does not move, and the key
binding screen receives no input from alphanumeric keys. The mouse works
normally, as do the arrow keys.

Xonotic enables text input at all times (you can argue whether or not they
should do that, but it is what it is), which means that the Wayland text input
protocol is always active. KDE 6.7 seems to have regressed sending up/down key
events when the text input protocol is active and keys generate text.

STEPS TO REPRODUCE
1. Start Xonotic in a Wayland session
2. Try to move with WASD or rebind any alphanumeric key

OBSERVED RESULT

Nothing happens, as alphanumeric keys do not generate key events.

WAYLAND_DEBUG=1 and SDL_EVENT_LOGGING=1 shows no key up/down events being
received.

EXPECTED RESULT

Alphanumeric keys should generate key down/up events in addition to text
events, as they previously did.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7
KDE Frameworks Version: 6.27
Qt Version: 6.11.1

ADDITIONAL INFORMATION

Related SDL bug report: https://github.com/libsdl-org/sdl2-compat/issues/608

Likely related issues:
- https://bugs.kde.org/show_bug.cgi?id=521772
- https://bugs.kde.org/show_bug.cgi?id=521857

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

Reply via email to