Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Defer Panel Updates" is not reset if an error occured #4

Open
jgr1969 opened this issue Sep 6, 2016 · 2 comments
Open

"Defer Panel Updates" is not reset if an error occured #4

jgr1969 opened this issue Sep 6, 2016 · 2 comments

Comments

@jgr1969
Copy link

jgr1969 commented Sep 6, 2016

Within the VI "Apply Panel Layout to VI.vi", if an error occurs during the resize of any object and if "DeferPanelUpdates" has been set to true, the setting of "DeferPanelUpdates" to False will not work - therefore preventing the front panel from further updates. That's very disturbing, IMHO setting "DeferPanelUpdates" to False should always work.

Consider this minor change:
image01

Jens

@smithed
Copy link
Collaborator

smithed commented Sep 6, 2016

Thats a fun bug

Its worth mentioning I never benchmarked the need for defer panel updates. I suppose I must have assumed it would be faster but since this module uses the magic nodes its not certain.

@jgr1969
Copy link
Author

jgr1969 commented Sep 6, 2016

BTW, I stumbled upon this "error" during the upgrade of an old project. It included a few strict type defs that could not be handeled by the toolkit therefore creating an error.
Perhaps it might be a good idea to collect all errors in within the VI "Apply Layouts to Objects.vi" so that all controls that can be resized are really resized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants