+[8.50b6 x64] Chinese input issue with Quick Search box
Moderators: Hacker, petermad, Stefan2, white
+[8.50b6 x64] Chinese input issue with Quick Search box
This is the same issue as http://ghisler.ch/board/viewtopic.php?p=272833. I have to put the detail in an image, because the forum complains about language conflict. Sorry for the inconvenience.
Image: http://oi42.tinypic.com/2zyh8af.jpg
Image: http://oi42.tinypic.com/2zyh8af.jpg
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I will check it - I fixed a similar problem for Korean, so it's strange that you still get it with Chinese...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [8.50b6 x64] Chinese input issue with Quick Search box
Too much foreign characters is considered spam.yyang wrote:I have to put the detail in an image, because the forum complains about language conflict.
Let's split it up.
[url]http://oi42.tinypic.com/2zyh8af.jpg[/url] (part 1 of 3) wrote:This issue only appears with the 64-bit version. I tested further (with an empty wincmd.ini and only Quick Search box turned on) and found that typing with IME and copy/paste had different behavior. I'll use 一二三四五 (i.e. 12345) for example, and | indicates the caret position. To get them with Chinese IME, type yi er san si wu, respectively.
When typing into the Qucik Search box, character by character, I get:
一|二
一|三二
一|四三二
一|五四三二
Last edited by white on 2013-10-18, 15:52 UTC, edited 1 time in total.
[url]http://oi42.tinypic.com/2zyh8af.jpg[/url] (part 2 of 3) wrote:And when copying and pasting into the Quick Search box with 一, 一二, 一二三, 一二三四, 一二三四五, I get:
Last edited by white on 2013-10-18, 15:53 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for your report, I could reproduce the problem: It only occurs when choosing the right ideogram with ENTER, but not with SPACE. The problem is that Windows sends a wron EM_SETSEL message to the edit control, so the text gets selected by mistake.
I'm now intercepting this message in beta 7, so it should work now. Please test it!
I'm now intercepting this message in beta 7, so it should work now. Please test it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thank you very much for the update! But as I tested, the problem still existed with beta 7 64-bit version (32-bit is always OK). I don't think it's the IME's fault, because pasting from the clipboard also triggers it.
It may be helpful to report that when I typed into the Quick Search box, I did use SPACE rather than ENTER. My IME is Google Pinyin 2.7.22.120 (http://www.google.com/intl/zh-CN/ime/pinyin/). Thanks again for your huge effort!
It may be helpful to report that when I typed into the Quick Search box, I did use SPACE rather than ENTER. My IME is Google Pinyin 2.7.22.120 (http://www.google.com/intl/zh-CN/ime/pinyin/). Thanks again for your huge effort!
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I didn't know about this Google IME, sorry. Can you try with the built-in Windows IME (Microsoft PinYin ABC)? In this IME, when you press ENTER after entering the English text, the already typed text gets selected by mistake in TC 8.01 and 8.5 beta up to 6. This was fixed in beta 7.
I guess that the Google IME has a comparable bug, so I will probably be able to fix it in a similar way.
I guess that the Google IME has a comparable bug, so I will probably be able to fix it in a similar way.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
In my environment, beta 7 does have a significant improvement. When I type multiple Chinese characters as a sequence (like entering yiersan followed by multiple SPACEs for 一二三), the characters are displayed in the correct order with a wrong caret position. I've tried with both Microsoft PinYin ABC and Google Pinyin. Copying and pasting from the clipboard has the same effect. So I guess, if some extra code is added to put the caret to the end each time, the problem should be solved.
I also tested beta 7 in a freshly installed Windows 7 64-bit in VirtualBox, and both 32-bit and 64-bit worked perfectly well. So it must be a very rare issue, and I'll try to port all my configurations to find the real problem. Thanks for your update!
I also tested beta 7 in a freshly installed Windows 7 64-bit in VirtualBox, and both 32-bit and 64-bit worked perfectly well. So it must be a very rare issue, and I'll try to port all my configurations to find the real problem. Thanks for your update!
#147523
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have now tested it with the Google IME, but I didn't encounter any problems at all! Maybe I need to reconfigure the IME to get the problem? I installed it and didn't change any settings during installation or during use. I typed
yi <space> er <space> san <space> si <space> wu <space>.
and the characters were always correct, and the cursor at the end. It also worked when typing one of the numbers to choose the correct character.
I have even tried to start TC x64 with a fresh wincmd.ini - the only change I made was to use "letters - with search dialog".
Could you try with a fresh ini file too, please? Just start TC like this:
c:\totalcmd\totalcmd64.exe /i=c:\totalcmd\test.ini
yi <space> er <space> san <space> si <space> wu <space>.
and the characters were always correct, and the cursor at the end. It also worked when typing one of the numbers to choose the correct character.
I have even tried to start TC x64 with a fresh wincmd.ini - the only change I made was to use "letters - with search dialog".
Could you try with a fresh ini file too, please? Just start TC like this:
c:\totalcmd\totalcmd64.exe /i=c:\totalcmd\test.ini
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for your feedback! Difficult to say what causes it, but it sounds suspicious - either a virus scanner or a virus (key logger). Both may be using keyboard hooks which may be interfering with the input...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There was a bugfix for Korean in Beta 4, which may have fixed this problem too:
http://ghisler.ch/board/viewtopic.php?t=39880
Does the description look similar?
http://ghisler.ch/board/viewtopic.php?t=39880
Does the description look similar?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes, I think it's the same problem.ghisler(Author) wrote:There was a bugfix for Korean in Beta 4, which may have fixed this problem too:
http://ghisler.ch/board/viewtopic.php?t=39880
Does the description look similar?