[GH-ISSUE #2655] [Bug] Attempting to insert unicode characters breaks input and starts deleting characters #1142

Open
opened 2026-03-23 20:45:52 +00:00 by mirror · 3 comments
Owner

Originally created by @EmilHeilbo on GitHub (May 29, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2655

Bug Description

While editing something, eg. a document, attempting to insert a Unicode character using Ctrl+Shift+U - the default keyboard shortcut on the majority of Linux systems - the insertion caret moves to the beginning of the current line and, if there's already text on said line, starts deleting characters as you type the value of the unicode character you want.

Furthermore, once the unicode character is inserted, the Unicode value, eg. u30ad is still there in the document, in addition to the unicode character.

Lastly, if you press Enter to insert instead of Space, that line sometimes becomes undeletable.

How to Reproduce

On Linux:

  • Create a new Document in AppFlowy
  • Write a short string, eg. test123
  • Press Ctrl+Shift+U followed by any Unicode code, eg. 30AD, then press Space (if you press Enter instead of Space it tends to make it impossible to delete that line.

Expected Behavior

I'd expect the insertion caret to stay, and a temporary indicator to show up like with most other applications on Linux - Firefox, for instance, shows an underlined u as a prefix, as well as underlining the Unicode code as you're typing, eg. u30ad.

Operating System

Arch Linux

AppFlowy Version(s)

v0.1.5

Screenshots

No response

Additional Context

No response

Originally created by @EmilHeilbo on GitHub (May 29, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2655 ### Bug Description While editing something, eg. a document, attempting to insert a Unicode character using `Ctrl+Shift+U` - the default keyboard shortcut on the majority of Linux systems - the insertion caret moves to the beginning of the current line and, if there's already text on said line, starts deleting characters as you type the value of the unicode character you want. Furthermore, once the unicode character is inserted, the Unicode value, eg. `u30ad` is still there in the document, in addition to the unicode character. Lastly, if you press `Enter` to insert instead of `Space`, that line sometimes becomes undeletable. ### How to Reproduce On Linux: - Create a new Document in AppFlowy - Write a short string, eg. `test123` - Press `Ctrl+Shift+U` followed by any Unicode code, eg. `30AD`, then press `Space` (if you press `Enter` instead of `Space` it tends to make it impossible to delete that line. ### Expected Behavior I'd expect the insertion caret to stay, and a temporary indicator to show up like with most other applications on Linux - Firefox, for instance, shows an underlined `u` as a prefix, as well as underlining the Unicode code as you're typing, eg. <ins>u30ad</ins>. ### Operating System Arch Linux ### AppFlowy Version(s) v0.1.5 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@annieappflowy commented on GitHub (Jun 12, 2023):

maybe linked to https://github.com/AppFlowy-IO/AppFlowy/issues/1756

<!-- gh-comment-id:1586927549 --> @annieappflowy commented on GitHub (Jun 12, 2023): maybe linked to https://github.com/AppFlowy-IO/AppFlowy/issues/1756
Author
Owner

@richardshiue commented on GitHub (Dec 24, 2023):

Can reproduce on Fedora 38 with Fcitx5.

<!-- gh-comment-id:1868465083 --> @richardshiue commented on GitHub (Dec 24, 2023): Can reproduce on Fedora 38 with Fcitx5.
Author
Owner

@rileyhawk1417 commented on GitHub (Jan 25, 2025):

@richardshiue is this still a problem in 0.8.2?

<!-- gh-comment-id:2613960305 --> @rileyhawk1417 commented on GitHub (Jan 25, 2025): @richardshiue is this still a problem in 0.8.2?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1142
No description provided.