display actor window does not rename
The Display actor creates a window with the same name as the actor. However, when the actor is renamed, the window is not renamed until it is closed and the workflow re-executed. i.e., if the workflow is re-executed without closing the pop-up display window, the pop-up display window's name does not change (as it should).
Ideally, the window would be renamed when the actor was renamed. If this cannot be done, then the window should at least be renamed when the workflow/actor is re-executed.
#2 Updated by Christopher Brooks over 9 years ago
I fixed this.
Note that the Plotters, the MatrixViewer and the InteractiveShell all
had similar issues.
My solution is a bit hacky as there is a certain amount of duplicated code.
A better solution might be to try to modify AbstractPlaceableActor so that
it PlotterBase could extend AbstractPlaceableActor and have all this code in
one place. One issue is that Display has a title parameter, so that makes
Display unique as we want to have the title parameter override the values
of setName() and setDisplayName().