quote:VA_X.dll file version 10.6.1859.0 built 2011.10.02 DevEnv.exe version 10.0.40219.1 Ultimate msenv.dll version 10.0.40219.1 Comctl32.dll version 6.0.2900.6028 Windows XP 5.1 Build 2600 Service Pack 3, v.6055 2 processors (x86)
Visual C++
My display settings:
DESCRIPTION This bug only appears for inline functions implemented in the header file!
STEP 1 Only create a class definition. If you hover over the name of the function, a tooltip will appear:
STEP 2 In the same file create inline implementation for BugFun. After this, when you hover over a function name (at any point in the program), comments will no longer appear in the tooltip:
BUT This bug does NOT occur if the class is declared as a template:
... or if you write a new comment near the function implementation. But this case is very inconvenient, if inline functions are implemented in another file (eg *.inl)
So if I understand correctly, the expected behavior is to show tooltips from header files when the checkbox "display comments from source files when available" is ticked?
This options is not ticked on your screenshot. So 2 cases are possible: 1. You did want it to be checked, so the screenshot was took in a wrong state. 2. The screenshot is right and you expect comments from headers when the option is not ticked because "source" means c/cpp files for you and not headers.
I am seeing both effects here, now I have worked out what to look for. Comments from the declarations of inline functions are not being shown in the tooltips:
case=61994
The class name being shown twice in the tooltip is a known problem: