Jump to content

Window Bounds With Splitters and Subpanels


mje

Recommended Posts

Hi all,
 
I'm wondering if any of you see odd behavior when trying to maximize/restore a window that contains a splitter with subpanels. Specifically if the spliter's panes are set to have minimum bounds, then filled with subpanels, some weird stuff can happen if the window is restored from a maximized state that would violate the a pane's sizing restriction.
 
Best demonstrated in a video: https://www.dropbox.com/sc/raat2m37x1gekl7/qwvo0ldgG_

 

m

Link to comment

I saw this happening while working with cursor menu of graphs inside FP that was using splitters.
It was very similar to what Cat wrote back in 2010 http://lavag.org/topic/12577-unintentional-cursor-tool-resizing/
When I reported it 4 years later I got the following reply:
This is a rare bug few people reported. NI expects it to be solved by LV2014.
I ended up writing my own cursor menu and still got LV bugs.
I'm now at my 4th try with/o splitters waiting to see what LV comes up with next.
I stopped counting how many projects I did failed because LV had bugs I couldn't bypass with the classes of LV2011 being the worst.
Good luck.

Link to comment

Eh, it's not that bad of a bug, it just shifts the layout logic from being automatic to tediously manual. I just need to have the VIs in the subpanels adjust their layouts programmatically. Pain in the ass? Yes. Time consuming and shouldn't be necessary in modern languages? Absolutely. But not difficult.

Link to comment

Sadly, in my case the cursor legend doesn't have a reference/property node since LV8 and writing my own worked a bit better yet still had lots of LV bugs to deal with and I just didn't want to keep on going and finding more and more bugs so I just left the splitter approach.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.