BetterZUIKey v1.4.1-beta2
BetterZUIKey v1.4.1-beta2
Please scroll down for English / 英语请向下滚动
摘要
本次更新是 v1.4.1-beta1 的修补版本。修复了快捷键映射与触发键相同时的无限循环、IME 配置文件开机不生效及偶发开机卡顿,同时重做了模块作用域检测。
要查看自上次发布以来的完整更改,请参阅:CommandPrompt-Wang/BetterZUIKey@12-v1.4.1-beta1...13-v1.4.1-beta2
🐛 修复
- 快捷键映射与触发键相同时无限循环:修复了当语言切换快捷键和 profile 的
remap-to目标恰好相同时(如 GBoard 预设的 Ctrl+Space → Ctrl+Space),注入的合成事件会被模块重新捕获,导致无限循环反复触发直到退出文本输入的问题。- 已增强注入检测,避免重复触发。
- IME 配置文件重启后丢失:修复了重启设备后,之前配置的输入法语言切换方案无法生效,需手动打开 App 才可能恢复的问题。
- 现开机后首次按键即可自动加载。
- 偶发开机系统卡顿:模块在开机流程中执行了过多的系统调用,部分设备上会触发系统看门狗导致 ANR。
- 已优化相关路径。
- 显示修复:修复了因硬编码版本号导致的部分界面版本号显示落后的问题。
🔄 变更
- 弃用
hook路径:移除了输入法增强中hook路径。原有配置文件中hook相关的配置项将被忽略。- 由于复杂的 IPC 问题,
hook路径需要大量适配才可能工作;再加之难以找到一个通用的解决方案,我实在没有精力也没有能力在不为外挂铺路、保证系统安全的前提下实现该功能。 - 其余两条路径仍然可用,不受到本次更新影响。
- 由于复杂的 IPC 问题,
🔧 其他
- 重做模块作用域检测:首页状态卡现在更准确、更即时——冷启动首次打开 App 即显示正确颜色,不会再出现"明明已激活却显示红色/橙色"的情况。
BetterZUIKey v1.4.1-beta2
Highlights
A v1.4.1 patch that fixes infinite looping when remap target matches the trigger key, IME profiles not persisting across reboots, an occasional boot lag, and reworks scope detection so the status card shows correctly on the very first cold-boot launch.
For a complete list of changes since the last release, see: CommandPrompt-Wang/BetterZUIKey@12-v1.4.1-beta1...13-v1.4.1-beta2
🐛 Fixes
- Infinite loop when remap target matches trigger key: When the language-switch shortcut and the profile's
remap-totarget are identical (e.g., GBoard's default Ctrl+Space → Ctrl+Space), injected synthetic events were re-captured by the module, causing an infinite trigger loop that froze the system. Now fixed. - IME profiles lost after reboot: Previously, IME language-switching profiles would not take effect after a reboot until the App was manually opened. Now they load automatically on the first keypress after boot.
- Occasional boot lag / ANR: The module was making excessive system calls during boot, triggering the system watchdog on some devices. Optimized.
- Display fix: Fixed outdated version display on certain screens caused by hardcoded version strings.
🔄 Changes
- Deprecated
hookstrategy: The IME enhancementhookpath has been removed. Existinghookentries in profile configurations will be silently ignored. Theframeworkandkeyremapstrategies remain fully functional and are unaffected by this change.
🔧 Other
- Reworked module scope detection: The home page status card is now more accurate and responsive — it displays the correct color on the very first cold-boot launch. No more false red or orange when the module is actually active.