Skip to content

app: fix soft keyboard desktop resizing - #30

Merged
lfdevs merged 3 commits into
termuxfrom
dev/app/fix-keyboard-raise
Aug 14, 2026
Merged

lfdevs merged 3 commits into
termuxfrom
dev/app/fix-keyboard-raise

Conversation

@lfdevs

@lfdevs lfdevs commented Aug 13, 2026 •

Copy link
Copy Markdown
Owner
  • Retry IME show requests after the hidden editor gains focus and avoid releasing it during the initial hidden-inset dispatch. Consume the bound keyboard toggle consistently across normal and accessibility key paths.

    Make raised desktop mode the default and expose it alongside the soft keyboard key binding.

    This backports upstream 修复系统输入法弹出问题 SuperTurtleDev/anland#67

  • app: avoid cutout padding above the soft keyboard

    Remove the display safe-area bottom padding while the raised desktop is positioned above a visible IME. This keeps the desktop and extra-keys bar flush with the keyboard while preserving the padding when only the extra-keys bar is shown.

  • app: keep extra keys bar height even

    Round an odd extra-keys bar height up by one pixel so resizing the desktop does not produce an odd-height virtual screen.

Retry IME show requests after the hidden editor gains focus and avoid
releasing it during the initial hidden-inset dispatch. Consume the bound
keyboard toggle consistently across normal and accessibility key paths.

Make raised desktop mode the default and expose it alongside the soft
keyboard key binding.

This backports upstream SuperTurtleDev/anland#67

Co-authored-by: lfdevs <lfdevs@lfdevs.com>
@lfdevs
lfdevs force-pushed the dev/app/fix-keyboard-raise branch from 1050658 to 08650c6 Compare August 14, 2026 01:39
lfdevs added 2 commits August 14, 2026 09:39
Remove the display safe-area bottom padding while the raised desktop
is positioned above a visible IME. This keeps the desktop and
extra-keys bar flush with the keyboard while preserving the padding
when only the extra-keys bar is shown.
Round an odd extra-keys bar height up by one pixel so resizing
the desktop does not produce an odd-height virtual screen.
@lfdevs
lfdevs merged commit 1ded0c5 into termux Aug 14, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants