EverythingToolbar icon indicating copy to clipboard operation
EverythingToolbar copied to clipboard

Search replacing doesn't work properly when enable IME

Open AioiLight opened this issue 2 years ago • 0 comments

Describe the bug When Search replacing is enabled, it is not entered properly when IME is on. I was happened in Japanese IME, but it could be happening in all of CJK.

Steps to reproduce

  1. Enable "Replace start menu search"
  2. Open EverythingToolbar once, make sure IME is turned on, and close it.
  3. Press the Windows key. Enter any character to start EverythingToolbar.
  4. Reproduce.

Expected behavior In Japanese, typing "aa" should type "ああ". Actually, typing "aa" will type "aあ".

I think that such a bug occurs because EverythingToolbar assigns searchTermQueue directly to the search string at EverythingToolbar\Helpers\ShortcutManager.cs.

Until the IME decide the strings, they will not actually be entered into the search window. So, if IME is on, the keyboard input needs to be emulated.

Screenshots image

Log file output

Log output
2021-07-17 12:27:03.3053|INFO|EverythingToolbar started. Version: 0.7.1.0, OS: Microsoft Windows NT 10.0.19043.0|
2021-07-17 12:27:03.5563|INFO|Everything version: 1.4.1|

AioiLight avatar Jul 17 '21 04:07 AioiLight