-
Notifications
You must be signed in to change notification settings - Fork 0
clip.py frequently hangs in Emacs on WSLg #426
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
Comments
From talking to Ryan, this code is calling Qt's clipboard functions. Nothing on their Windows 11 bug tracker yet about this: If I can find the time, I might see if I can create a small Qt-only repro for this and file a bug there. |
I notice you've truncated these traces, can you provide the full backtrace? |
Sure. Note that I've (not surprisingly) reproduced this on both Dragon and Conformer:
|
Having now tested this for a couple more weeks, I have narrowed it down to Emacs running on WSLg. The reason I thought this affected multiple apps (e.g. Firefox) was because multiple apps would freeze when this happens, obscuring culprit finding (including after Talon restart). I've disabled context sensitivity in Emacs for the past five days and the issue has not recurred (even though I continue to use Emacs). One of the comments in this WSLg bug report sounds like someone else seeing a similar issue: microsoft/wslg#401 It seems highly likely that the fix will lie within WSLg, but it may be helpful to keep this open in case others run into the same problem. If I can find the time I will try to create a cleaner repro to post on WSLg issue tracker. |
please file a new issue if talon-rust has this behavior, as we have an entirely new clipboard backend. |
It is entirely possible that this is a Windows 11 bug, but I'm filing it here to help others make an informed decision about whether to upgrade.
I have observed frequent hangs when I enable context sensitive dictation, but only on my Windows 11 machine, not my Windows 10 machine. These hangs happen frequently and in multiple applications (e.g. Firefox and Emacs running in WSL), arising from clip.py. Here are the most typical traces:
When this happens I've see problematic behavior elsewhere in the operating system even after killing Talon, e.g. Firefox may hang if I paste something in or the Windows start button search feature may not work. I haven't seen these issues when Talon is not interacting with the clipboard.
The text was updated successfully, but these errors were encountered: