New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Espanso Freezes the entire desktop when expanding a match #237
Comments
Hey @Luctins, That is pretty strange indeed, thanks for pointing it out! Some questions for you:
Let me know if you experience problems in that case as well. Cheers :) |
I use:
|
Uninstalled all packages and tested again, same result; |
tested with US keyboard: could not interact with the desktop, and the "shell error tone" was played in quick sucession, could not recover desktop. |
That is very strange @Luctins, I'm sorry you experienced these issues. Are you using a stock Ubuntu installation? |
thanks for taking the time to help 😄. |
All right, thank you. I'll try to reproduce this myself and get back to you if I find something :) |
Hey @Luctins, I was able to reproduce the issue, and after a lot of digging it seems to be a problem related to Gnome with some keyboard layouts, including the pt-br that you are using. (See https://bugs.launchpad.net/ubuntu/+source/meta-gnome3/+bug/1777708) In the above post, it explains a workaround: With admin rights, edit the
so that it becomes:
Then reboot the system. Espanso should be a lot more responsive by then. Let me know if that helps! Cheers :) |
Wow, that's a not very obvious issue to track down. as a bonus, probably will make my desktop more stable overall (I was having mini freezes from time to time for a while now). |
You're welcome :) Cheers |
Hi, I am having a similar issue. However, I am on windows and use the default (german) keyboard layout. After entering a trigger pattern, all inputs arrive extremely slowly and the trigger pattern is removed and the replacement inserted sluggishly over the next ~6 seconds. I did not make any real customisations; this is my config:
Any ideas? Best, |
Hey @xnhp, I'm sorry you experienced this problem! Does it happen on every application? This sounds strange because espanso is usually pretty snappy on Windows Cheers :) |
Heyo, thanks for the quick reply. The issue seems unrelated to Espanso. I could observe the same issue in some specific cases of autocompletion by PyCharm. Or maybe anytime if a sequence of characters is entered in quick succession. In any case, a reboot seems to have fixed it for now. I'll report back if this ever becomes relevant again. Thanks anyway. |
Sounds good! Thank you for the follow up :) |
Hello, I'm having the same issue. Replacement takes longer than 2 seconds. I also use pt-br layout, but it happens in the same way with the en layout. I tried commenting out in the "br" file as above, it made it a little bit faster, but still is taking around 2 seconds. The thing is, this is happening on Zorin Os 16, but is NOT happening in Boddhi Linux 6. In Boddhi Linux, the replacements are made in a fraction of a second, every single one. In Zorin, the replacements with no "special characters" are made in a fraction of a second, but the replacements which contain letters with diacritcs, like ê (which is in my name), á, é, or an emoji 🌎 , are freezing the desktop. |
I tried with Zorin Os Lite, which uses XFCE, and it doesn't freeze. So it should be something with GNOME indeed. |
If you want to hear something wild: I've been using Espanso for a while now and the freezes really only occur when Emacs is running. Mind, not necessarily inputting into Emacs, but whenever Emacs is running at all and when inputting anywhere. |
@xnhp That's interesting, thanks for sharing! |
Every time espanso finds a matching expansion I cannot interact with the desktop for 5-10 seconds, but the mouse cursor still moves.
Most of the time this happens the trigger text is not completely erased.
Espanso's own logs and
journalctl
were of not much use debugging this.Tried using clipboard, auto and inject for the backend; same result.
Info:
pt-br keyboard layout
espanso dump
config.txt
The text was updated successfully, but these errors were encountered: