Skip to content
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

Workaround for macOS TISGetInputSourceProperty crash #2

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

HITGIF
Copy link

@HITGIF HITGIF commented Jul 5, 2023

TISGetInputSourceProperty crashes when running in an https://github.com/iced-rs/iced application.

Presumably related to enigo-rs#153, with the exact symptom but concerns https://github.com/tauri-apps/tauri, another GUI library.

Workaround is to skip the keyboard layout check and always assume a US-ANSI layout.

@HITGIF HITGIF requested a review from harrynull July 5, 2023 20:25
@narratives-code-review
Copy link

Narrative created!

@HITGIF HITGIF changed the title Workaround macOS TISGetInputSourceProperty crash Workaround for macOS TISGetInputSourceProperty crash Jul 5, 2023
@HITGIF HITGIF merged commit db13390 into master Jul 5, 2023
@HITGIF HITGIF deleted the fix-macos-keycode branch July 5, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant