-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
fix(layout): add extended layout for kannada #444
Conversation
You modify MUCH more than the Kannada layout here. Especially you change the symbols layout to your taste for everyone. For the Kannada layout this is somewhat similar. I doubt someone who used the current Kannada layout on AOSP keyboard or forks for many years will be happy about being forced to learn a new layout. |
|
Sure, that would be very welcome! |
Does the What is the point of the changes to the English |
No, I'm yet to update that (couldn't work on the PR due to other work, will pick this up).
Will revert this change
That was compiler guided optimizations suggested by the Android Studio. |
You do not need a json file if you're referring to the popup keys. After you started the PR, I updated layouts.md, not sure whether there is anything new for you though. |
Looks like code refactoring is going on in the repo? I even did a fresh clone of the repo and the paths still point have |
Yes, I did a lot of renaming, which was planned for quite a while to happen before the F-Droid release. I think the rename should not affect this PR too much, as it does only minimal changes to the code. |
I also moved the number keys to properly use the number row in the current kannada layout. |
I still have |
The file must have the same name as the language tag, otherwise it will not be found. Alternatively, if there is little overlap between the base keys (didn't check), the popup keys could be merged relatively easily. |
Yeah, but the existing kannada layout is incomplete and hence the kannada_extended layout. Since the Like, if I override the existing |
I proposed a while ago to move |
Number row is not the problem here but rather other content in |
i decided to treat the layout as a separate language's layout instead of just adding it to the existing kannada layout. The reason being the already existing kannada layout's popup keys are way too restricted and minimal and does not align with the the extended layout. i'm afraid whether i can achieve this or it might require core changes to done. other than that, for some reason, even after doing all the necessary changes, it shows the language as |
I still do not understand this. When you move the popup keys into the layout, there are no popup keys left in the
Currently the layout does not have any popup keys. That is part of why I suggested to move the popup keys from
I'm not sure I understand this. The letters on the keyboard change depending on the previously typed letter?
This is because knx is not a valid language code, and thus Android cannot associate it with the Kannada language. |
Shit! I never really understood this until now! My bad! Had to go back to previous conversations to get context. So, I'll now have to move kn.txt contents to Kannada.txt. After that add the new layouts popup keys to kn.txt. Got it, got it.
I observed this behaviour on gboard after I made changes to heliboard but yeah!
So this part of code has nothing to do with heliboard in the first place, it is just android doing its stuff of validating language code? Will get this corrected once apply above changes. |
If reproducing this behavior is necessary, it will likely be a lot of work (depending a bit on what exactly may change).
Yes, this is coming from Android. There is a way of getting a different (correct) name displayed, but other things will not work properly. E.g. it will try using
I had thought you knew and were talking about different issues before my comment above... sorry, I could have saved us both a lot of time by clarifying this before. |
If that functionality exists, it will ease typing, without which, typing every letter would take significant time (as shown in example below). GBoard currently eases by automatically appending "swaras" (which is the name for In short, swaras is added to everything to make the word meaningful. Example: Yeah, I would have to make changes to layout further to make the layout properly usable if the changes are to the core is not made (I prefer this to reduce effort, but having that change would actually impact all Asian languages if I'm not wrong.)
Not a problem, it was my fault of not reading properly.😬 |
Currently there is no way of changing the keyboard like that. |
* 'main' of github.com:helium314/heliboard: (71 commits) fix issues with clipboard after switching keyboard (#728) simplify loading pinned clips we don't need to read a file any more also makes sure pinned clips are initially loaded before fetching the primary clip avoid crashes when logging exceptions upgrade dependencies lint update version and translations fix unit tests Update Estonian layout (#693) reduce margin in reorder dialogs now with the icons for toolbar keys more space is preferable add izzy badge to download links, update translation fetch script add logging for finish input (view) mark some getText methods as nullable and avoid related issues fixes one of the crashes in #723 fix toolbar reorder dialog icons color (#716) New fastlane images (#713) Only add text clips to clipboard history (#711) fix spellchecker crash when keyboard has never been initialized, fixes #684 allow line breaks in setting titles only necessary for PreferenceScreen and ListPreference, others already allow it be default fix duplicated pinned clipboard entries (#680) Update Serbian Cyrillic layout (#705) upgrade version and update translations ...
One more question, is it possible fix the layout size (I mean, for a single language) similar to the one shown in #444 (comment) (GBoard layout for Kannada). Also, sorry for being delayed, had been occupied with other work these days. |
I don't understand what you mean. You want the keyboard to be higher?
Same for me... |
Letter size |
I remember there is some label flag that should work here. Can you try playing with this, possibly it's |
Thanks, I think we're finally done! Only some minor things I noticed (will comment on the lines) |
Only one more thing I hadn't noticed before: the last row of the old Kannada layout now has fewer keys. Is that on purpose? I fear users of the current layout may not like this change. |
My bad! I had just copy pasted from |
This PR improves the existing Kannada language layout making it more intuitive and usable.
Modified layout a bit to make it resemble GBoard layout as I found the layout to be more intuitive.
Also, compiler guided code formatting.
[when number row is forcefully enabled, at least on GBoard, `%\|=[]<>{}` is non-existent, since hiding it on OpenBoard, I found it to be a bit too much of a work, so restored the old layout partially]P.S: Just checked #417 on top level, will have a deeper look depending on the available time to improve it further. Existing works flawlessly though.