TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
demofe
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-13, 01:49 UTC

TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *demofe »

This problem is related to the following log.
25.03.22 Fixed: Quick search with option "Letters - with search dialog" still not working properly with Traditional Chinese when entering multiple characters at once (64)

This problem has been solved only for chinese characters, when entering multiple english characters at once with chinese IME, the quick search dialogue input box still only capture the first character and drop the laters.

i hope you can fix it. thanks.

this topic relate to the following link.
https://www.ghisler.ch/board/viewtopic.php?p=407611#p407611
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *ghisler(Author) »

Unfortunately I don't see a way to fix this: I don't get any different message when text is entered via IME and directly via keyboard. The problem is that the IME sends a "focus lost" event, and then the quick search dialog is closed. I ignore this message when receiving Chinese characters, but I can't ignore it when receiving English characters because they can also be entered without IME, so the "focus lost" event must be real. :(
Author of Total Commander
https://www.ghisler.com
demofe
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-13, 01:49 UTC

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *demofe »

But It only appears in TCx64 version. there is no such problem in TCx32.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *ghisler(Author) »

I don't know why, but I don't receive a "focus lost" notification in the 32-bit version.
But I found a solution now: When the user chooses a string, I'm receiving a message WM_IME_ENDCOMPOSITION. Ignoring the focus lost notification afterwards seems to work also with English input.
Author of Total Commander
https://www.ghisler.com
demofe
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-13, 01:49 UTC

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *demofe »

I'm looking forward to the new beta. :D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *ghisler(Author) »

2demofe
Please could you test this with beta 2 (or newer if you read this after the release of a later beta version)?
Author of Total Commander
https://www.ghisler.com
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *sky66 »

Sorry, I cannot reproduce it with TC 10.50b1 or b6 64bit.

Entering multiple english characters at once with chinese IME:
1. Press Shift + T C with chinese IME, the result is OK
2. Press Ctrl + S first, and then paste "TC" with chinese IME, the result is OK
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *ghisler(Author) »

I can still reproduce it easily with beta 1 (64-bit only!!!). Here are the steps:
1. Run Total Commander 64-bit, either 10.00 final or 10.50 beta 1
2. Go to Configuration - Options - Quick search and change it to the 4th option: Letters - with search dialog
3. Go to the Total Commander directory
4. Switch keyboard input to Chinese (simplified China), Microsoft PinYin
5. Start typing: history
6. One of the suggestions is the English word history -> press the number of that suggestion, e.g. 1

-> The cursor jumps to the file history.txt, but the quick search window disappears!

Now repeat the same with one of the later beta versions.
-> The cursor jumps to the file history.txt, and the quick search stays on screen and active.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME

Post by *ghisler(Author) »

Since there seem to be no more problems, I will move this thread to fixed bugs. Please report similar bugs in a new thread in the bugs forum.
Author of Total Commander
https://www.ghisler.com
Post Reply