trime icon indicating copy to clipboard operation
trime copied to clipboard

Unable to switch to other IMEs/无法切换到其他输入法

Open ehyoitsdavid opened this issue 1 year ago • 7 comments

Describe the bug

Cannot switch to any other IME once switched to Trime 一旦切换到同文输入法就,就如何都无法切换到其他输入法了

To Reproduce Steps to reproduce the bug:

  1. Switch to Trime IME
  2. Attempt to switch back to GBoard
  3. See the behaviour

Expected behavior Can switch back to GBoard

Log N/A

Screenshots

Smartphone (please complete the following information):

  • Device: Google Pixel 4a 5G
  • OS: Android 13
  • Theme: Default
  • Version: v3.2.13
  • Build info: Build: Release CI Build time: 2023-07-01 02:55:43 UTC Build version name: v3.2.13-gc1cf0a73 Git Hash: c1cf0a73 Git branch: v3.2.13 Git repo: https://github.com/osfans/trime

Additional context Add any other context about the problem here.

ehyoitsdavid avatar Jul 02 '23 19:07 ehyoitsdavid

你是怎么切换的?

WhiredPlanck avatar Jul 17 '23 16:07 WhiredPlanck

长按左下角方案选单或者空格键都是不行

ehyoitsdavid avatar Jul 17 '23 16:07 ehyoitsdavid

长按左下角方案选单或者空格键都是不行

先从系统设置切换吧 …… 我研究一下怎么回事

WhiredPlanck avatar Jul 18 '23 13:07 WhiredPlanck

  1. 在你的键盘布局文件(*.trime.yaml文件)的 preset_keys: 层级下配置一个按键:(可能本来就有)
  # trime設定
  IME_switch: { label: 🌐, send: LANGUAGE_SWITCH } #彈出對話框選擇輸入法
  1. 将该按键设置为长按空格触发,例如:
    - {click: space, long_click: IME_switch, width: 40}
  1. 尝试长按空格键

shitlime avatar Aug 02 '23 02:08 shitlime

是这样子吗?我试过了常按空格但是没反应。。

image

Helenaria avatar Aug 05 '23 18:08 Helenaria

是这样子吗?我试过了常按空格但是没反应。。

image

不是的,你需要写在正确的层级下,并严格按照yaml的语法

参考文档:https://github.com/osfans/trime/wiki/trime.yaml

shitlime avatar Aug 05 '23 18:08 shitlime

请看新版本有无此问题。每夜版:https://github.com/osfans/trime/releases/tag/nightly

WhiredPlanck avatar Jan 25 '24 14:01 WhiredPlanck