thunderclient/thunder-client-support

Unable to Input Chinese in URL and Query Params Fields on macOS

iknki opened this issue · 1 comments

Describe the bug

As shown in the attached image, when I attempt to input Chinese using the macOS built-in Pinyin input method, there is an issue. Specifically, when I type a letter (for example, 'w') and try to press the corresponding number key to select the Chinese character (e.g., '万'), it automatically inserts "w1" instead of the Chinese character. The same issue occurs in the Query Params field.

This problem does not occur when copying and pasting Chinese characters into the fields, but direct input using the macOS input method fails.

Additionally, this issue seems similar to issue #535, though in that case, the issue is on an Ubuntu system. I am using macOS and do not encounter this problem on the Windows platform.

Screen Capture
1729004061435

To Reproduce

  1. Open Visual Studio Code on macOS.
  2. Install and open the Thunder Client extension.
  3. Use the macOS Pinyin input method to type any letter (for example, 'w') and press the corresponding number to select the Chinese character (e.g., '万') in either the URL or Query Params fields.

Expected behavior

The input method should correctly insert the selected Chinese character (e.g., '万') into the fields.

Actual Behavior
The input method inserts the letter followed by the selected number (e.g., "w1") instead of the Chinese character.

Platform:

  • OS: macOS 12.7.6
  • vscode version: 1.94.2
  • node version: 21.7.1
  • extension version: 2.28.0

Are you using the free version/paid version/trial:
Free version

I have updated the details