Skip to content

Releases: rebron1900/fcitx5-enhanced

v1.5.3

14 Jun 14:42

Choose a tag to compare

fix: frosted glass white when custom background image set. Now preserves original image and overlays semi-transparent mask.

v1.5.2

14 Jun 10:07

Choose a tag to compare

bump version to 1.5.2 (code=14)

v1.5.1

14 Jun 09:29

Choose a tag to compare

fix: VoiceInputClient.showToast NPE — null check inside handler

Race condition: mService was checked on calling thread but used on
main thread via Handler.post(). Between check and execution, mService
could become null (e.g. input view detached).

Move null check inside the posted lambda.

v1.5.0 — 双版本支持

14 Jun 06:45

Choose a tag to compare

v1.5.0

新增原版 fcitx5-android 支持,一个 APK 同时兼容原版和靓企鹅。

新增

  • 支持原版 fcitx5-android(org.fcitx.fcitx5.android
  • Xposed scope 自动包含两个包名

适配

  • 磨砂背景:通过 View 层级遍历查找 ImageView,兼容 R8 混淆
  • Preedit:反射失败时自动 fallback 到子 View 扫描
  • 工具栏:多字段名尝试(kawaiiBar / toolbarBar / toolbar)
  • 按键特效:SP 文件名动态跟随运行包名

原版限制

  • 语音输入按钮在原版上自动隐藏(无 RECORD_AUDIO 权限)
  • 设置页语音开关在原版上禁用并灰显

修复

  • 修复 view detach 时 mCurrentInputView 残留导致配置不同步

v1.4.0 — 性能优化 + 单手模式兼容 + Gboard 药丸适配

11 Jun 16:53

Choose a tag to compare

🚀 v1.4.0 Release Notes

性能优化

  • 主题切换不再变卡 — 修复 OnGlobalLayoutListener 累积问题,每次切主题不再叠加新的 listener
  • 反射缓存findAppearanceView 加 WeakHashMap 缓存,避免每次布局事件都走反射
  • listener 精简makeKeysTranslucent 从 listener 移出,只在 apply 时执行一次;listener 中只保留 addKeyBorders
  • 防重入 — listener 加 sApplying 标志,避免递归触发
  • 闭包泄漏修复 — ContentObserver 不再捕获旧 view,改用 mCurrentInputView

Gboard 药丸按键适配

  • 适配 fxliang 版 Gboard 的药丸(pill)形状按键(确认键、布局切换键)
  • 药丸按键使用对角描边 + 加粗边框
  • 修复药丸检测失效问题(SP 缓存导致 special_key_oval_shape 永远是 false)
  • 修复切换药丸设置后描边不更新(listener 缺少 special_key_oval_shape 监听)

单手模式兼容

  • 修复单手模式下 preedit 宽度问题 — 检测 isOneHanded 状态,跳过 layout fix,保留 fxliang 自己的 padding 对齐

其他修复

  • 按键描边 inset 精确计算 — 从 outer KeyView 读取 hMargin/vMargin
  • drawable 链解析 — 正确检测实际按键 drawable 的圆角和形状
  • 主题切换时清除旧缓存(sBorderedViews / sOriginalForegrounds / sAppearanceCache

已知问题

  • fxliang 原版 bug:左手单手模式下 popup 位置错位(非插件导致)

v1.3.1

11 Jun 12:25

Choose a tag to compare

fix: read hMargin/vMargin from outer KeyView for accurate border inset

v1.3.0 — 按键对角描边 + 配置同步统一

11 Jun 06:19

Choose a tag to compare

v1.3.0 更新内容

新增

  • 按键对角玻璃描边:每个按键左上↔右下对角线渐变描边,支持插件开关控制
  • 配置同步统一:ContentProvider 为主通道 + Broadcast 备选 + 主题圆角自动监听
  • 设置页新增「按键描边」开关

修复

  • 循环描边 bug:配置同步/布局变化/主题切换时描边不再重复叠加
  • 圆角对齐:按键描边圆角从小企鹅主题 key_radius 读取,自动匹配
  • 边距对齐:从 LayerDrawable inset 读取真实边距,不歪不偏

完善

  • 清理死代码:移除 saveToFile()/readConfigFile() JSON 配置路径
  • 保留按键触摸反馈:描边和按高亮共存

安装须知

  • 需先卸载旧版(签名冲突),再装新版
  • LSPosed 重新勾选 fcitx5 作用域

v1.1.2

10 Jun 07:03

Choose a tag to compare

chore: v1.1.2

v1.1.1

10 Jun 06:51

Choose a tag to compare

chore: v1.1.1

v1.1.0

10 Jun 06:04

Choose a tag to compare

v1.1.0: 波形振幅 3x 放大 + 副线上下散开 + 录音态边缘渐隐