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

[BUG] Cursor acts as tab when using external keyboard #580

Open
tiptruck opened this issue May 20, 2023 · 14 comments
Open

[BUG] Cursor acts as tab when using external keyboard #580

tiptruck opened this issue May 20, 2023 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@tiptruck
Copy link

Describe the bug
Pressing the cursor (arrow) keys on an external bluetooth keyboard causes the cursor to move to the next input field.

To Reproduce
Connect bluetooth keyboard
Start adding/editing an entry
Press a cursor key
Cursor jumps to next field

Expected Behaviour
Cursor moves one step left or right on pressing horizontal arrows and to start/end of current field when vertical arrows are pressed.

Device and version:

  • Device: [e.g. Samsung Galaxy S22] Samsung tab S7 & A71_5g with two different keyboards
  • Android version [e.g. Android 11] 13
  • jtx Board version: [e.g. 2.1.0] 2.04.02.ose (204020005)
  • Downloaded from: [e.g. Google Play, f-Droid, ...] F-Droid
@tiptruck tiptruck added the bug Something isn't working label May 20, 2023
@patrickunterwegs
Copy link
Member

I just reproduced this problem, it seems to be a general problem when using jetpack compose:
https://stackoverflow.com/questions/75480217/jetpack-compose-moving-up-and-down-multiple-multi-line-basictextfields-with-phy

I'll investigate further to see if there is a solution.

@foss-
Copy link

foss- commented Jun 24, 2023

Ran into this on Android 13.0, jtx Board 2.04.05.ose.

Makes it very hard to use an external keyboard. Since there is no way of currently accessing journal entries from desktop, external keyboard support would be highly welcome, allowing to properly write journal entries in an acceptable pace.

@tiptruck
Copy link
Author

This looks to be fixed with the latest update. Thank you

@foss-
Copy link

foss- commented Jun 26, 2023

@tiptruck running 2.04.07.ose this is persisting for me. Which version resolves the problem for you?

@tiptruck
Copy link
Author

tiptruck commented Jun 26, 2023 via email

@patrickunterwegs
Copy link
Member

Thanks @tiptruck for the update.
@foss- was it also solved for you?
It might have been solved throught a library/dependency update...

@foss-
Copy link

foss- commented Jun 27, 2023

Sadly not. As stated in my previous comment 2.04.07.ose does not resolve the issue for me. Restarted Android device because "have you tried turning it off and on again" but no dice.
Pressing arrow keys on external keyboard still tabs through page instead of navigating text in field with active cursor.

@foss-
Copy link

foss- commented Jun 29, 2023

Should I open a new issue for the remaining problem or do you want to re-open this one here?

@patrickunterwegs
Copy link
Member

Yes, let's ust reopen this one here 👍

@patrickunterwegs
Copy link
Member

As it seems like Google still hasn't fixed this issue, I have opened in issue myself:
https://issuetracker.google.com/issues/295666701

@tiptruck
Copy link
Author

tiptruck commented Aug 14, 2023 via email

@patrickunterwegs
Copy link
Member

Hey Craig! Thank you for the update!
I tried it in the emulator and there it still doesn't work there. So maybe it was only solved by your keyboard provider? So I'd keep it open, let's see what Google has got to say about this issue!

@patrickunterwegs
Copy link
Member

Finally Google admitted that the issue is on their side 😉
https://issuetracker.google.com/issues/295666701?pli=1

Now somebody just needs to fix it on their side...

@patrickunterwegs
Copy link
Member

Finally somebody marked this issue as fixed on Google's side =) Hopefully they will also provide a new version soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants