espanso
espanso copied to clipboard
[Linux] Macro completion sometimes incomplete
Describe the bug When using a macro for instance I have /br which sends a message, sometimes it puts characters in the wrong spot or they're missing.
Best Regards,
Dan
To Reproduce Steps to reproduce the behavior:
- Use trigger to fire macro and see it fill in incorrectly
- This is not 100% of the time
Expected behavior Text fills in and matches config/espanso/match/base.yml
Screenshots See screen recording https://notcool.club/espanso.mkv espanso.webm
Logs
16:51:04 [daemon(3640)] [INFO] reading configs from: "/home/dmichael/.config/espanso"
16:51:04 [daemon(3640)] [INFO] reading packages from: "/home/dmichael/.config/espanso/match/packages"
16:51:04 [daemon(3640)] [INFO] using runtime dir: "/home/dmichael/.cache/espanso"
16:51:04 [daemon(3640)] [INFO] watching for changes in path: "/home/dmichael/.config/espanso"
16:51:04 [daemon(3640)] [INFO] espanso version: 2.1.5-beta
16:51:04 [daemon(3640)] [INFO] spawning the worker process...
16:51:04 [daemon(3640)] [INFO] binded to IPC unix socket: /home/dmichael/.cache/espanso/espansodaemonv2.sock
16:51:04 [worker(3648)] [INFO] reading configs from: "/home/dmichael/.config/espanso"
16:51:04 [worker(3648)] [INFO] reading packages from: "/home/dmichael/.config/espanso/match/packages"
16:51:04 [worker(3648)] [INFO] using runtime dir: "/home/dmichael/.cache/espanso"
16:51:04 [worker(3648)] [INFO] binded to IPC unix socket: /home/dmichael/.cache/espanso/espansoworkerv2.sock
16:51:04 [worker(3648)] [INFO] using X11AppInfoProvider
16:51:04 [worker(3648)] [INFO] monitoring the status of the daemon process
16:51:04 [worker(3648)] [INFO] using X11Source
16:51:04 [worker(3648)] [INFO] using X11Injector
16:51:04 [worker(3648)] [INFO] using X11Clipboard
16:51:04 [worker(3648)] [ERROR] Unable to show notification: The name is not activatable
16:51:06 [daemon(3640)] [INFO] keyboard layout change detected, restarting worker...
16:51:06 [worker(3648)] [INFO] engine eventloop has terminated, propagating exit event...
16:51:06 [worker(3648)] [INFO] waiting for engine exit mode...
16:51:06 [worker(3648)] [INFO] exiting worker process...
16:51:07 [daemon(3640)] [INFO] spawning the worker process...
16:51:07 [worker(3885)] [INFO] reading configs from: "/home/dmichael/.config/espanso"
16:51:07 [worker(3885)] [INFO] reading packages from: "/home/dmichael/.config/espanso/match/packages"
16:51:07 [worker(3885)] [INFO] using runtime dir: "/home/dmichael/.cache/espanso"
16:51:07 [worker(3885)] [INFO] binded to IPC unix socket: /home/dmichael/.cache/espanso/espansoworkerv2.sock
16:51:07 [worker(3885)] [INFO] using X11AppInfoProvider
16:51:07 [worker(3885)] [INFO] monitoring the status of the daemon process
16:51:07 [worker(3885)] [INFO] using X11Source
16:51:07 [worker(3885)] [INFO] using X11Injector
16:51:07 [worker(3885)] [INFO] using X11Clipboard
09:51:51 [worker(3885)] [WARN] Received malformed char: data provided contains an interior nul byte at byte pos 0
10:00:49 [worker(3885)] [INFO] toggled enabled state, is_enabled = false
10:01:04 [worker(3885)] [INFO] toggled enabled state, is_enabled = true
10:19:52 [worker(3885)] [INFO] toggled enabled state, is_enabled = false
Setup information
-
OS: What OS are you using?
-
PopOS! 22.04
-
Firefox
-
Zendesk
-
Version: which version of Espanso are you running? (you can find out by running
espanso --version
inside a terminal) espanso 2.1.5-beta
Same here! Same OS. If it's helpful: for me, the issue only arises in Firefox, not in e.g. my text editor (or even in Chrome). Apart from the replacement not always being complete, it also feels slow / laggy, and sometimes the trigger text is not completely removed. (I'm on 2.1.6-beta
)
Many of these problems can be resolved via force_mode:
for individual triggers (leading to changes in the backend:
globally or in app-specific configurations), and occasionally with other options.
Have you tried those, and does the problem persist with the current release?