Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

backspace key not working in some apps #496

Open
mnalis opened this issue Feb 12, 2025 · 2 comments
Open

backspace key not working in some apps #496

mnalis opened this issue Feb 12, 2025 · 2 comments

Comments

@mnalis
Copy link

mnalis commented Feb 12, 2025

Using Simple Keyboard 5.25 (from F-droid), backspace key does not work in some applications, like Fossify Gallery move/copy screens. It has been reported there at FossifyOrg/Gallery#145, but the conclusion there AFAICT seems to be that the problem only occurs with some keyboards like Simple Keyboard.

What is interesting, is that in other (simpler) parts of Fossify Gallery (like rename screen), backspace from Simple Keyboard does work. So it seems that backspace (and allegedly cursor keys, but I don't use those) don't work in some advanced situations (overriden input mechanisms?) in Simple Keyboard, but works fine in majority of other keyboards.

I've reproduced the issue with several phones (Android 14 and Android 11), and the problem always happens with Simple Keyboard, but never with e.g. LineageOS AOSP keyboard or Fossify Keyboard.

Here is video:

small_Screen_Recording_20250212_153733_Gallery.mp4

Timeline:

  • 00:10 - backspace with Simple Keyboard does not work in Move to dialog
  • 00:21 - backspace with Fossify Keyboard works in Move to dialog
  • 00:35 - backspace with Fossify Keyboard works in Rename dialog
  • 00:33 - backspace with Simple Keyboard works in Rename dialog
@rkkr
Copy link
Owner

rkkr commented Feb 12, 2025

Looks like the app doesn't handle KeyEvent.KEYCODE_DEL. You can try connecting a bluetooth keyboard and clicking backspace in it and should not work the same way. Will check in emulator, it should reproduce there also.

The other way to delete is to update the text contents with trimmed text. Which some apps also don't support properly.

@rkkr
Copy link
Owner

rkkr commented Feb 12, 2025

Yes delete also doesn't work and even no other physical keyboard keys work. You can't even type in it.

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

No branches or pull requests

2 participants