LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

(Possible) Bug - Minimum Pane Size

I noticed some odd behavior in LabVIEW that I think is a bug. Steps to reproduce:

 

1. Open the VI I have attached. The top pane has a minimum pane size of 1,1, the bottom has a minimum pane size of 2,2 (these numbers are just for simplicity, they could be anything).

2. Set the minimum pane size of the top pane to 0,0 by right clicking on the splitter and selecting Upper Pane > Properties and changing it in the dialog. You shouldn't be able to do this, since panes can't have a minimum size of 0,0 - but the dialog doesn't stop you from doing it. The dialog now will say the minimum pane size is 0,0 even though the top pane's actual minimum pane size is still 1,1 (you can tell if you read it using property nodes).

 

Here's where it gets really weird:

3. Now look at the minimum pane size of the bottom pane by right clicking on the splitter and selecting Lower Pane > Properties. The dialog says it is 0,0 even though it is actually 2,2 (again, you can tell this using property nodes).

4. Try changing the minimum pane size in the dialog to 3,3. The dialog will now say that both panes have a minimum pane size of 3,3 but really they are still 1,1 and 2,2.

5. As far as I can tell there is no way you can get out of this state and the same thing will happen in any other VIs you open as well, until you completely exit LabVIEW - then it goes back to normal when you reopen LabVIEW.

 

I tried this in LabVIEW 2016 and 2018 and it happened in both.

 

Tldr: If you accidentally set a pane to have a minimum pane size of 0,0 then the dialog that sets minimum pane size will no longer work to set the minimum pane size until you restart LabVIEW.

Message 1 of 1
(2,205 Views)