Repository navigation
fix: CJK issues - #1252
Draft
asjqkkkk wants to merge 11 commits into
Draft
fix: CJK issues#1252asjqkkkk wants to merge 11 commits into
asjqkkkk wants to merge 11 commits into
Conversation
Keep the editor text input client active while the slash menu is open. Filter during composition and after commit. Test incremental filtering and Chinese candidate commits through Flutter text input on native and Web. Refs AppFlowy-IO#1039
Use the offset reported by the IME during composition. On macOS, replay a Fcitx5-style input sequence with the caret at the start of the composing range. Refs AppFlowy-IO#613 Refs AppFlowy-IO#696 Co-authored-by: Ultra-Logos <171011956+Ultra-Logos@users.noreply.github.com>
Use the range reported by mobile IMEs at syllable boundaries and gate hardware shortcuts on the current composing range. Test successive Korean composing ranges, an in-place commit, and hardware Backspace before and after composition ends. Refs AppFlowy-IO#755 Refs AppFlowy-IO/AppFlowy#4207 Co-authored-by: wldnjs990 <wl990@naver.com>
Send the caret geometry without a second vertical offset. Verify the marked-text rectangle sent over the Flutter text input channel. Refs AppFlowy-IO/AppFlowy#8997 Co-authored-by: songziming <s.ziming@hotmail.com>
Render the composing range as a temporary underline over the active rich text block. Remove it on commit or input disconnect without persisting a text style. Cover draw geometry, commit, and input disconnect with simulated Japanese text input. Refs AppFlowy-IO#945
Use the composing range reported by macOS so a converted clause is not marked as composing again when the IME advances to the next clause. Verify the Japanese conversion sequence through Flutter text input and assert that the editor does not send a corrective editing state. Refs AppFlowy-IO/AppFlowy#8180 Refs AppFlowy-IO/AppFlowy#6521
Use the Korean translation contributed by intelryzen. Register the language-level locale so both ko and ko_KR load Korean messages. Verify both locale forms with the editor widget. Refs AppFlowy-IO#1127 Co-authored-by: 우승식 <intelryzen@naver.com>
Chinese and Japanese are written without spaces between words, so the whitespace separated counter swallowed a whole sentence as one word. Count each ideograph as its own word and treat CJK punctuation as a separator that is never counted. Refs AppFlowy-IO#773
Like on Windows, the IME owns the editing state while a composing region is active on Linux. Pushing `setEditingState` back to the engine mid-composition cancels the composition and corrupts the text. Native Linux IME verification is pending. Refs AppFlowy-IO#696 Refs AppFlowy-IO/AppFlowy#4269 Refs AppFlowy-IO/AppFlowy#3540
Japanese mixes kana and kanji inside the same word, so both are counted per character, the same way Chinese is counted. Korean is written with spaces between the words, so it keeps using the whitespace separated count. Refs AppFlowy-IO#773
asjqkkkk
marked this pull request as draft
December 3, 2026 09:30
Remove the redundant import and add the required trailing commas in the integration tests. Apply Dart formatting to the affected tests. Remove the testing-only annotation from KeyboardServiceWidgetState because the rich-text renderer and slash menu use it at runtime. Verified locally with Flutter 3.41.9. The full repository analysis reported no issues, and all 639 tracked Dart files passed formatting.
asjqkkkk
force-pushed
the
fix/cjk/issues
branch
from
December 3, 2026 10:28
1fa928f to
7a27523
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1252 +/- ##
==========================================
+ Coverage 71.50% 73.05% +1.55%
==========================================
Files 334 335 +1
Lines 16647 16940 +293
==========================================
+ Hits 11903 12376 +473
+ Misses 4744 4564 -180 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
asjqkkkk
force-pushed
the
fix/cjk/issues
branch
from
December 3, 2026 13:18
7a27523 to
2767adb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
koandko_KR. #1127Additional changes
Local verification
ko_KR) in AppFlowy and checked the editor's translated labels.Verification limits
Local runs used macOS and an iOS simulator. The Fcitx5-style sequence was replayed through Flutter on macOS to check the insertion offset. Native Linux IME behavior, including suppression of
setEditingStateduring composition, remains unverified locally.