Shorten Windows IME submit timeout#514
Merged
H-Chris233 merged 1 commit intoMay 21, 2026
Merged
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
appergb
pushed a commit
that referenced
this pull request
May 22, 2026
…s/Linux 修复 自 v1.3.4-11-beta-tauri 以来的改动: - feat(ui): 给划词追问框与语音胶囊加磨砂玻璃质感(#519) - fix(linux): 修复 Linux 主窗口控件(#518 / issue #517) - fix(windows): 缩短 Windows IME 提交超时(#514 / issue #491) - fix(windows): 流式 SendInput 节流(#513 / issue #491) - feat(asr): 新增更大的 Foundry Whisper 模型(#512 / issue #511) - fix(asr): 修复智谱 ASR endpoint 处理(#510 / issue #507) - fix(ui+network): 更新/登录/网络检测/市场加载四项修复 - fix(asr): 修复智谱批量 ASR 分片(#509 / issue #508) 本次只动版本号,逻辑改动已在上述 PR 落盘。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
User description
Summary
IME_SUBMIT_TIMEOUTgreater than the native total wait, reducing the worst-case submit stall from 7s to 5s without allowing late IME commits to race the fallback path.Test Plan
git diff --checkcargo test --manifest-path "/home/chris233/openless/openless-all/app/src-tauri/Cargo.toml" windows_ime_ipccargo check --manifest-path "/home/chris233/openless/openless-all/app/src-tauri/Cargo.toml" --target "x86_64-pc-windows-gnu"Notes: Native
OpenLessIme.dllbuild still needs Windows/MSVC CI or real Windows validation.Refs #491
PR Type
Bug fix, Tests
Description
Shorten native IME wait times
Cap Rust submit timeout at 5s
Sync C++ submit timeout constant
Add regression test for budget
Diagram Walkthrough
File Walkthrough
windows_ime_ipc.rs
Lower Rust IME timeout budgetopenless-all/app/src-tauri/src/windows_ime_ipc.rs
2s.
margin.
text_service.cpp
Match native IME timeout in C++openless-all/app/windows-ime/src/text_service.cpp
kSubmitTextTimeoutMsfrom 3000 to 2000.path.