Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69084

"Search Results >> Go To" tentative Bug Report

$
0
0

Start from the following simplified situation:

 

Screen Shot 2014-05-15 at 13.43.22.png

 

Then go tho the Numeric Control terminal and right-click>> Find>> Local Variables.

The Search Results window should show this:

 

Screen Shot 2014-05-15 at 13.46.56.png

 

If you double-click any of these two occurrences, LV will bring you to it.

Now change one of the Numeric Control local variables into a String local variable (simply left-click on it and select String from the drop-down list.

You'll get this:

 

Screen Shot 2014-05-15 at 13.50.05.png

 

Now check the Search Window again (don't do a search, just go back to it).

It hasn't been updated!

 

Screen Shot 2014-05-15 at 13.46.56.png

 

If you double-click on the second "Write" item in the list above (which does not exist anymore, since it is now a local variable associated with String), you will be brought to...the String local variable:

 

Screen Shot 2014-05-15 at 13.53.46.png

 

Brings you here:

 

Screen Shot 2014-05-15 at 13.54.14.png

 

I would have expected something similar to what happens in the Search Results window when you delete an object, that is, the occurence of this object in the Search Results window becomes grayed out, like this (check item 2):

 

Screen Shot 2014-05-15 at 13.57.04.png

 

which proves that the Search Results window CAN respond to user events happening in some other windows

 

Now, are you ready for the best part?

 

OK, so if I Undo the deletion of the local variable on the diagram (which I did to obtain the snapshot above), what do you think happens?

Well, obviously nothing, to be consistent with the previous lack of update of the Search Results window... or wait... it did actually react to a deletion, but it does not to an "undeletion"?

 

So now we have two "Numeric Control" write local variable on the diagram, but only one is accessible from the Search Results window (same snapshot as above).

 

I tried the usual black magic Ctrl-Run Arrow trick, but to no avail.

I'd say it is a bug.

 

Tested in LV 2013 SP1 W7-64

 

 


Viewing all articles
Browse latest Browse all 69084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>