-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[bug] use enigo
in tauri cause app crashed
#6421
Comments
I have encountered the same problem and it is very troubling. |
Did you find the cause of the crash and how did you fix it? |
Have the same problem, though the app doesn't crash in my case |
@zeenix @amrbashir could you please take a look? 🙏 |
@garrrikkotua why me? I don't even know what enigo is. |
Apologies, it was a suggestion from GitHub 😅 |
I don't have access to a mac unfortunately so I can't triage this issue. |
This is going to sound a bit strange, but try disabling spellcheck in the HTML. <html spellcheck="false">
<!-- ... -->
</html> About a year ago this was causing WebKit to crash in our MacOS variant. |
A user tried it out and the problem persisted |
@pentamassiv Is there an update on this. |
No, sorry I have not looked into it. I am not familiar at all with tauri |
Describe the bug
I try to use
enigo
to do some keyboard event mock in my tauri app, and it will crash when the macOS apiTISCopyCurrentKeyboardInputSource
orTISGetInputSourceProperty
execute inenigo
.I start an issue in enigo before, but we found the crash will only appear in my Tauri app.
Reproduction
and there is a log in shell:
I use
accessibility
to help me request the macOS accessibility permission, and it returnstrue
.3. the application crashed
Expected behavior
The app does not crash.
Platform and versions
Stack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: