INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Issue a search box problem with using IME(Japanese, may be also Chinese)  (Read 927 times)

terushu

  • Recent member
  • *
  • Posts: 5

Hello,

I have a license of MC25 and I'm satisfied a playback quality of MC25 very much.
However, I hesitate to upgrade to MC27 because there is an issue which is important for me.

I often use the search box and most of my music tags are Japanese.
When I focus on the search box and turn on IME, the window of IME appears in the upper left corner of the desktop.

Do you have any future plans to resolve this issue?

Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #1 on: February 23, 2021, 05:49:08 am »

I don't think MC does that.  Perhaps a setting somewhere else?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #2 on: February 23, 2021, 06:47:52 am »

That's the standard Windows 10 IME.

When the user sets Focus to the Search box (or any other writable field), MC should tell Windows where to show the IME window in case the user invokes it (usually just below the textbox). I think this is the call:
https://docs.microsoft.com/en-us/windows/win32/api/imm/nf-imm-immsetcompositionwindow

Full API reference - I think you can also handle WinProc messages to detect when IME is opening and then set its position:
https://docs.microsoft.com/en-us/windows/win32/intl/input-method-manager-reference

@Terushu, does this work OK on MC25? If so, then it's a bug on MC27.
Logged

terushu

  • Recent member
  • *
  • Posts: 5
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #3 on: February 25, 2021, 02:28:10 am »

I don't think MC does that.  Perhaps a setting somewhere else?

I think it's a issue of MC or the framework which is used for MC.
If the search box is created by windows general component, this issue will be not caused.
Logged

terushu

  • Recent member
  • *
  • Posts: 5
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #4 on: February 25, 2021, 02:31:28 am »

That's the standard Windows 10 IME.

When the user sets Focus to the Search box (or any other writable field), MC should tell Windows where to show the IME window in case the user invokes it. I think this is the call:
https://docs.microsoft.com/en-us/windows/win32/api/imm/nf-imm-immsetcompositionwindow

Full API reference - I think you can also handle WinProc messages to detect when IME is opening and then set its position:
https://docs.microsoft.com/en-us/windows/win32/intl/input-method-manager-reference

@Terushu, does this work OK on MC25? If so, then it's a bug on MC27.

@zybex
Thanks.
This problem is also reproduced in the MC25.

MC is very popular in Japan so I want to fix this issue.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #5 on: February 25, 2021, 07:12:38 am »

We will try to reproduce the problem.
Logged

terushu

  • Recent member
  • *
  • Posts: 5
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #6 on: February 26, 2021, 08:14:49 am »

We will try to reproduce the problem.

Thank you for your consideration!
Logged

newsposter

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 789
Re: Issue a search box problem with using IME(Japanese, may be also Chinese)
« Reply #7 on: February 26, 2021, 01:26:42 pm »

Check with windows updates for anything related to IME, etc.

On windows 10, Microsoft acknowledges, and has been trying to fix, a series of long-standing problems with IME and Japanese language support.

This has been going on since the introduction of Windows 10.
Logged

terushu

  • Recent member
  • *
  • Posts: 5

I hope that the program will handle and set a correct window position of IME by using ImmSetCompositionWindow, WndProc events, etc.
Logged
Pages: [1]   Go Up