Bug 511580 - Keyboard does not open in apps using xwayland
Summary: Keyboard does not open in apps using xwayland
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: master
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-03 17:07 UTC by Paul Adam
Modified: 2025-12-09 18:10 UTC (History)
3 users (show)

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


Attachments
vkbd (18.59 KB, image/png)
2025-12-02 17:38 UTC, duha.bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Adam 2025-11-03 17:07:37 UTC
SUMMARY
The keyboard does not open in certain apps, for example spotify and keepassxc (when set to xwayland).


STEPS TO REPRODUCE
1. Launch xwayland app
2. Press text field on touchscreen
3. Nothing happens

OBSERVED RESULT
The virtual keyboard is not activated

EXPECTED RESULT
The keyboard should pop up when tipping on a text field

SOFTWARE/OS VERSIONS
Plasma keyboard: 1.0~20250824.094649.6bf37e5
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 duha.bugs 2025-12-02 17:38:50 UTC
Created attachment 187309 [details]
vkbd

Do you get a button in the systray to force the virtual keyboard to open when it doesn't automatically opens in an xwayland app?
Comment 2 Paul Adam 2025-12-02 18:03:36 UTC
(In reply to duha.bugs from comment #1)
> Created attachment 187309 [details]
> vkbd
> 
> Do you get a button in the systray to force the virtual keyboard to open
> when it doesn't automatically opens in an xwayland app?

If the input icon is set to `always visible`, yes.
If not, the icon does not show up.

If the virtual keyboard is set to disabled, the `disabled` icon shows up, but I can't
enable the virtual keyboard again while focused on an app where the keyboard
does not show up automatically (xwayland probably).
Comment 3 farid 2025-12-08 13:20:22 UTC
I confirm that Plasma Keyboard does not work under Discord and Spotify but it does work in other Electron apps like Signal, Element, and AppFlowy.