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

setSelectionKeys() not working with IMKCandidates window. #3

Closed
ShikiSuen opened this issue Aug 13, 2022 · 2 comments
Closed

setSelectionKeys() not working with IMKCandidates window. #3

ShikiSuen opened this issue Aug 13, 2022 · 2 comments

Comments

@ShikiSuen
Copy link

ShikiSuen commented Aug 13, 2022

setSelectionKeys() won't help but removes selection key display.

The entire InputMethodKit is having lack of a hardened unit test suite. Otherwise, such stupid issues should be caught in Apple years ago.

@ShikiSuen ShikiSuen changed the title Selection keys not working with IMKCandidates window. setSelectionKeys() not working with IMKCandidates window. Aug 18, 2022
@ShikiSuen
Copy link
Author

ShikiSuen commented Aug 18, 2022

I found @brettferdosi 's approach work for enabling default selection keys. Thanks for his idea.

#1 (comment)

@ShikiSuen
Copy link
Author

Solved. This API is not wrecked but has a hard prerequisite: Run IMKCandidates().setSelectionKeysKeylayout() first. Otherwise, setSelectionKeys() won't work.

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

No branches or pull requests

1 participant