Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control+Shift+grave不能用 #24

Open
liuxilu opened this issue Feb 24, 2025 · 3 comments
Open

Control+Shift+grave不能用 #24

liuxilu opened this issue Feb 24, 2025 · 3 comments
Labels

Comments

@liuxilu
Copy link

liuxilu commented Feb 24, 2025

按Ctrl+Shift+~`不能切换方案
改为Control+Shift+asciitilde可用
用的weasel 0.14.3,不知道新版的情况
Windows 10 22H2

@liuxilu liuxilu added the bug label Feb 24, 2025
@ksqsf
Copy link
Member

ksqsf commented Feb 24, 2025

不是 bug,按键序列怎么写可以参考 https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md#%E5%85%AB%E5%85%B6%E5%AE%83

当 shift 存在时,需要使用按下 shift 时发送的键。如 grave + shift = asciitilde。

@ksqsf ksqsf closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
@liuxilu
Copy link
Author

liuxilu commented Feb 24, 2025

我不是说这是程序bug,我是说这是default.yaml的bug,自带非法快捷键

@ksqsf ksqsf transferred this issue from rime/librime Feb 24, 2025
@ksqsf ksqsf reopened this Feb 24, 2025
@lotem
Copy link
Member

lotem commented Feb 24, 2025

iBus 的鍵碼對上下檔的字符做了區分。iBus 鍵碼在 Linux 上是原生的,在其他平臺上由前端程序把操作系統的鍵碼轉換成 iBus 格式;如果只按 Shift 鍵打大寫字母或上檔字符,會得到上檔的鍵碼;而其他修飾鍵和 Shift 組合,按鍵字符是哪個,並沒有一致的規定,各個操作系統的按鍵消息,給出的字符不一樣。這個問題在設置 Control+Shift+<數字> 快捷鍵 時發現了,兩種表示都定義了一遍。題主說的這個,我猜測跟數字的情況一樣。定義的那種寫法我估計是其他系統能用,但在 Windows 上需要匹配 Control+Shift+asciitilde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants