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

[Feature request] Don’t auto-add system language’s special keys #844

Open
HaleyHalcyon opened this issue Dec 23, 2024 · 3 comments
Open

Comments

@HaleyHalcyon
Copy link

I set my system language to Spanish and now I have unremovable combining acute, combining grave, combining diaeresis, ñ, and € keys despite already being able to enter these letters using the compose key. These unwanted keys make me have to swipe more accurately to avoid misfiring them.

Is there a way to preven these from being added to the layout? The “add keys” checkmarks are turned off already.

@Spike-from-NH
Copy link
Contributor

① Combining-grave is unwanted in Spanish.
② Agree you don't want € if you are in Latin America.
③ The others are wanted (though I'd rather just have a ü swipe than the combining-dieresis). If you don't want them, the built-in Spanish layout should use loc so they can be disabled in "Add keys".
④ If you don't want any diacritics, why do you select Spanish?

@HaleyHalcyon
Copy link
Author

HaleyHalcyon commented Dec 24, 2024

③ The others are wanted (though I'd rather just have a ü swipe than the combining-dieresis). If you don't want them, the built-in Spanish layout should use loc so they can be disabled in "Add keys".

I'm not using the built-in layout, the custom layout doesn't have the loc for either of them, and both are disabled in "Add keys".

④ If you don't want any diacritics, why do you select Spanish?

I didn't. There’s no language selection option in Unexpected Keyboard settings! The extra keys appear whether I select “Spanish” or “English” when switching to Unexpected Keyboard.

This app apparently assumes, because my phone is in Spanish, and my keyboard layout doesn’t have a dedicated combining acute, combining diaeresis, or eñe key, that I don't have and I do want a way to enter á, é, í, ó, ú, ü, or ñ. I do have a way to enter them through the compose key and I’m frankly very happy with it. I don’t want these extra single-purpose keys popping up where I don’t want them.

So my question is this: Why can’t we tell Unexpected Keyboard NOT to add language-specific keys?

@Julow
Copy link
Owner

Julow commented Dec 24, 2024

@Spike-from-NH I think you didn't understand the issue. The loc prefix is not relevant here.

@HaleyHalcyon Your thinking is right, the app assumes that you need these keys and there's no settings option to remove them.
The only way to do that currently is to write a custom layout and to set the attribute <keyboard locale_extra_keys="false" ...>.

A related issue is #388

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

3 participants