Espanso: Sometimes pasting fails and it types V when I try to use on a terminal window

Created on 29 Nov 2020  路  6Comments  路  Source: federico-terzi/espanso

Sometimes, not always but usually on the first time i try to use a trigger after focusing a terminal window that uses ctrl+shift+v, it will just replace my trigger with V (Like if ctrl wasn't being pressed?). Notice that is the first time, using it later on the window won't cause any issue and just works, but there is something about the first time a terminal is focused it seems.

Is there any workaround for this (changing the backend or something I am not aware?)?

OS: Arch Linux x86_64, DE: KDE Plasma 5.20.2, CPU: Intel i7-7700HQ (8) @ 3.800GHz, GPU: NVIDIA GeForce GTX 1050 Ti Mobile, GPU: Intel HD Graphics 630, Memory: 15.5 GiB

Linux bug

Most helpful comment

Sometimes it also writes V to a normal GUI window, but happens less than with on a terminal window. I am not holding any of the ctrl or shift keys and it simply types "V".

Also it is always on the first attempt, right after those windows are focused. This never happens again once the window was already used.

All 6 comments

Hey @matheusfillipe,

Thanks for reporting this issue! Does it happen with a specific match?
I'm curious to know whether you press SHIFT or CTRL as part of typing the trigger, as that might explain why it doesn't work (if espanso tries to paste a text, but you still have the modifier down, the shortcut will not work correctly).

Cheers :)

It happens with all matches, but only sure it's happening with ones that begin with :. I also thought I was probably just holding ctrl or shift but that is not the case at all.

Next time it starts happening again I'll try to find more out but I wasn't able to reproduce it when i want 馃槄.

All right, let me know if you discover something else :)

Sometimes it also writes V to a normal GUI window, but happens less than with on a terminal window. I am not holding any of the ctrl or shift keys and it simply types "V".

Also it is always on the first attempt, right after those windows are focused. This never happens again once the window was already used.

This is logged when the problem happens.

07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0
07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0
07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0
07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0
07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0
07:20:06 [ WARN] X11 reported an error code: 2, request_code: 101 and minor_code: 0

@matheusfillipe Interesting, thanks for investigating! Did you notice if that happens also on other applications?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrgnw picture mrgnw  路  6Comments

crispinb picture crispinb  路  5Comments

telmotrooper picture telmotrooper  路  6Comments

jrop picture jrop  路  6Comments

Tzahreddin picture Tzahreddin  路  3Comments