T O P I C R E V I E W |
netsesame |
Posted - Aug 22 2011 : 1:47:23 PM V10.6.1854 VS 2010, c++
////test code m_curreditor = el.find_first("richtext"); m_imagedlg.xcall("showpaste"); //+?+?+?+?+?-?+?+?(Chinese comment) //m_imagedlg.xcall("+?+?+?+?+?+?-+++"); // Chinese params
m_curreditor.xcall("doPaste"); // hover on this code ////test code end
Mouse hover on the first function find_first(), the tooltip whill show the correct info. However, if these exists some Chinese text(params or comment) before, for example, hover on the last function xcall(...), none tooltip popup. |
30 L A T E S T R E P L I E S (Newest First) |
support |
Posted - Dec 16 2011 : 2:15:27 PM case=63166 is fixed in build 1862 |
feline |
Posted - Dec 06 2011 : 1:55:37 PM Thank you for the update, I am very pleased to have finally gotten to the bottom of this problem, and to see it fixed |
netsesame |
Posted - Dec 06 2011 : 12:46:05 AM thanks a lot.
The new build sure resolves my issue. It's great. |
feline |
Posted - Dec 05 2011 : 11:57:18 PM Thank you for the test solution, this has helped. I have replied via email to you about this.
I am also seeing a problem where the VA underlining for spelling errors is to long, when Chinese is being underlined:
case=63166 |
netsesame |
Posted - Dec 02 2011 : 9:41:39 PM Adding test project in the same package, send you a new post.
thanks. |
netsesame |
Posted - Dec 02 2011 : 9:36:23 PM I've send you the setting files for both VA and IDE. Thanks. |
feline |
Posted - Dec 02 2011 : 8:29:44 PM Sorry for the slow reply, I have now set up a Windows 7 Ultimate 64bit test machine with VS2010. This is an English install, but I then installed the Chinese (Simplified) language pack for Windows 7, which has changed Windows 7 into Chinese.
I still cannot reproduce this problem. The tool tips are displaying the comments correctly for me. This is my current setting for encoding:
I used google translate to find out what "English (United kingdom)" should look like, and then looked for this in the dialog listbox. This is my google output, in case I have mis-read it:
I am wondering if there is something about the file encoding, or possibly the IDE settings that is a factor here.
If you have the time, can you make a small default test project that shows this tooltip problem, and then send me the project, along with your VA and IDE settings in a zip file please? I can then try the same project as you, with the same settings, and see if I can reproduce this problem.
You can export your VA and IDE settings via:
VA Options -> Performance -> Export Settings IDE tools menu -> Import and Export Settings -> Export selected environment settings
Please submit the files via the form:
http://www.wholetomato.com/support/contact.asp
including this thread ID or URL in the description, so we can match it up. |
netsesame |
Posted - Nov 23 2011 : 07:39:55 AM
My OS is Chinese, so the none Unicode language default is set to Chinese also. In this settings the Tomato works not correctly.
If I change the none Unicode language to English(US), the tomato works correct. However, many other applications using Chinese menus can't work. |
feline |
Posted - Nov 22 2011 : 4:35:50 PM I am using the following setting in Windows 7:
When this is set to "Chinese (Simplified, PRC)" then the tooltips show the Chinese characters correctly for me. This is the expected, normal behaviour.
Can you confirm this is the setting you are changing? |
netsesame |
Posted - Nov 22 2011 : 02:18:25 AM to feline:
yes, I just change my current system locale from Chinese to English(US), then reboot, then the Tomato will work correctly. |
feline |
Posted - Nov 21 2011 : 6:32:41 PM netsesame, where in Windows are you changing the OS language? Are you just changing:
Region and Language -> Administrative tab -> Change system locale... -> Current system locale:
or are you changing something else? |
netsesame |
Posted - Nov 20 2011 : 8:55:55 PM So regret the issue has not been resolved yet.
I tried to switch my Win7's language from Chinese to English(US), then VS2010 will remind me to change the file encoding to Unicode(UTF-8), then Tomato will work correctly.
However, many installed application using Chinese menu will be malformed, so I changed back. The same UTF-8 encoding file, Tomato return to it's wrong state like above.
Help me. |
feline |
Posted - Oct 24 2011 : 1:00:16 PM Going back to the start of this thread, I have downloaded the test file "Header1.h" that you kindly uploaded. Thank you for this.
Working on Windows 7 English 32bit, with VS2010 English, I have added this file to a C++ solution.
When I open this header file the Chinese characters in the comments are displayed correctly, but they are not displayed correctly in the tooltips:
I then used the Windows start menu to load "Region and Language", and set:
Region and Language dialog -> Administrative -> Change system locale... -> Current system locale = Chinese (Simplified, PRC)
This is the language used for displaying text in programs that do not support Unicode. After doing this and rebooting my machine the tooltips show the comments correctly:
Are you able to reproduce problems in this test header file? If so, what am I supposed to be doing / testing in this file? |
netsesame |
Posted - Oct 22 2011 : 08:40:05 AM To feline,
The only difference between us maybe the different language of our OS. Cheray and I both use the Win7 Chinese version OS. We all report the same problem, my VS2010 is English, Cheray's is Chinese. It shows that the question has nothing to do with the VS version.
So, if you should think about the reason of the affect of OS language? Thanks. |
feline |
Posted - Oct 21 2011 : 4:14:09 PM Apologies for the slow reply.
cheray would you be able to send me this test file, as a zip file please? I can then use the file you are using here to try and reproduce this problem.
I have a test file here with Chinese characters in it, and the tooltip and refactoring menu icon are both showing in the correct place for me, when hovering over a function call after Chinese characters in comments. |
cheray |
Posted - Oct 15 2011 : 03:46:12 AM
When I'm hovering the mouse over the function dump, the arrow is on the line above, pointing to the function AssertValid(), the tooltip is also that of AssertValid(). I'm using VS2010 Chinese version, win7 Chinese version, coding of the editer is GB2312. It's noting to do with neither the font of the editor nor the coding format cause I've tried several times.
|
netsesame |
Posted - Oct 11 2011 : 10:29:11 PM So strange. - What font and font size are you using? It may depend on the selected font or font size. Nothing to do with the font and font size, I switch several fonts, which include console, courier new, YaHei, song, several size. Neither help. - What is the state of these options? Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Auto Quick Info False Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Disable IntelliSense True |
accord |
Posted - Oct 11 2011 : 6:46:42 PM Thank you for the screenshot of all tooltips. I get the correct results using Win 7, VS2010 and 1859. - What font and font size are you using? It may depend on the selected font or font size. - What is the state of these options? Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Auto Quick Info Tools -> Options -> Text Editor -> C/C++ -> Advanced -> Disable IntelliSense |
netsesame |
Posted - Oct 10 2011 : 10:40:42 AM - Can you please take a screenshot of what you see?
From the screenshot above, you can see that how tooltip works. That is, either the tooltip offset a distance, or give a wrong text, or even nothing for you.
- Which version of Windows are you using? Is it English or localized? Win 7, Chinese.
- Which IDE are you using? Visual studio 2010, English version.
- If using Windows XP: what language have you set for non-unicode programs? (Control Panel -> Regional and Language Options -> Advanced tab) - Which languages have you set on the first tab of the same dialog? Chinese. |
accord |
Posted - Oct 10 2011 : 09:31:02 AM cheray: can you also please take a screenshot of what you are seeing and post here? Thanks. |
accord |
Posted - Oct 10 2011 : 09:16:14 AM zxf8692: I was able to repro your problem and replied by mail. Thank you for your patience.
netsesame: Thank you for uploading the file again. I was able to open the other version as well if I manually open with then encoding "Chinese Simplified (GB2312)" I don't work with unicode file often The automatic detection seem to fail for this file.
However, I wasn't able to reproduce your problem, unfortunately (see screenshot). I have been trying with Windows 7 and Windows XP (both with English and Chinese encoding for non-unicode programs).
- Can you please take a screenshot of what you see? - Which version of Windows are you using? Is it English or localized? - Which IDE are you using? - If using Windows XP: what language have you set for non-unicode programs? (Control Panel -> Regional and Language Options -> Advanced tab) - Which languages have you set on the first tab of the same dialog? |
netsesame |
Posted - Oct 08 2011 : 09:32:46 AM To accord:
Now I updated the H file to UTF-8 encoding. You can download and try agagin. Thanks.
http://www.shikongzi.com/uploadfile/Header1.h |
zxf8692 |
Posted - Oct 08 2011 : 09:18:17 AM I have reply you email and attach the test file, please check it. I expect the file will give you a diffence present.tks. |
accord |
Posted - Oct 08 2011 : 09:04:02 AM netsesame: thank you for the file. However, when open it I get seemingly invalid characters in it. The encoding of the file is "Central European (Windows) - Codepage 1250"
zxf8692: I have replied your email. Unfortunately there are problems that are not obvious to reproduce, sometimes because a little, subtle difference causing a very different behavior. |
zxf8692 |
Posted - Oct 08 2011 : 01:20:51 AM The same problem is also affect va view. I have reprot this problem to vax support, however, they can't reproduce this bug, it's frustrating. |
cheray |
Posted - Oct 07 2011 : 10:33:09 PM I have the same problem. If there exists any Chinese characters, no matter they're in comments or string literal to output, the tooltip behind it are all at the wrong place. If the Chinese characters are replaced with English, it's OK. The lastest 1859 didn't solve this problem. Maybe there's something wrong for VA_X to parse the unicode multibyte characters in VS2010. |
netsesame |
Posted - Oct 07 2011 : 09:57:55 AM I creat a test .H file for download:
http://www.shikongzi.com/uploadfile/Header1.h
this H file include a class C1, and two global function, both of them use Chinese comment. the file encoding is GBK, even changes to UTF-8, no chance happened. |
netsesame |
Posted - Oct 07 2011 : 09:28:48 AM I got and installed the lastest 1859...
However, the question is still there, in fact, it seems that it has not been resolved at all. I don't know what's the reason for me. Is any configuration needed? |
support |
Posted - Oct 04 2011 : 11:21:09 PM There are actually two issues here, one with multibyte or Unicode characters (case=60870) and one with comments appearing both before and after a function definition (case=60776). Both cases are fixed in build 1859. |
accord |
Posted - Aug 23 2011 : 2:50:59 PM I am seeing the same effect here:
case=60776 |