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

MacOS Crash on TISGetInputSourceProperty keyboard kTISPropertyUnicodeKeyLayoutData #146

Open
AlexKnauth opened this issue Oct 23, 2024 · 0 comments · May be fixed by #147
Open

MacOS Crash on TISGetInputSourceProperty keyboard kTISPropertyUnicodeKeyLayoutData #146

AlexKnauth opened this issue Oct 23, 2024 · 0 comments · May be fixed by #147

Comments

@AlexKnauth
Copy link

I'm not sure whether this might be the same error as #74 and/or #131 or not, but I managed to narrow down the crash I'm getting to this statement:

let mut layout = TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData);

In the file src/macos/keyboard.rs, function string_from_code, line 95:

let mut layout = TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData);

There is no error message, the program just crashes, so I narrowed it down to this line by println debugging.

I'm using MacOS Ventura 13.7, using rdev from a tauri app, and using the Dvorak keyboard layout, if that matters.

@AlexKnauth AlexKnauth linked a pull request Oct 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant