Misleading save of windowLayout in GlobalAttributes section of config #19917
Labels
bug
Something isn't working
impact medium
Productivity partially degraded (not easily mitigated bug) or improved (enhancement)
likelihood medium
Neither low nor high likelihood
Describe the bug
This line in a
.config
file is totally ignored by VisIt. It should not be saved.The real stuff in the
.config
file that drives how windows come up when VisIt is started is down near the bottom of the file where it outputsViewerWindowManager
and includes a list of windows...That said, upon restart, VisIt will not return the windows to their original state before the settings were saved. It will create the windows but they will not fit nicely into their respective places on the screen as setting a layout would actually do.
It might be nice for
ViewerWindowManager:SetFromNode
to callViewerWindowManager:SetWindowLayout
upon setting up all the windows. The challenge is, it cannot really know which layout might be correct. It would have to use heuristics and guess. The user could have set a layout and then deleted a window or two or resized a window or two, etc. I suppose if after setting a layout, no windows were added or deleted and no windows were resized, then it might be ok to include information in.config
what the layoutid
is and that it isclean
and then restoring could set that layout again.The text was updated successfully, but these errors were encountered: