[Bug] 中文輸入法下鍵與搜尋導覽衝突 / [Bug] Chinese IME Down-Arrow conflicts with search navigation

:lady_beetle: 錯誤回報 Bug Report

:counterclockwise_arrows_button: 重現步驟 (Steps to reproduce)

中文:

  1. 打開搜尋欄
  2. 切換到中文輸入法(IME)
  3. 輸入一些文字,並按 下方向鍵 選擇候選字
  4. 注意到軟體同時將下方向鍵判定為切換搜尋結果

English:

  1. Open the search bar
  2. Switch to a Chinese input method editor (IME)
  3. Type some characters and press the Down Arrow to select candidates
  4. Notice that the software also interprets the Down Arrow as navigating through search results

:hammer_and_wrench: 是否已遵循疑難排解指南? (Did you follow the troubleshooting guide? [Y/N])

中文:
Y
(疑難排解指南:https://forum.obsidian.md/t/about-the-bug-reports-category/24/11)

English:
Y
(Troubleshooting guide: https://forum.obsidian.md/t/about-the-bug-reports-category/24/11)


:white_check_mark: 預期結果 (Expected result)

中文:
下方向鍵應該只由輸入法使用,用於切換候選字。

English:
The Down Arrow should be used exclusively by the IME to select candidates.


:cross_mark: 實際結果 (Actual result)

中文:
下方向鍵同時被輸入法(候選字選擇)與軟體(搜尋結果導覽)攔截,導致衝突,無法正常選字。

English:
The Down Arrow is interpreted both by the IME (for candidate selection) and by the software (for navigating search results), which causes a conflict and prevents proper character input.


:laptop: 環境 (Environment)

中文:

  • Obsidian 版本:1.9.12
  • 作業系統:macOS

English:

  • Obsidian version: 1.9.12
  • Operating system: macOS

:paperclip: 其他資訊 (Additional Information)

中文:
示範影片:https://share.cleanshot.com/8GFlTbsc

English:
Video demonstration: https://share.cleanshot.com/8GFlTbsc

Does it happen in the sandbox vault?

Does it happen in the editor area?

what is the output of “show of debug info” command?

Which IME are you using exactly? The one bundled in MacOS or something else?

Is this a new problem of 1.9.12 or has it always happened?

中文:

  1. 這個問題在我平常使用的 Vault 出現。
  2. 問題僅在「搜尋列」發生,在編輯器中沒有此情況。
  3. 我不太清楚「show of debug info」指令是什麼,也不知道要如何取得。
  4. 我使用的是 macOS 內建的「繁體中文注音」輸入法。
  5. 這是 1.9.12 才出現的新問題,之前版本不確定有沒有發生。總之我升級到最新版就遇到這樣的情況。我不是很常用這個軟體。

另外,我有去論壇上爬文,發現其他用戶也有回報過類似的問題,例如:

  • Chinese IME compatibility issue with Search and Quick Switcher

此外,在官方的 1.8.2 版本更新日誌中也提到過:「Search: Pressing the “Down” arrow key now removes the cursor from the search bar, making it easier to navigate results using arrow keys.」

從這些資訊看起來,問題似乎與 Obsidian 沒有正確區分「輸入法還在組字狀態(composition)」與「輸入完成」有關,導致下方向鍵同時被 IME 和 Obsidian 攔截而衝突。

我也注意到有人建議可以在安全模式(Safe Mode)下測試,因為有些情況可能與外掛或主題有關。

希望這些資訊能幫助釐清問題。如果需要我提供 debug info 的操作步驟,還請再指導。


English:

  1. This issue happens in my regular working vault.
  2. The problem only appears in the search bar, not in the editor area.
  3. I’m not familiar with the “show of debug info” command and I don’t know how to retrieve it.
  4. I’m using the built-in Traditional Chinese Bopomofo IME in macOS.
  5. This problem only started after I upgraded to version 1.9.12. I’m not sure if it happened in earlier versions, since I don’t use the software very frequently.

Additionally, I looked through the Obsidian Forum and found that other users have reported similar issues, such as:

  • Chinese IME compatibility issue with Search and Quick Switcher

I also noticed that in the official changelog for version 1.8.2, it mentioned:
“Search: Pressing the ‘Down’ arrow key now removes the cursor from the search bar, making it easier to navigate results using arrow keys.”

From these references, it seems the problem may be related to Obsidian not properly distinguishing between when the IME is still in composition mode and when input is complete. This causes the Down Arrow to be intercepted by both the IME and Obsidian, resulting in a conflict.

Some users also suggested testing in Safe Mode, as in certain cases the issue might be related to community plugins or themes.

I hope this information helps clarify the problem. If you would like me to provide debug info, please kindly guide me on how to do so.