[kepler-dev] [Bug 5727] saving workflow changes canvas center

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 6 20:39:29 PST 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5727

Christopher Brooks <cxh at eecs.berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cxh at eecs.berkeley.edu

--- Comment #1 from Christopher Brooks <cxh at eecs.berkeley.edu> ---
Try looking at these changes in the ptII tree:
2012-09-27 12:34  cds

    * [r64721] /trunk/ptolemy/vergil/basic/BasicGraphFrame.java: -
      Changed: Added a little space between the model and its border to
      the top-left-corner locating code.

2012-09-27 11:55  cds

    * [r64720] /trunk/ptolemy/vergil/basic/BasicGraphFrame.java: -
      Changed: If no zooming and panning info are present in a model,
      the Vergil view's top left corner is now set to the top left
      corner of the model.

Edward wrote:
--start--
I agree. If there is no zoom or pan information in the model,
the viewport should have (minX, minY) at the upper left.

This would be an improvement....
--end--

Christoph Daniel wrote:
--start--
I implemented this and just committed the change. The view's top left
corner is now set to the top left corner of the model if no zooming or
panning info are available.

By the way, Christopher, your demo model (c1.xml) actually did contain
zooming and panning info, so the code change does not affect how that
model is loaded. Perhaps some kind of a sanity check on zooming and
panning info would be nice? Not sure how to define "sanity" here, though...
--end--

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20121107/d096e256/attachment.html>


More information about the Kepler-dev mailing list