Photoshop: In Windows 10 2004, shortcut keys cannot be used in the Chinese input method.

  • 6
  • Problem
  • Updated 2 months ago
  • Acknowledged
  • (Edited)
In Windows 10 2004, shortcut keys cannot be used in the Chinese input method. I hope to contact Microsoft to solve this problem. Every time you use the shortcut key, the Chinese candidate will automatically jump out or there will be no response. You must switch to the English input method again and again. I was almost going to crash.
Photo of Shompinice

Shompinice

  • 24 Posts
  • 3 Reply Likes

Posted 4 months ago

  • 6
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Howdy Shompinice,

This is a limitation of the IME concept.  You'll find the same issue in Japanese and Korean as well.  You have to switch into the English Mode to send "recognizable" shortcut commands to an application expecting a single key-stroke.

Sorry,
David
Photo of Katsuyuki Sakai

Katsuyuki Sakai

  • 2 Posts
  • 3 Reply Likes
Technically, Photoshop should be able to handle shortcuts even when IME is on.
The implementation may be something like below:

1) Check whether Photoshop needs to receive text inputs from IME (e.g. if Text tool is activated, Photoshop needs to get text from IME).
2) If No to step 1, listen to WM_IME_STARTCOMPOSITION message. The message is sent to Photoshop when a user start typing with IME ON.
3) If Photoshop receieves the WM_IME_STARTCOMPOSITION message, cancel composition of text in IME by invoking ImmNotifyIME(hImc, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
4) Besides to step 2 and 3, listen to WM_IME_KEYDOWN message to know which key is pressed by user. By processing WM_IME_KEYDOWN message, Photoshop can handle shortcut.


WM_IME_STARTCOMPOSITION message
https://docs.microsoft.com/en-us/windows/win32/intl/wm-ime-startcomposition

WM_IME_KEYDOWN message
https://docs.microsoft.com/en-us/windows/win32/intl/wm-ime-keydown

ImmNotifyIME function
https://docs.microsoft.com/en-us/windows/win32/api/imm/nf-imm-immnotifyime

Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Both versions of Chinese behave the exact same as Japanese and other languages with IMEs with regard to keyboard shortcuts.  The solution is consistent on both Windows and Mac as well as with other applications.  Sorry.
Photo of Shompinice

Shompinice

  • 24 Posts
  • 3 Reply Likes
Unfortunately, according to my test, in macOS 10.14 system, when using Chinese input method, you can normally use shortcut keys to operate (for example, use M to call the selection tool, use command + L to call the color scale dialog box, use command + S to store the file, Use command + N to create a new file, etc.)
Photo of Shompinice

Shompinice

  • 24 Posts
  • 3 Reply Likes
In other words, this problem does not exist on the Mac at all. As for Windows, I do n’t know the situation. Even if the problem exists, there must be a technical solution. This is not a normal state of use.
Photo of Katsuyuki Sakai

Katsuyuki Sakai

  • 2 Posts
  • 3 Reply Likes
Hi David,

Thanks for your reply.
However, there's some workarounds that Photoshop can implement.

Chrome browser explicitly controls IME status in order to receive keyboard input directly. If an active focus is in text area, it enables IME. If not, it disables IME.

Photoshop should be able to implement same kind of code so that it can handle shortcuts regardless of IME status. It is NOT intuitive to ask users to turn off IME before they use Photoshop's shortcut.

The Chrome code to control IME status.
https://github.com/chromium/chromium/blob/55f44515cd0b9e7739b434d1c62f4b7e321cd530/ui/base/ime/win/input_method_win_imm32.cc#L345,L355
Photo of Shompinice

Shompinice

  • 24 Posts
  • 3 Reply Likes
This reply was created from a merged topic originally titled Windows 10 2004 version, cannot use shortcut keys in Chinese input method.

在Windows 10 2004中,中文输入法不能使用快捷键。我希望与Microsoft联系以解决此问题。每次您使用快捷键时,中文候选人都会自动跳出,或者没有任何反应。您必须一次又一次地切换到英语输入法。我快要崩溃了。
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
I see your point.  Expectations of IME usage and workflow vary between populations.  And over time.  I think this might be an issue where what was considered acceptable before is not sufficient now.
I've gone ahead and raised this issue with the team.
Thanks,David