thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.64k stars 130 forks source link

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

Open iknki opened 3 weeks ago

iknki commented 3 weeks ago

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:

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

iknki commented 3 weeks ago

I have updated the details