TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
Moderators: Hacker, petermad, Stefan2, white
TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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
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
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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
https://www.ghisler.com
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
But It only appears in TCx64 version. there is no such problem in TCx32.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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.
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
https://www.ghisler.com
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
I'm looking forward to the new beta. 

- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
2demofe
Please could you test this with beta 2 (or newer if you read this after the release of a later beta version)?
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
https://www.ghisler.com
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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
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
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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.
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
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC10.50b1: another problem of qucik search in TC 64bit, with chinese IME
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
https://www.ghisler.com