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

landscape mode UI cuts off right side of keyboard in Android-15 #957

Open
netllama opened this issue Dec 9, 2024 · 8 comments
Open

landscape mode UI cuts off right side of keyboard in Android-15 #957

netllama opened this issue Dec 9, 2024 · 8 comments

Comments

@netllama
Copy link

netllama commented Dec 9, 2024

Describe the bug
Landscape mode UI is cut off on the right side in Android 15 (did not happen in Android 14). Happening on a Pixel 8 phone.

To Reproduce
Steps to reproduce the behavior:
Attempt to use keyboard in landscape orientation

Expected behavior
UI isn't cut off

Screenshots
Screenshot_20241208-181925

Smartphone (please complete the following information):

  • Device: Pixel8
  • OS: Android 15
  • App version 1.41.1
@mcagabe19
Copy link

I'm working on it, this is the progress so far

Image

@netllama
Copy link
Author

@mcagabe19 thanks for the update. that looks way way better. do you have a pkg available with that change that I could test out?

@r0d0dendr0n
Copy link

On latest lineageos for poco f6 pro the behaviour is the same. Thank you for your work!

@mcagabe19
Copy link

the issue is I can't fix the button size, idk how can I fix this..

@mcagabe19
Copy link

can someone help if it's possible?

https://github.com/mcagabe19/hackerskeyboard

@ruslan-k13
Copy link

ruslan-k13 commented Feb 20, 2025

It's a good keyboard for Termix sessions. However, after updating to Android 15, landscape mode broke: part of the keyboard is covered by the navigation bar on the right. The bar cannot be hidden either (as I had it before, in the 14th Android).

I've tried using transparent navigation bar, and gestures instead of the preferred 3 buttons navigation. Doesn't help. Attached are screenshots of 3 buttons, gestures, and transparent 3 buttons navigation modes. Note that in the gestures mode the keyboard is still trancated.

Image

Image

Image

Used on Pixel 6a
Android 15
Keyboard v. 1.40.7

UPDATE.
After posting screenshots here, I've noticed that they all have black indentation on the left. I understand what's going on now. In the indented are Pixel 6a has front facing webcam. In Android 14 I remember that camera was in the middle of the text window, and the text window was the same width as the screen window, so the keyboard fit well. Now, in Android 15, they shrank text window, so the camera will be outside of it. So, it became smaller than the screen window. And since the keyboard, apparently, uses screen window to calculate its size, it won't fit into the text window anymore.

I would recommend, in addition to using proper window width for "auto" calculations, provide a fallback setting for the manual width of a landscape mode layout.

@ruslan-k13
Copy link

I think the width is set to wide in here, should be reduced a bit.

@mcagabe19
Copy link

mkay I'll look when I got time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants