<div><div dir="auto">Fantastic, this solved most of the problems, thank you! I’m using HybridCanvas for now and it feels very smooth.</div><div dir="auto"><br></div><div dir="auto">Part of the problem was that my window manager was stepping every 1 second to make sure that windows were properly layedout (to account for when the Cuis window changes size, for example). This was a bug, and was causing everything to be redrawn every second, but it was not slow enough to be noticeable until I tried it with full vector graphics. Now I fixed it to avoid unnecessary redraws. </div><div dir="auto"><br></div><div dir="auto">I still think there might be a bug somewhere. The fact that a browser with halo feels slower than a browser with no halo is kind of weird. Also text input shouldn’t feel much slower with vector graphics, I suspect something is being unnecessarily redrawn on every keystroke.</div></div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 28 Jan 2022 at 9:55 PM Juan Vuletich <<a href="mailto:JuanVuletich@zoho.com" target="_blank">JuanVuletich@zoho.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000"></div><div bgcolor="#ffffff" text="#000000">
    On 1/28/2022 8:39 AM, Luciano Notarfrancesco via Cuis-dev wrote:
    <blockquote type="cite">
      <div dir="auto">This is very weird, I’m having lots of problems. I
        tried the new VM with the old image and seems to work fine.
        Perhaps the VectorEngine plugin is outdated? Now with just a few
        windows open (3 browsers, one workspace, one message set)
        everything becomes super slow and it takes over one second to
        react to clicks. Also, when I left-click a method in the method
        list of a browser sometimes it selects the method and sometimes
        it opens the menu (as if I had right-clicked)… super weird, any
        clue? </div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Fri, 28 Jan 2022 at 4:29
            PM Luciano Notarfrancesco <<a href="mailto:luchiano@gmail.com" target="_blank">luchiano@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
            <div dir="auto">Yes, that’s the one I’m using with the
              “fast” image. But it doesnt work with the new image
              because it doesn’t have the VectorGraphics plugin.</div>
            <div><br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Fri, 28 Jan 2022 at
                  4:05 PM Nicola Mingotti <<a href="mailto:nmingotti@gmail.com" target="_blank">nmingotti@gmail.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
                  <div> <br>
                    hi Luciano,<br>
                    <br>
                    I didn't notice it, it may be just the vm.<br>
                    <br>
                    some months ago we agreed to run on this VM by
                    default:<br>
                    <pre style="font-family:monospace"><code style="font-family:monospace">wget -O cogspur.tgz <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202003021730/squeak.cog.spur_linux64x64_202003021730.tar.gz" style="font-family:monospace" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202003021730/squeak.cog.spur_linux64x64_202003021730.tar.gz</a></code></pre>
                    <br>
                    See, here<br>
                    <a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md</a><br>
                    <br>
                    bye</div>
                  <div><br>
                    Nicola<br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <div>On 1/28/22 09:56, Luciano Notarfrancesco via
                      Cuis-dev wrote:<br>
                    </div>
                    <blockquote type="cite"> The newest Cuis image feels
                      much slower compared with my 1 year old image.
                      Typing a single character in an empty workspace
                      there’s a noticeable lag (like 200 ms, maybe).
                      This is in a new and fast laptop. Anyone
                      experienced anything like this? I don’t think the
                      problem is VectorGraphics, because typing a single
                      character shouldn’t take any noticeable time even
                      without the plugin, and I think the glyph is
                      cached anyway right? M<span style="border-color:rgb(0,0,0);color:rgb(0,0,0)">aybe the
                        problem is the VM? I’m using </span>
                      <div dir="auto" style="border-color:rgb(0,0,0);color:rgb(0,0,0)"><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_linux64x64.tar.gz" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_linux64x64.tar.gz</a></div>
                      <br>
                      <fieldset></fieldset>
                    </blockquote>
                    <br>
                  </div>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br></div><div bgcolor="#ffffff" text="#000000">
    Hi Luciano,<br>
    <br>
    This may be due to using VectorCanvas for all drawing. Try
    evaluating `MorphicCanvas activeSubclass: HybridCanvas.` to use
    BitBlt for unzoomed/unrotated windows, with full VG capabilities, or
    `MorphicCanvas activeSubclass: BitBltCanvas.` to completely disable
    VG (while keeping TTF working).<br>
    <br>
    Please tell how it goes.<br>
    <br>
    Thanks,<br>
    <pre cols="72" style="font-family:monospace">-- 
Juan Vuletich
<a href="http://www.cuis-smalltalk.org" style="font-family:monospace" target="_blank">www.cuis-smalltalk.org</a>
<a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" style="font-family:monospace" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a href="https://github.com/jvuletich" style="font-family:monospace" target="_blank">https://github.com/jvuletich</a>
<a href="https://www.linkedin.com/in/juan-vuletich-75611b3" style="font-family:monospace" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a href="https://independent.academia.edu/JuanVuletich" style="font-family:monospace" target="_blank">https://independent.academia.edu/JuanVuletich</a>
<a href="https://www.researchgate.net/profile/Juan-Vuletich" style="font-family:monospace" target="_blank">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a href="https://patents.justia.com/inventor/juan-manuel-vuletich" style="font-family:monospace" target="_blank">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
@JuanVuletich</pre>
  </div>

</blockquote></div></div>
</div>