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

Keyboard disappears when moving cursor in certain app #723

Open
JamieJamersonJr opened this issue Apr 19, 2024 · 4 comments
Open

Keyboard disappears when moving cursor in certain app #723

JamieJamersonJr opened this issue Apr 19, 2024 · 4 comments
Labels
bug Something isn't working waiting for info more information is requested

Comments

@JamieJamersonJr
Copy link

Describe the bug
App crashes when trying to move cursor past text in Voyager for Lemmy

To Reproduce

  1. Create a post on Voyager for Lemmy (only app i've encountered this bug in so far)
  2. Select the title input
  3. Add any character (won't happen without at least one character)
  4. Place the cursor at the end of the string
  5. Move the cursor to the right with either the toolbar right key or the space trackpad

Expected behavior
Cursor doesn't move and app doesn't crash

Screenshots
Not applicable

App version
1.3-beta1

Device:

  • Model: [e.g. OnePlus 9 LE2113]
  • OS: [e.g. Android 14 Manufacturer ROM]

Additional context
i will attach the crash logs here, app detected two of them despite having crashed multiple times while i was testing this
crash_reports.zip
crash_reports2.zip
This is a log i managed to get, crash occurs after the second RIGHT command
BUGREPORT_HeliBoard_log_1713530759852.txt

@JamieJamersonJr JamieJamersonJr added the bug Something isn't working label Apr 19, 2024
@Helium314
Copy link
Owner

According to the first crash report, Voyager returns null on getTextAfterCursor, which means that the app either intentionally returns null (it really should not), cancels the input connection, or does not respond. Anyway, HeliBoard should not crash in that case.

Could you upload another log for the right arrow press? crash_reports2.zip is broken, and the log is only after the crash, so it does not help here.

Helium314 added a commit that referenced this issue Apr 19, 2024
@JamieJamersonJr
Copy link
Author

JamieJamersonJr commented Apr 19, 2024

According to the first crash report, Voyager returns null on getTextAfterCursor, which means that the app either intentionally returns null (it really should not), cancels the input connection, or does not respond. Anyway, HeliBoard should not crash in that case.

Could you upload another log for the right arrow press? crash_reports2.zip is broken, and the log is only after the crash, so it does not help here.

i can try
HeliBoard_log_1713556667494.txt
can't upload an actual crash log because the app doesn't always prompt to save one, it seems that crash logs are only generated when the app "officially" crashes and does the "heliboard has crashed" popup, which it only does some of the times for some reason.

@Helium314
Copy link
Owner

Actually it looks like there is no app crash. It looks like at 21:56:03 there is an selection update, and then nothing happens until you enter a new input field at 21:57:29.
If HeliBoard had crashed, then the "normal" log before the crash would be lost (unless it's saved in a crash log, but that wasn't the case).

If Voyager actually closes the input connection however, then the keyboard should go away without a crash.
I'll add a log entry for this.

@Helium314
Copy link
Owner

The logging was already added in 1.3. Could you provide a new log with HeliBoard 1.3?

@Helium314 Helium314 added the waiting for info more information is requested label May 12, 2024
@Helium314 Helium314 changed the title Heliboard crashes when moving cursor in certain app Keyboard disappeard when moving cursor in certain app May 12, 2024
@Helium314 Helium314 changed the title Keyboard disappeard when moving cursor in certain app Keyboard disappears when moving cursor in certain app May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for info more information is requested
Projects
None yet
Development

No branches or pull requests

2 participants