<div dir="ltr">Hope I'm not annoying by bringing this up, but I pulled the latest changes, 5601 and 5602, and unfortunately it breaks my startup script for setting up my workspace/browser windows. More specifically, my windows aren't appearing and the background doesn't switch to the dark theme. When I comment out "ChangeSet installNewUpdates.", my workspace/browser windows appear as intended.<div><br></div><div>Could you take a look and see what's going wrong? I've attached my startup script below. You can try commenting out "ChangeSet installNewUpdates." to see the impact of the latest changes. I've been running my startup script through this terminal command:</div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Applications/Squeak.app/Contents/MacOS/Squeak /Users/alandao/Cuis/Cuis-Smalltalk-Dev/Cuis6.0-5542.image -s /Users/alandao/Scripts/<a href="http://init_workbench.st">init_workbench.st</a></span></p><div><div><br></div><div>Alternatively, I'd be ok with re-writing my script if the way I did it was hacked up together, as long as there's a way to migrate this script over. Any help would be appreciated!</div></div></div><div><br></div><div>Also, thanks for the suggestions to the step method. The package itself is still in extremely early development, but once I get the UI to where I want it, I'll look into optimizations.</div><div><br></div><div>Best,</div><div>Alan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 19, 2022 at 2:17 PM Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><u></u>

  
    
    
  
  <div bgcolor="#ffffff">
    I just realized we're creating an exception handler for each morphic
    cycle, and that's not really needed. I just pushed an update that
    should have some positive impact on performance on slower hardware.
    Hopefully, I didn't add new annoyances.<br>
    <br>
    BTW, Alan, what you're doing in your step method, #add: and
    #removeFirst, are pretty expensive, and it can be made cheaper, by
    just changing which indexes you map to X coordinates.<br>
    <br>
    Cheers,<br>
    <br>
    On 12/19/2022 5:57 PM, Alan Dao via Cuis-dev wrote:
    <blockquote type="cite">
      <div dir="ltr">Awesome, thanks for the update! Just pulled the
        latest changes and can confirm the fixes are working.<br>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Alan</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Dec 19, 2022 at 9:50
          AM Juan Vuletich <<a href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi Alan,<br>
          <br>
          Hey, thanks! This really helped.<br>
          <br>
          I could reproduce the problems you saw, and I found a couple
          of subtle <br>
          bugs. Fixes are now at GitHub. Keep them coming!<br>
          <br>
          Thanks,<br>
          <br>
          On 12/18/2022 4:20 AM, Alan Dao via Cuis-dev wrote:<br>
          > Hey Juan,<br>
          ><br>
          > So for a mistake on my end, I didn't realize updates from
          Git had to <br>
          > be explicitly installed.. after installing the updates
          and doing your <br>
          > test-case, I can see there's no glitches.<br>
          ><br>
          > Unfortunately, my morph, BebopTransform, still hangs
          Morphic when I do <br>
          > the below test case. If you have spare time, I've
          attached my package, <br>
          > named Bebop, for you to reproduce. I apologize in advance
          if my morph <br>
          > is not implemented correctly.<br>
          ><br>
          > - Repos are pulled<br>
          > - Started fresh Cuis.<br>
          > - Installed updates.<br>
          > - Loaded package 'Bebop'<br>
          > - World / New morph... / Vector Graphics / BebopTransform<br>
          > - In BebopTransformGraphLine >> drawOn:, add
          "aCanvas drawString: 1.0 <br>
          > at: -13 @ 58 font: nil color: Color brown."<br>
          ><br>
          > It looks like Morphic only hangs when we create
          BebopTransform and <br>
          > then modify drawOn: later on.<br>
          ><br>
          > Best,<br>
          > Alan<br>
          ><br>
          <br>
          -- <br>
          Juan Vuletich<br>
          <a href="http://cuis.st" rel="noreferrer" target="_blank">cuis.st</a><br>
          <a href="http://github.com/jvuletich" rel="noreferrer" target="_blank">github.com/jvuletich</a><br>
          <a href="http://researchgate.net/profile/Juan-Vuletich" rel="noreferrer" target="_blank">researchgate.net/profile/Juan-Vuletich</a><br>
          <a href="http://independent.academia.edu/JuanVuletich" rel="noreferrer" target="_blank">independent.academia.edu/JuanVuletich</a><br>
          <a href="http://patents.justia.com/inventor/juan-manuel-vuletich" rel="noreferrer" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a><br>
          <a href="http://linkedin.com/in/juan-vuletich-75611b3" rel="noreferrer" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a><br>
          <a href="http://twitter.com/JuanVuletich" rel="noreferrer" target="_blank">twitter.com/JuanVuletich</a><br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Juan Vuletich
<a href="http://cuis.st" target="_blank">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
  </div>

</blockquote></div>