-
Notifications
You must be signed in to change notification settings - Fork 443
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
Umlauts are very small on FP2 #535
Comments
Press the Shift key and long press to enter the alternate characters. |
Sorry. I was to unclear :-( |
I have the same problem on my FP2. I used the same version of HK on my last device with Cyanogenmod without problems. |
Same problem with Lineage OS 14.1 on ZUK Z1 (ham). I used the same version of Hackers Keyboard with Cyanogenmod 13 without that issue. I was not able to take a screenshot when such a key has the focus, so you could see the size of the keys. :-( |
Have y'all tried fiddling w/ |
I did so. But it is not the suggestions we are talking about. This is about the popup-keyboard, that shows when you long-press a key (key with letter a for example: 🅰). The popup-keyboard is not affected by that setting. The "Key label scaling" does affect that keyboard too, but that is no satisfiable solution to me. |
That's right, @Herzfinsternis, I was mistaken. I fixed it above. That's odd! I just realized that in your screenshot, your pop-up keyboard font-size is much smaller than the key font-size. Maybe it has to w/ y'all using Android alternatives? HK is built on very old Gingerbread (Android 2.3.×) code & maybe they don't support that version correctly? Or did an older version of HK work correctly for y'all? |
To me it seems as if Android 7.1 caused the problem, as I did not have problems with Android 6.0 and Hackers Keyboard and I know Google did change a few things related to display settings. On the other hand Tuffiglig uses Android 5.1. Update #1: On the emulator everything is fine Update #2: Same issue with v1.38.2 |
On my company phone Motorola Mot G4 Plus with Android 7.0, HK is working correctly. |
A few odd observations:
Is it possible to enable the debug log for HK? Where would I find it on my phone? |
@Tuffiglig: Rebuilding on a newer version of what's now GBoard would be almost-complete rewrite, & worthy of a major version increment. (Good luck! 🍀) As @klausw explains (in same link above) re: a lot of new feature requests (& some bugs):
@Herzfinsternis I've no idea whether debug logs are even possible via UI. Maybe @klausw, @dsalt, @sbeyer, @Poussinou, or really active dev could help out? |
I managed to debug HK on my device and in emulator.
Device: Emulator: This seems to be a problem with (and originating from) LineageOS build for ZUK Z1 (ham). Any ideas what files/values need to be edited to correct the display metrics? |
@Herzfinsternis Most devs are very amenable to reading a linked issue, so unlikely you'd have to explain much. Try them & see. |
No update from LineageOS developers yet. But I found out that both devices (Fairphone2, ZUK Z1) are run on Snapdragon 801 (MSM8974). Maybe that's the source of the problem. |
@Herzfinsternis My best hunch is it probably has nothing really to do w/ hardware nor OS version per sé, but everything to w/ LineageOS v7's support for apps written for Android v2, as, I'm sure, almost any stock Android (or close enough equivalent) from 2.3.× through 7.1.1 (on much of which I've run HK) on almost all hardware does handle it just fine. Do keep us updated w/ whatever the L-OS devs say. |
@Herzfinsternis wrote:
I think that's the problem right there - the device reports a 1920x1080 resolution with 160 dpi, so that means it claims a screen size of 12 inches by 6.7 inches. The GUI will draw characters so that they are scaled appropriately for that screen size, but if the actual device is phone-sized they'll end up way too small. |
@klausw Any reason then that the Key Labels are scaled differently than the pop-up? |
@TPS Yes, the difference is that key labels use a rather complicated method to pick a label size. For the pop-up, I'm expecting the operating system to do the right thing. Honestly I'm not too motivated to fix this, if the vendor decides to report their phone as having a laptop-sized screen they should fix that, it'll also break other content. |
I too think that should be fixed by the "vendor". Fairphone Open and Lineage OS are both open source. I believe it should be possible to fix that somehow. Unfortunately there is no progress so far. Perhaps I will find someone on XDA who can help me or push me in the right direction. |
@Tuffiglig I found similar bug report as @Herzfinsternis's, but w/ FairPhone, so this is a known issue FIXED in latest OS version, not a problem w/ HK. Mark Closed/Invalid FTW? |
@TPS thanks for digging that up. Cardboard actually has a database of misconfigured devices since this was a rather common problem, but most mismatches weren't this bad. |
Problem solved! After updating /system/build.prop (adding the line I am so very happy! Thanks to all of you! |
Hallo.
The Umlauts are very small and hard to tip on my Fairphone 2 with the OS Fairphone Open 16.11.0 Android 5.1
Shown here in the Screenshot:
I didn't found a setting to change the size. Is there any?
Best regars,
Tuffi
The text was updated successfully, but these errors were encountered: