LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

bug with data tooltip

Hello NI,

 

I have found a little bug with the data tooltips (CVI2015), and I even can give a recipe to reproduce this behavior Smiley Wink

 

If running a program in debug mode, with the environment setting 'Hide windows when application is running', a data tooltip may show up although no source code window is displayed (example shown below).

 

This happens if

(1) there is a breakpoint in the source code such that the programs stops,

(2) the cursor points to a line where it is able to display a tooltip (example shown below)

(3) BUT the program is continued before this tooltip is displayed

 

then this tooltip is displayed although the source code window already has disappeared and the program GUI is shown.

If one would wait long enough with the source code window open to have the data tool tip shown then the tooltip is cleared as expected if the source code window is hidden.

 

Not crucial but a bit irritating Smiley Happy

 

data_tooltip_exe.png

above you can see the data tooltip (giving the full path of a file in the project browser) although the project browser is not visible...

 

data_tooltip_source.png

 

this happens because the cursor is located in a place where it would show a tooltip if the source code window would be open...

Message 1 of 10
(4,387 Views)

Hi Wolfgang,

 

I tried to reproduce the issue, but I do not see it. So I got some questions:

 

Do you see this behavior on multiple machines?

Do you see the behavior with multiple projects? If so, do you have one exampel, where I can reproduce it, too?

 

Best,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 2 of 10
(4,291 Views)

Hi Melanie,

 

Thanks for looking into it. I admit that reproducing this issue may be a little bit tricky because it depends on the location of your mouse cursor, one needs to have it located in a position where it will show a data tooltip if the source code window is open AND of course once the program is run the GUI of the software needs to cover this place too so that the cursor is above the GUI - so this effect depends both on the position of your source code window and the GUI...

 

Concerning your questions - I have seen this only on one computer, but I haven't looked at it at others. Also, I did not try to build another example, but if I find some time I can try

0 Kudos
Message 3 of 10
(4,265 Views)

Hi Wolfgang,

 

thank you for your reply.

 

I tried to find the right position for the cursor several times before, this is why I asked you for the machine and project.

 

Please let me know, if you see the behavior in another project or on another machine.

 

I will try to find the correct position again meanwhile.

 

Best,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 4 of 10
(4,261 Views)

Hi Melanie,

 

at least I can answer your first question now - I can see the effect on a different computer, too.

 

Maybe to clarify the mouse cursor position: I have the IDE open and start running the program by clicking on the green arrow; then I move the mouse cursor to the (soon to be hidden) project area where the file names are listed. The software then will stop at a breakpoint and if you would wait long enough (but otherwise do nothing) the data tooltip will pop up giving the full path name. However for reproducing the issue one will not wait so long but as soon as the program stops at the breakpoint hit F5 to continue. Then the GUI shows plus the skipped data tooltip...

 

0 Kudos
Message 5 of 10
(4,239 Views)

Hi Wolfgang,

 

thank you for your reply.

 

I will try the way you discribe and see, if I can reproduce it then.

 

Best,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 6 of 10
(4,231 Views)

Hi Melanie,

 

it also works for NI provided samples...

 

I have used samples/userint/callback.cws with the following modifications:

- add a breakpoint at the first line of code (int hpanel )

- increase GUI panel size to 1150 x 1450 so that the mouse pointing to the project files (see screenshot below) will be above the GUI when the program is run (this of course depends on your screen size)

 

That's it. Run the program but at the breakpoint immediately press F5, then you should obtain the result depicted below.

 

data.png

 

 

demo.png

0 Kudos
Message 7 of 10
(4,224 Views)

Hi Wolfgang,

 

thank you for the detailed reproduction steps. I could reproduce it now.

 

I will report the behavior and post the tracking number then.

 

Best,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 8 of 10
(4,217 Views)

Hi Wolfgang,

 

the tracking number is 584797. The issue is reported with it internally.

 

Thank you for providing all the information.

 

Best,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 9 of 10
(4,216 Views)

Thank you too Smiley Happy

0 Kudos
Message 10 of 10
(4,214 Views)