Project

General

Profile

Actions

Bug #4302

closed

display actor window does not rename

Added by Daniel Crawl about 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
08/10/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4302

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.

Actions #1

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.

Actions #2

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().

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4302

Actions

Also available in: Atom PDF