Bug 476741 - Wayland: Keyboard input doesn't work and windows lose focus
Summary: Wayland: Keyboard input doesn't work and windows lose focus
Status: RESOLVED DUPLICATE of bug 474606
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 5.27.9
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-09 08:37 UTC by Stefan Burnicki
Modified: 2023-11-09 15:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Burnicki 2023-11-09 08:37:50 UTC
SUMMARY
I wanted to give Wayland a try after some month, but when I start a wayland session, no keyboard input seems to work.
When I open an application, like systemsettings, focus an input and start typing, the whole window loses focus and nothing works.
Some global shortcuts seem to work though: Super-Key opens the menu, Alt+F2 open krunner (but also closes it immediately?), F12 opens Yakauke. So it doesn't look like the keyboard doesn't work at all.

Unfortunately I have no idea which components are responsible for handling this, so I'm not sure if kwin/input is the right component and what else information help to find the issue.

I'm glad for any hints and happy to try different things, provide logs or post other further information.

STEPS TO REPRODUCE
1.  Open a wayland session
2.  Open an application with an input field
3.  Try to type something in the input field

OBSERVED RESULT
The window loses focus, no input is happening.

EXPECTED RESULT
I can actually type and the input from my keyboard appears in the focused input field.


SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.2.0-36-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 30,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20UH0036GE
System Version: ThinkPad T14s Gen 1

ADDITIONAL INFORMATION
Comment 1 Zamundaaa 2023-11-09 15:02:47 UTC

*** This bug has been marked as a duplicate of bug 474606 ***