[kepler-dev] [Bug 5637] composite window size & position not always saved
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Tue Aug 14 17:38:26 PDT 2012
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5637
Christopher Brooks <cxh at eecs.berkeley.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hours Worked| |1
Priority|P2 |P3
Status|NEW |ASSIGNED
Severity|normal |enhancement
--- Comment #1 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-08-14 17:38:26 PDT ---
To save the location of a subcomposite, do File -> Save in the subcomposite.
The contsructor in ptolemy/actor/gui/WindowPropertiesAttribute.java says:
// The following line, if uncommented, results in
// icons that are defined in an external file always being
// exported along with the model that defines them. This bloats
// the MoML files with information that is not needed. I suspect
// the line was put there because it wasn't clear that you need
// to invoke File->Save in a submodel if you want the location
// and position of the submodel window to be saved. It is not
// sufficient to invoke save just at the top level.
// setPersistent(true);
It certainly is arguable that the design should be such that
File->Save saves the location of all the open windows, but that's
not how the system is designed, so I'm dropping this to a slightly lower
priority and to an enhancement.
This would be good to discuss with Edward.
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Kepler-dev
mailing list