keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
403 stars 112 forks source link

bug(android): font cropped when long pressing the key on the landscape view. #11849

Open dinakaranr opened 5 months ago

dinakaranr commented 5 months ago

Describe the bug

The letters are partially hidden in the popup and sub-menu.

Reproduce the bug

Environments: Android: 14 simulators and physical devices Keyman version: 17.0.326 Keyboard: EuroLatin (SIL) 3.0.2

Steps to reproduce:  Installed the "Keyman 17.0.326" version and gave all permissions to the application. Checked the "Enable Keyman as system-wide keyboard" and set the keyboard as the default keyboard box on the settings page. Open the Keyman app. Enable the "Predictions" and install the "Dictionary." Enter some sentences in the text area. Rotate the mobile portrait to a landscape view. Press any of the "y, g, p, j, t" letter keys and hold for a few seconds. Actual Results: Here, a letter cropped on the popup after pressing and holding the key. Please refer to the screenshot.

Note: This behavior appeared in physical device too.

Expected behavior

No response

Related issues

No response

Keyman apps

Keyman version

17.0.326

Operating system

No response

Device

Andorid 14 physical device

Target application

No response

Browser

No response

Keyboard name

EuroLatin (SIL)

Keyboard version

No response

Language name

No response

Additional context

No response

darcywong00 commented 1 month ago

I think this is a trade-off of using the keyboard in landscape orientation (which is not a good UX). We used to have a taller default keyboard size in orientation, but it covered most of the screen, making it hard to type (see #7119). On the other hand, now that we have a shorter keyboard to see more screen, all the keys are squished.

As a workaround, the user can always go into the "Adjust keyboard height" menu and make the landscape keyboard taller (so the longpress keys aren't squished)...

mcdurdin commented 1 month ago

I think this is a trade-off of using the keyboard in landscape orientation (which is not a good UX).

Not really. The font should be scaling to fit the bounding box. At extremes, this may be unreadably small (which is not a good UX), but in the screenshots given, a properly scaled font should be readable.