LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front Panel Scrollbar visibility bug - come see the incredible shrinking VI!

I think I have found an as-yet unreported bug in the way that the visibility of the front panel vertical and horizontal scroll bars are handled that results in what I'm now calling a "pixel leak." It is the viewable front panel window area equivalent of a memory leak, but where the front panel deflates to next to nothing as a result of the scrollbars being repeatedly turned on and off, but with the wrong option selected for turning them off.  I cannot believe that this behavior is by design, so it must be a bug.  It is present in LabVIEW 2014 (version of the attached demonstration VI) and it is also present in LabVIEW 2020 so I suspect it's also present in all the intervening versions.  

0 Kudos
Message 1 of 2
(1,307 Views)

What you're describing, to me, seems like weird behavior but not necessarily a bug.

 

Think about what happens when you run a VI that has "Off While Running" for its scrollbar visibility properties. Before you run it the scrollbars are there and the window is a certain size. Then once it's running, the scrollbars disappear, and the window shrinks a bit because of course, you don't want extra "gray space" at your right and bottom edges.

 

Then you stop the VI, the scrollbars reappear, and the window size goes back to what it was.

 

You're turning it on and off repeatedly, essentially skipping the step where the VI stops and the window gets bigger again. Because the VI never stops.

 

Again, definitely weird but it does kinda make sense, to me at least.

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

Message 2 of 2
(1,296 Views)