You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the cursor movement feature of the horizontal spacebar swipe gesture around emojis will sometimes place the cursor in a spot where any typing will break the emoji. I believe this is because the cursor is being aligned to the byte rather than to the character/codepoint.
To Reproduce
Type out a few emojis and swipe into the middle, then try to type something. Around half of the time it will break.
Expected behavior
Expected: 😊😊t😊😊
Result: 😊😊�t�😊
App version
Version 1.3, via f-droid
Device:
Samsung Galaxy A54, stock Android 14
Samsung Galaxy Tab S7+, stock Android 13
The text was updated successfully, but these errors were encountered:
This is essentially the same as #22. Should be easy to somewhat improve (do the swipe in codepoints instead of chars), but hard to really fix, because there are also multi-codepoint emojis. And whether those display as a single emoji or multiple depends on your Android version
the left/right toolbar key functionality appears to work as expected for both the simpler cases and the more complex ones in the issue above. using this method to fix cursor movement issues seems straightforward in theory, although extending this fix to backspace behaviour may prove more complicated
I don't remember exactly, but I think there were issues when spamming left/right key events as part of such fast cursor movement (and in general, sending key events is discouraged)
Describe the bug
Using the cursor movement feature of the horizontal spacebar swipe gesture around emojis will sometimes place the cursor in a spot where any typing will break the emoji. I believe this is because the cursor is being aligned to the byte rather than to the character/codepoint.
To Reproduce
Type out a few emojis and swipe into the middle, then try to type something. Around half of the time it will break.
Expected behavior
Expected: 😊😊t😊😊
Result: 😊😊�t�😊
App version
Version 1.3, via f-droid
Device:
The text was updated successfully, but these errors were encountered: