-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[BUG] wtype failures seem silently ignored #522
Description
Bug Description
On Wayland, I had installed wtype (wtype/noble,now 0.4-3 amd64 [installed]), but the "Direct" Paste Method didn't paste/type anything. The logs show that Handy is aware of the wtype failure, but this isn't indicated in the UI. I only happened to look at the CLI logs because I'm using the AppImage, but users who launch without a CLI may never see these logs.
Does wtype require some post-install configuration? I couldn't find anything more in the README than sudo apt install wtype. Some notes on when to use dotool vs. wtype would help as well.
Logs:
[2026-01-04][11:34:30][handy_app_lib::managers::audio][INFO] Microphone stream initialized in 208.011µs
[2026-01-04][11:34:30][handy_app_lib::audio_toolkit::audio::recorder][INFO] Using device: Ok("default")
Sample rate: 16000
Channels: 1
Format: F32
[2026-01-04][11:34:38][handy_app_lib::managers::transcription][INFO] Transcription completed in 276ms
[2026-01-04][11:34:38][handy_app_lib::managers::transcription][INFO] Transcription result: This is direct based method.
[2026-01-04][11:34:38][handy_app_lib::clipboard][INFO] Using paste method: Direct
[2026-01-04][11:34:38][handy_app_lib::clipboard][INFO] Using wtype for direct text input
[2026-01-04][11:34:38][handy_app_lib::actions][ERROR] Failed to paste transcription: wtype failed: Compositor does not support the virtual keyboard protocol
After I changed the Paste Method to Ctrl+V, I see the same wtype failure:
[2026-01-04][11:35:28][handy_app_lib::managers::transcription][INFO] Transcription completed in 406ms
[2026-01-04][11:35:28][handy_app_lib::managers::transcription][INFO] Transcription result: Uh this is Control V based method.
[2026-01-04][11:35:28][handy_app_lib::clipboard][INFO] Using paste method: CtrlV
[2026-01-04][11:35:28][handy_app_lib::clipboard][INFO] Using wtype for key combo
[2026-01-04][11:35:28][handy_app_lib::actions][ERROR] Failed to paste transcription: wtype failed: Compositor does not support the virtual keyboard protocol
None of the paste methods manages to paste automatically:
[2026-01-04][11:36:48][handy_app_lib::managers::transcription][INFO] Transcription completed in 342ms
[2026-01-04][11:36:48][handy_app_lib::managers::transcription][INFO] Transcription result: Based via Ctrl Shift V.
[2026-01-04][11:36:48][handy_app_lib::clipboard][INFO] Using paste method: CtrlShiftV
[2026-01-04][11:36:48][handy_app_lib::clipboard][INFO] Using wtype for key combo
[2026-01-04][11:36:48][handy_app_lib::actions][ERROR] Failed to paste transcription: wtype failed: Compositor does not support the virtual keyboard protocol
[...]
[2026-01-04][11:37:11][handy_app_lib::managers::transcription][INFO] Transcription completed in 613ms
[2026-01-04][11:37:11][handy_app_lib::managers::transcription][INFO] Transcription result: Let's try to copy-paste via the last method.
[2026-01-04][11:37:11][handy_app_lib::clipboard][INFO] Using paste method: ShiftInsert
[2026-01-04][11:37:11][handy_app_lib::clipboard][INFO] Using wtype for key combo
[2026-01-04][11:37:11][handy_app_lib::actions][ERROR] Failed to paste transcription: wtype failed: Compositor does not support the virtual keyboard protocol
System Information
App Version:
0.6.10
Operating System:
Ubuntu 24.04
CPU:
12th Gen Intel® Core™ i7-12700H
GPU:
Graphics Processor 1: NVIDIA GeForce RTX 3050 Ti Laptop GPU
Graphics Processor 2: Intel® Iris® Xe Graphics