Bug 497774 - Implement the Wayland virtual-keyboard-unstable-v1 protocols to support tools like wtype
Summary: Implement the Wayland virtual-keyboard-unstable-v1 protocols to support tools...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: virtual-keyboard (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR task
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 502882 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-12-22 09:16 UTC by Relma
Modified: 2025-04-17 15:03 UTC (History)
4 users (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 Relma 2024-12-22 09:16:26 UTC
Summary:

I want Kwin to implement the Wayland Virtual Keyboard Protocol. I am using a tool called wtype, and when I use it to type an input, the error "Compositor does not support the virtual keyboard protocol" shows up.

I dont want to have to switch to another compositor
Comment 1 John Kizer 2025-01-02 02:54:06 UTC
Hi - just to verify, does the information at https://github.com/Hoverth/wayland-virtual-keyboards?tab=readme-ov-file#other-tips , around adding a .desktop file parameter to enable support, apply in the case you're describing?
Comment 2 Relma 2025-01-02 16:37:53 UTC
What application do I have to put `X-KDE-Wayland-VirtualKeyboard=true` into?? I'm confused; wtype is a command-line tool
Comment 3 John Kizer 2025-01-02 17:39:56 UTC
It may require creating a .desktop file for wtype with that parameter, if one isn't already placed into /usr/share/applications/. The .desktop file for Maliit, which should be at /usr/share/applications/com.github.maliit.keyboard.desktop , might be a guide there. Once that is in place, it should be selectable in System Settings > Keyboard > Virtual Keyboard.
Comment 4 Relma 2025-01-02 17:44:46 UTC
wtype is not a virtual keyboard; i don't think that applies in this case
Comment 5 Relma 2025-01-02 17:51:25 UTC
Related to this github issue: https://github.com/atx/wtype/issues/45
Comment 6 Relma 2025-01-02 17:55:58 UTC
The Virtual keyboard protocol to support is zwp_virtual_keyboard_v1, outlined here: https://wayland.app/protocols/virtual-keyboard-unstable-v1#compositor-support

As you can see, KDE's KWin does not support this.
Comment 7 John Kizer 2025-01-02 18:07:05 UTC
Thanks for specifying the link!
Comment 8 John Kizer 2025-04-17 03:45:46 UTC
*** Bug 502882 has been marked as a duplicate of this bug. ***