-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Unwanted characters present on the keyboard after configuring my custom layout #564
Comments
No indeed, there is nothing in your XML file that calls for these characters. Normally, if you use the "Add keys to the keyboard" option (gear icon above |
Thanks for the well written issue! This is intended though I understand you'd want an option to control this. Especially that accented letters are easier to type since #559. The keyboard will add the characters needed to type all the languages installed on your device, on every layouts. This is defined here: https://github.com/Julow/Unexpected-Keyboard/blob/master/res/xml/method.xml For example, There might be a bug though, |
@Julow beat me to my response, which had been to concede confusion. Adding characters based on locale may be right for built-in layouts but, when a custom layout is in effect, the feature seems more likely to confound the user than help, even if there were a way to disable it. |
My system languages are the following :
My Samsung keyboard's languages are the following :
So the é and ç characters make sense. After a few tries, I managed to hide them using « loc é » and « loc c » which made me quite happy! 🥳🎉😎 The only unwanted characters remaining now are the € and £ which aren't in the XML file nor checked in the "additional buttons" settings. After reading the links you posted above, I noticed both the £ and € seem to be associated with the en-GB language (Image 1). I do not have this one enabled on my device but I noticed this following settings (Image 2) : For some unknown reasons, the English language is associated to the United Kingdom and french with Switzerland. I'm wondering if there is a link between my Unexpected Keyboard showing UK, and the language us-GB being associated with the £ and € characters? This is the only hypothesis I have so far 🤨🤓 |
English (Canada) and French (Canada) are not mentioned in £ and € indeed comes from the en-GB language, though that doesn't make sense for €, so I removed it in b29a344. |
Should be fixed in d7e5040. You can find a debug APK here: https://github.com/Julow/Unexpected-Keyboard/actions/runs/8030070025 |
The fix has been released. |
Thanks for the clarification @Julow. I was struggling with this issue and trying to "remove" the unwanted modifiers by placing a keyX="space" for the position in question, but obviously that does not work but just shifts for example the accent_grave elsewhere 😄 so bottom line: place these modifiers somewhere out of the way? Or is there another way to deal with it? |
@AMTQ What are the languages installed in your device ? |
German and French.
|
Do you intent to make a layout without any of these ? This is not possible at the moment, the issue is: #388 |
Nice layout :) Don't you have any problem typing â and à on the border of the screen ? |
I don't know yet, as I use french rarely, maybe once or twice a week. But I think it should be fine, when writing with two thumbs it's ok... à voir, spontanement j'en connais même pas de mot avec â?!? 🤔 ps: ah lol il y en a des tonnes... https://www.motsavec.com/search.php?ms=%C3%A2 probablement je les ai écrit tous faux depuis des années 🤣 |
Hi there!
This app is essential to my daily life. I thank you so much for bringing this gem to us.
Here is a behaviour I cannot explain and I would love a solution for it.
Cheers!
Context
Version : 1.26.0
Device : Android 13 (Samsung Galaxy S22)
Today's date : 2024 February 18
Steps to reproduce
Observed result
Expected result
Attachments
The text was updated successfully, but these errors were encountered: