wagoodman/dive

Windows IME: if Ctrl + Space (Collapse All) key combination bound in Microsoft Pinyin IME, it stops working in Dive

WesleyBlancoYuan opened this issue · 0 comments

What happened:
Ctrl + Space is bound to switch between CN and EN in my Windows 11 for Microsoft Pinyin IME. When I press it in dive 0.12.0, it does not collapse all dirs, but instead, I see IME changing status.

What you expected to happen:
I expect at least Dive reacts to my keypress; if IME wants to switch, I can only bear with it. I expect Dive to receive the key pressed events.

How to reproduce it (as minimally and precisely as possible):
Bind Ctrl + Space to switch between CN and EN in Microsoft Pinyin. Press it in Dive terminal window. You will see IME status changes between "中"(Chinese) and "英"(English), but dirs in Dive in terminal do not collapse.

Anything else we need to know?:
Need to install Chinese (Simplified) language pack first if you want to install the IME.
If I bind the function to Shift key in MS Pinyin, I can collapse the dirs with Ctrl + Space in Dive. Apparently the key press event is captured first and consumed by OS, never entered Dive.

Environment:

  • OS version: Windows 11(Microsoft Windows [Version 10.0.22631.3155]) + WSL 2 + Ubuntu 22.04