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
Strange inconsistencies with Google Chrome on Ubuntu #718
Comments
Hey @mickleberry, I'm sorry you experienced this problem! If you run the following command, what do you see?
There should be only 2 espanso processes running in the current version, and sometimes if there are more, you get those unexpected side-effects. If that's the case, I would proceed with a As a note for future readers, espanso 2 will come with 3 processes by default, so don't panic if you see more than 2 :) Let me know if that helps Cheers :) |
Thank you Federico, much appreciated mic 8808 0.0 0.0 461216 8824 ? Ssl 09:03 0:00 /usr/bin/espanso daemon Tried killall and restart, same result after that. (and it's definitely a Linux thing, used my Windows install with the same config files, everything's perfectly fine) Thanks! mc |
oh by the way my default.yml file has these lines pasted in to fix an earlier issue. (That fix worked at the time, and until recently) backend: Clipboard |
@mickleberry I see, thank you! Are you using Chrome or Firefox to access Google Docs? You might want to try with something similar to this thread: #248 (comment) Perhaps, slowing down the injection might solve your problem. Let me know if that helps :) |
Thank you! Have tried this, but not sure whether to use "Chrome" or "google-chrome-stable" as the app label instead of Firefox. (ie process name) - slowing injection doesn't seem to work with either tho (i tried up to 20000, no effect). Most of the time in the document itself the browser is replacing the trigger, but also backspacex3. Perhaps i need to work out how to stop Chrome backspacing... (Google docs in chrome on my linux here has always struggled for example with a replacement that actually contains backspaces eg for brackets) mc |
@mickleberry Thanks for this report! I have been using espanso for years on Ubuntu and this started to happen recently which confuses me because I don't think I updated espanso ever since I installed it years ago!
Exactly!
Ooo @federico-terzi any unofficial hints when espanso 2 will come out :) ? |
@mickleberry I see, thank you!
If 20000 had no effect, you probably got the filter wrong :) A couple of tips:
@gc-ss It's 90% ready, hopefully by the end of september we'll have an alpha ready :) |
Aha! Thank you Federico... i've worked out how to set up an app-specific yaml file, and Chrome is behaving better in the address bar. (after putting in the slower injection like you said: backspace_delay: 10 & inject_delay: 10) I'm still getting 2-3 extra backspaces into the previous word however, whether it's address bar, google docs or a text pane in email. Cheers, |
I confirm this also started happening to me in the past few days. It consistently happens in any text field or textarea field in Chrome 92.0.4515.107 (Ubuntu). Doesn't occur in Firefox, terminal, vim, or any other app on Ubuntu. I haven't changed my config is months, and I only have two espanso processes running (daemon and worker). Using espanso 0.7.3. |
Appreciate this datapoint @lavignegagnon . I thought it was something with my system
Exactly. Like I said - I have been using espanso for years on Ubuntu and this started to happen recently which confuses me because I don't think I updated espanso ever since I installed it years ago! So, is the current workaround to create and apply app specific configs that have |
No, that didn't work for me and @mickleberry also mentioned it didn't work for them. I also tried I suspect this is a Chrome problem. It's the only thing that has changed in the past few days. I can reproduce the problem with a simple HTML file with a TEXTAREA. <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
</head>
<body>
<textarea style="width:100%" rows="10"></textarea>
</body>
</html> If I start typing text in that TEXTAREA and then type a trigger, it will backspace extra characters from the previous word. |
If this is exclusively a Chrome problem, would it be fair to say that RPA/scripting engines that use Chrome like Selenium, Puppeteer would have this same issue with keys input? |
Thank you for the help guys, this might be a Chrome problem indeed. I'll investigate, let me know if you find out something else :) |
I updated Chrome to Version 92.0.4515.131 and the problem is now resolved. |
@lavignegagnon Thank you for sharing! |
Yes! Same, updated Chrome and it's all better now, phew! |
Thank you guys, I think it's now safe to close this issue. Feel free to reopen it if the problem occurs again :) |
Hello and thank you for your great project.
Things were going really well, but i'm now getting inconsistent output across different locations. It started in Google Docs with an extra crazy output, ie seems to copy paste the entire previous paragraph but not output the trigger replacement.
Restart Daemon doesn't seem to help
Don't know what to do, should i document more detail, try and research exactly what's happening?
(Linux Mint 19)
The text was updated successfully, but these errors were encountered: