I have just noticed that dragging a typedef'ed element across a string element resets the font for the string element, which cannot be reverted.
Steps to reproduce (LabVIEW 16, 32 bit):
I don't want this to happen. Is there some configuration that I set erroneusly?
Solved! Go to Solution.
Interesting. I just tried that out in LabVIEW 2020 and it did the same thing. Seems like a bug.
I don't think I've read that one before. Kind of surprised someone hadn't seen it before now.
It probably relates to the fact that, by default, LV 2016 and newer have "live update" which tries to update everything in real time as you drag stuff around. I wonder if that will still happen if you disable that option? I forget what that option actually is.
It probably relates to the fact that, by default, LV 2016 and newer have "live update" which tries to update everything in real time as you drag stuff around.
That would seem to make sense, as this doesn't happen in 2015.
It looks like the typedef bit is relevant because when it's a typedef, dragging it adds the name of the typedef to the string, like it does with VIs.
In 2015, the format isn't reset immediately when dropping in the string. The name of the typedef is in the default format. The rest of the string keeps its format, but if I undo something, it also returns to the default format.
I have tried pressing "x" while dragging, as per https://forums.ni.com/t5/LabVIEW/Labview-2016-new-improvments-to-selecting-moving-and-resizing/m-p/3...
This prevents the font change. I also tried the "LiveDrag=False" setting and that solved it too.
If I may add: Disabling Live Drag greatly improved the performance and user experience when using the block diagram editor. I wish I would have tried this sooner.