<html>
    <head>
      <base href="http://bugzilla.ecoinformatics.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cxh@eecs.berkeley.edu" title="Christopher Brooks <cxh@eecs.berkeley.edu>"> <span class="fn">Christopher Brooks</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - saving workflow changes canvas center"
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5727">bug 5727</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>cxh@eecs.berkeley.edu
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - saving workflow changes canvas center"
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5727#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - saving workflow changes canvas center"
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5727">bug 5727</a>
              from <span class="vcard"><a class="email" href="mailto:cxh@eecs.berkeley.edu" title="Christopher Brooks <cxh@eecs.berkeley.edu>"> <span class="fn">Christopher Brooks</span></a>
</span></b>
        <pre>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--</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>