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

Broken uppercase accented characters in Greek layout #1981

Closed
tsiflimagas opened this issue Jul 29, 2022 · 5 comments · Fixed by #1984
Closed

Broken uppercase accented characters in Greek layout #1981

tsiflimagas opened this issue Jul 29, 2022 · 5 comments · Fixed by #1984
Labels
area: kbd-logic Issues with the keyboard backend (logic, crashes, etc.) bug A bug report bug-confirmed A confirmed and reproducible bug report

Comments

@tsiflimagas
Copy link
Collaborator

Short description

I just came to notice that popups for vowels in Greek don't have any accents, in current HEAD. The offending commit seems to be b04f8d7.
Btw I'm not sure if this should be labeled as kbd-logic instead.

Steps to reproduce

  1. Go to the keyboard, using the Greek layout
  2. Hold on a vowel
  3. See that popups don't have accents

Environment information

  • FlorisBoard Version: 0.4.0-alpha01
  • Install Source: locally compiled
  • Device: Xiaomi Redmi note 8
  • Android: Android 12.1, custom rom
@tsiflimagas tsiflimagas added bug A bug report area: kbd-layout Keyboard layout requests / issues / improvements labels Jul 29, 2022
@patrickgold
Copy link
Member

Thanks for the bug report!

At first I thought that I couldn't reproduce this issue, but then I noticed that this is only the case for UPPERCASE popups, where the accents are clearly missing.

Doing a quick search in the Android source code reveals, that Greek capitalization has a custom implementation, so it makes me wonder what exactly goes wrong here.

While trying to fix this issue I noticed the Y with the two dots and accent above it. This character behaves very strange and Gboard does not capitalize it at all. Is there something special about this character in Greek?

image

@patrickgold
Copy link
Member

Btw I'm not sure if this should be labeled as kbd-logic instead.

Yeah I think it is more logic than layout due to the source of the issue. WIll relabel.

@patrickgold patrickgold added bug-confirmed A confirmed and reproducible bug report area: kbd-logic Issues with the keyboard backend (logic, crashes, etc.) and removed area: kbd-layout Keyboard layout requests / issues / improvements labels Jul 29, 2022
@patrickgold
Copy link
Member

patrickgold commented Jul 29, 2022

I am currently wondering if we might rewrite the Greek layout to have case selectors (like some characters in Turkish and other languages have) instead of auto text keys, so we prevent this problem all along by manual definitions of both lower and upper case?

EDIT: example layout which uses quite a lot of case selectors is Korean

@tsiflimagas
Copy link
Collaborator Author

but then I noticed that this is only the case for UPPERCASE popups

What the hell, how did I miss noting that 😬 Sorry for the confusion.

Is there something special about this character in Greek?

I also noticed that for ι too and I don't know why they do so. Well, it's actually very rare to see a capital υ or ι with dieresis or dieresis and accent, because another vowel has to be before them, since what dieresis does is to state they're separate, and not forming a diphthong, so you can't have them as the first letter in a word. They only do it for dieresis and accent though, so maybe they think that two signs over a capital letter make it too tall and weird looking(?). I don't really know.

I am currently wondering if we might rewrite the Greek layout to have case selectors

If you think it's a good approach, I can do it really quick.

@patrickgold
Copy link
Member

If you think it's a good approach, I can do it really quick.

If you don't mind doing it I'd really appreciate it, this would fix capitalization issues with the Greek layout once-and-for-all.

@tsiflimagas tsiflimagas changed the title Broken accented characters in Greek layout Broken uppercase accented characters in Greek layout Jul 31, 2022
patrickgold added a commit that referenced this issue Aug 2, 2022
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
snaik20 pushed a commit to snaik20/florisboard that referenced this issue Oct 8, 2022
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: kbd-logic Issues with the keyboard backend (logic, crashes, etc.) bug A bug report bug-confirmed A confirmed and reproducible bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants