NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] macOS client sumbit content directly when pressing Enter in Chinese input method

Open n374 opened this issue 1 year ago • 1 comments

Describe the bug

A clear and concise description of what the bug is. When typing English using Chinese input method in macOS client, pressing Enter should send the content from the input method into the input box, but the client also submits all the content in the input box to the chat conversation. Please refer to Screenshots section for more details

I've searched the issues, both the macOS client and web version have been reported to have similar bugs and have been fixed. However i am still able to reproduce it across different client/desktop combinations

To Reproduce Steps to reproduce the behavior:

  1. Download latest macOS client
  2. Set Send Key to Enter
  3. Open a new chat conversation
  4. Switch input method to Chinese
  5. Input any words and press Enter, you shall see the words submitted into conversation

Expected behavior A clear and concise description of what you expected to happen. Pressing Enter when typing using Chinese input method should not submit it into the chat conversation

Screenshots If applicable, add screenshots to help explain your problem.

https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/4954114/409b82fb-31d4-426d-8ee4-e1d371edd502

Desktop (please complete the following information):

  • MBP Intel Mid 2015
    • OS: [macOS Monterey 12.7.3 (21H1015)]
    • Version: [NextChat Version 2.10.3 (20240207.064246)]
  • MBP M1 2021
    • OS: [macOS Sonoma 14.3]
    • Version: [ChatGPT Next Web Version 2.9.12 (20231117.041037]

Additional Logs Add any logs about the problem here.

n374 avatar Feb 17 '24 03:02 n374

Same here

Femoon avatar Mar 05 '24 12:03 Femoon