Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 _countof generates weird tooltips
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Apr 07 2009 :  10:20:05 AM  Show Profile  Reply with Quote
VAX 1649, VS 2008 SP2, DX SDK installed.

When hovering the closing parenthesis in a _countof(xxx) statement, a huge tooltip is displayed with stuff from DirectX:

inline _D3DMATRIX operator * ...
inline _D3DVECTOR operator * ...
...
D3DX10INLINE ...
D3DX10INLINE ...
...


Crazy.

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 07 2009 :  5:58:31 PM  Show Profile  Reply with Quote
Do you get a sensible tooltip if you hover over the actual function name "_countof" or the parameter "xxx" ?

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Apr 14 2009 :  04:38:47 AM  Show Profile  Reply with Quote
See above: "...hovering the CLOSING parenthesis"
Hovering other parts of the statement yields sensible tooltips.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 14 2009 :  10:28:32 AM  Show Profile  Reply with Quote
This is why I asked. I would not expect hovering over the closing parenthesis to offer any form of tooltip at all. It is not a natural target for mouse hovering, since it is only a single character. Also it is common to get several closing brackets in a row.

Are you deliberately hovering the mouse over the closing bracket, expecting a sensible tooltip, or is the mouse just ending up here by accident?

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Apr 17 2009 :  10:52:40 AM  Show Profile  Reply with Quote
I was bored and took an extra look at the provided VAX-tooltips. So I put the cursor there deliberately.

I didn't expect a tooltip, but got the strange tooltip described above... now what? :P
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 17 2009 :  12:11:34 PM  Show Profile  Reply with Quote
Feel happy since VA adds hours of entertainment to your working day. Just hover your mouse over random brackets and watch for unexpected tooltips

This is hardly a serious bug that we need to worry about, at most it is an interesting oddity.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000