Bug #4302
closeddisplay actor window does not rename
0%
Description
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.
Updated by Christopher Brooks about 15 years ago
This bug can be reproduced in Ptolemy. I'm lowering the priority slightly
and about to fix it.
Updated by Christopher Brooks about 15 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().