kingToolbox / kingToolbox/WindTerm
IME (fcitx5) input breaks after closing a session tab, recovers only after app restart
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
▎ 标题: IME (fcitx5) input breaks after closing a session tab, recovers only after app restart
▎
▎ 环境: Ubuntu X11 + GNOME, WindTerm 2.7.0, fcitx5 5.1.7, QT_IM_MODULE=fcitx / XMODIFIERS=@im=fcitx
▎
▎ 复现:
▎ 1. 开多个 SSH 会话 tab,中文输入正常
▎ 2. 只关闭其中一个 tab(保留其他 tab)
▎ 3. 剩余 tab 中 fcitx5 不再作曲:候选窗不弹出,无法输入中文。fcitx5 本身正常(其他应用不受影响)
▎
▎ 无效的恢复尝试: 切换焦点到其他应用再切回、切换 tab、Ctrl+Space 切换输入法 — 均无法恢复
▎ 有效恢复: 重启 WindTerm;关闭整个窗口再打开也不触发(推测为输入上下文整体重建)
▎ 推测: 关闭 tab 时 Qt input context 的焦点未正确交还/重建,日志中可见会话关闭时大量 Task Stopped, Thread Exit..
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure in the stated Ubuntu X11, GNOME, WindTerm, and fcitx5 environment, then inspect what happens to the Qt input context when a session tab closes while others remain. Done means fcitx5 composition and the candidate window continue working in every remaining tab without switching applications or restarting WindTerm.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100