+[8.5B3 x64] Quick Search is not working well in Korean

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

+[8.5B3 x64] Quick Search is not working well in Korean

Post by *sheppaul »

There is no problem with a 32 bit version. I guess the problem is in the Lazarus but please fix a problem if possible. It's a real pain.

I cannot input more than two syllables. For your understanding, the unit of searching is basically a syllable in Korean. (Though Korean is much more quicker than any other languages with lead syllable search as it stands for the abbreviations of all spoken language in Korean.)

It always overwrites the second syllable when I try inputting more than third syllable. Sometimes it overwrites the first syllable.

You can try to input this:
사랑해요 -> tkfkdgody (of course, you should try it in Korean IME)

사 tk
랑 fkd
해 go
요 dy

or try this:
연결프로그램(dusrufvmfhrmfoa)

연 dus
결 ruf
프 vm
로 fh
그 rm
램 foa

There is no problem with the first two syllables (연결, dusruf) in quick search. The problem starts when the rest of the syllables are inputted. The second syllabel (결) is overwritten by the rest of the characters. It behaves really weird.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There have been similar problems with Korean and Chinese in the past, but they were resolved in TC 8.50 (not 8.51) beta 3. Can you check the relevant thread, please?
http://ghisler.ch/board/viewtopic.php?p=272833

Do you have the problem described there? And do you have the problem in TC 8.50 final too?
Author of Total Commander
https://www.ghisler.com
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Post by *sheppaul »

Yes, it's not exactly same but similar situation with the first post in the link.

When I input 연결, there is no problem.

But when I input the third lead syllable 'ㅍ', the cursor is still located in the position of second syllable '결' and it is strangely "insert" mode which can overwrite the current letter. If there is any additional input, it starts overwriting the second syllable.

Whole word to search: 연결프로그램
Cursor is located in the second letter and cursor mode seems to be changed: 연


I can record the screen for your understanding if you need it.

This is happening in 8.5 final and 8.51b3 too. Both are x64 version.

ps. I'm using a korean version of windows 8.1 and made a fresh install of TCMD 8.5 final to test the function.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I found the problem! It's indeed a Lazarus problem - it uses SendMessage instead of SendMessageW to set the text selection. This gives wrong results only with Korean or other multi-byte language set as default for non-Unicode programs (SendMessage is non-Unicode).
Author of Total Commander
https://www.ghisler.com
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Post by *sheppaul »

It's fixed now. Thanks.
Only using TCMD x64. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for your detailed report! It made it easy to fix it.
Author of Total Commander
https://www.ghisler.com
Post Reply