feat(platform/windows): support ime rect#22
Merged
cloudwu merged 1 commit intocloudwu:masterfrom Oct 7, 2025
Merged
Conversation
69f7802 to
cff9d9f
Compare
Owner
|
没啥问题的话,可以向 deepfuture 提个 pr 加 set_ime_rect 了。 |
cloudwu
added a commit
that referenced
this pull request
Oct 7, 2025
Owner
|
windows 下 IME 输入有点问题:在 IME 输入时,如果不阻断 KEYDOWN/KEYUP 的消息,app 会收到 IME 编辑时的键盘消息,且自身无法正确处理控制按键,如 Backspace Left Right 等。 我让 WM_KEYDOWN/WM_KEYUP 在 IME 输入期间直接返回 TRUE 而不是调用 DefWindowProc 可以解决这个问题。 不知道其它系统是否有类似问题?@yuchanns |
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.
为 Windows 的输入框定位添加支持,效果如图:
同样需要在这个分支合并后,再到 deepfuture 调整 keyboard 逻辑来使用新增的
set_ime_rect