<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Folks,<br>
    <br>
    Yesterday Jon Raiford saved an image that did something similar to
    what you Mark describe when starting it, moving it to a 5k display,
    and setting it full screen. We spent several hours debugging
    together. The result is updates #6569 and #6570, pushed today to
    GitHub. These updates do fix the issue as experienced by Jon. I'm
    pretty confident they'd fix what you Mark saw too.<br>
    <br>
    Thank you Jon for finding a case we could reproduce, and for
    debugging it together!<br>
    <br>
    Cheers,<br>
    <br>
    On 7/25/2024 10:38 AM, Mark Volkmann via Cuis-dev wrote:
    <blockquote
cite="mid:CAFfRWnVnBJZoQUd95+-Y2MHp+mhxDxXGVkDdbY7bGne8DnL7=w@mail.gmail.com"
      type="cite">
      <div dir="ltr">It finally happened again. I have attached two
        screenshots, one showing the exception and one showing
        Transcript output that Juan requested.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Jul 18, 2024 at
          9:08 AM Mark Volkmann <<a moz-do-not-send="true"
            href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin: 0px 0px 0px
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div dir="ltr">The "Space is low" issue hasn't repeated itself
            for me in the past couple of days, but I'll report back if
            it does happen again. I did pull down the latest updates to
            Cuis a couple of days ago, so I suppose it's possible there
            was a recent change that fixed this.</div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Thu, Jul 18, 2024 at
              2:48 AM Barry Perryman <<a moz-do-not-send="true"
                href="mailto:barry.perryman@gmail.com" target="_blank">barry.perryman@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin: 0px 0px 0px
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div style="">
                <div>What happens when you minimise cuis before letting
                  it go to sleep?</div>
                <div><br>
                </div>
                I'm asking because this is what happens on my Mac - M2
                Mini running Sonoma with LG 4K screen.
                <div><br>
                </div>
                <div>I usually run Cuis as a window - so not full
                  screen. When the system goes to sleep, or the display
                  sleeps, it quite often, although not always, will
                  resize the window to a smaller size. Cuis isn't the
                  only application that this happens to; citrix client
                  will also have the same issue, again not every time,
                  even though that is run as full screen. I've always
                  figured this is some mac sleep quirk that I have to
                  live with.</div>
                <div><br>
                </div>
                <div>I haven't had the issue occur when I minimise the
                  cuis window - although I have had the icon on the dock
                  look like it's been resized - so instead of a 128x128
                  icon it's shrunk to say a 80x60 icon (guess).</div>
                <div><br>
                </div>
                <div>Next time few times it happens I'll grab the size
                  because now I think about it I'm fairly sure the
                  resize looks to be about the same size every time.</div>
                <div><br>
                </div>
                <div>I've not reported this before because I've never
                  been able to consistently reproduce it.</div>
                <div><br>
                </div>
                <div>Barry</div>
                <div><br>
                </div>
                <div>
                  <div><br>
                    <blockquote type="cite">
                      <div>On 18 Jul 2024, at 01:16, Mark Volkmann via
                        Cuis-dev <<a moz-do-not-send="true"
                          href="mailto:cuis-dev@lists.cuis.st"
                          target="_blank">cuis-dev@lists.cuis.st</a>>
                        wrote:</div>
                      <br>
                      <div>
                        <div dir="ltr">A sleep of the Mac was involved.
                          <div>I didn't move the window myself after it
                            woke up, but I do have it on a second
                            monitor, so when it wakes up I suppose macOS
                            "moves it".</div>
                          <div>My Mac has slept several times today and
                            did not result in a low memory exception on
                            waking.</div>
                          <div>I inserted the logging code that Juan
                            requested.</div>
                          <div>Perhap it will happen again tomorrow
                            morning. I'll report back if it does.</div>
                        </div>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">On Wed, Jul
                            17, 2024 at 2:02 PM Nicolás Papagna
                            Maldonado via Cuis-dev <<a
                              moz-do-not-send="true"
                              href="mailto:cuis-dev@lists.cuis.st"
                              target="_blank">cuis-dev@lists.cuis.st</a>>
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote" style="margin:
                            0px 0px 0px 0.8ex; border-left: 1px solid
                            rgb(204, 204, 204); padding-left: 1ex;">
                            <div dir="ltr">Just thinking out loud here.
                              <div><br>
                                <div>Based on what Juan mentioned, did
                                  you move the Cuis window between
                                  monitors (assuming that triggers a
                                  resize)?</div>
                              </div>
                              <div><br>
                              </div>
                            </div>
                            <br>
                            <div class="gmail_quote">
                              <div dir="ltr" class="gmail_attr">On Wed,
                                Jul 17, 2024 at 3:45 PM Andres Valloud
                                via Cuis-dev <<a
                                  moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>>
                                wrote:<br>
                              </div>
                              <blockquote class="gmail_quote"
                                style="margin: 0px 0px 0px 0.8ex;
                                border-left: 1px solid rgb(204, 204,
                                204); padding-left: 1ex;">Did the
                                machine (partially) go to sleep in those
                                2 hours?  Does the <br>
                                problem manifest when the machine
                                transitions between sleep and awake?<br>
                                <br>
                                On 7/17/24 11:36, Juan Vuletich via
                                Cuis-dev wrote:<br>
                                > This is not normal at all.<br>
                                > <br>
                                > The allocation that shows in the
                                walkback you posted happens at the <br>
                                > start of #mainLoop. This method is
                                only called when the Morphic system <br>
                                > needs to be reinitialized, usually
                                because the main Cuis window was <br>
                                > resized and a new Canvas needs to
                                be created. It should not happen if <br>
                                > you just let the machine idle for a
                                couple of hours. And it is not <br>
                                > possible to know what's going on
                                without further information. So, please:<br>
                                > <br>
                                > - Keep the Transcript open and
                                visible<br>
                                > - Add this line at the start of
                                #spawnNewMorphicProcessFor:, after the <br>
                                > temp declaration.<br>
                                >      thisContext printStack: 10.<br>
                                > <br>
                                > #spawnNewMorphicProcessFor: should
                                only be called when the main Cuis <br>
                                > window is resized. So keep the
                                Transcript visible and see if a stack <br>
                                > trace gets printed even if you're
                                not resizing the Display. If this <br>
                                > happens, please post the result.<br>
                                > <br>
                                > Thanks,<br>
                                > <br>
                                > On 7/16/2024 10:44 PM, Mark
                                Volkmann via Cuis-dev wrote:<br>
                                >> See my replies inline below.
                                Could this be related to the fact that I
                                <br>
                                >> have the tiger SVG displayed on
                                the desktop with this?<br>
                                >><br>
                                >> SVGMainMorph exampleTiger
                                openInWorld.<br>
                                >><br>
                                >> On Tue, Jul 16, 2024 at 8:29 PM
                                Andres Valloud via Cuis-dev <br>
                                >> <<a moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>>>
                                wrote:<br>
                                >><br>
                                >>     And, what are the arguments
                                to setExtent:depth:?<br>
                                >><br>
                                >><br>
                                >> extent: <a class="moz-txt-link-abbreviated" href="mailto:3456.0@1440.0">3456.0@1440.0</a><br>
                                >> bitsPerPixel: 32<br>
                                >><br>
                                >>     On 7/16/24 18:27, Andres
                                Valloud via Cuis-dev wrote:<br>
                                >>     > Interesting.  What's
                                the argument to basicNew:?<br>
                                >><br>
                                >><br>
                                >> sizeRequested is 4976640<br>
                                >><br>
                                >>     > On 7/16/24 18:25, Mark
                                Volkmann via Cuis-dev wrote:<br>
                                >>     >> Here's a
                                screenshot of the stack trace.<br>
                                >>     >><br>
                                >>     >> On Tue, Jul 16,
                                2024 at 8:19 PM Andres Valloud via
                                Cuis-dev<br>
                                >>     >> <<a
                                  moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>><br>
                                >>     <mailto:<a
                                  moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:cuis-dev@lists.cuis.st"
                                  target="_blank">cuis-dev@lists.cuis.st</a>>>><br>
                                >>     wrote:<br>
                                >>     >><br>
                                >>     >>     No, that's not
                                normal.  Can you paste the debugger's
                                stack<br>
                                >>     here?<br>
                                >>     >><br>
                                >>     >>     On 7/16/24
                                18:11, Mark Volkmann via Cuis-dev wrote:<br>
                                >>     >>      > Usually
                                when I leave Cuis Smalltalk running and
                                walk<br>
                                >>     away from my<br>
                                >>     >>      > computer
                                (macOS) for a couple of hours, when I
                                come back<br>
                                >>     there<br>
                                >>     >> is a<br>
                                >>     >>      > Debugger
                                window open with the message "Space is
                                low". I<br>
                                >>     can just<br>
                                >>     >>     close<br>
                                >>     >>      > it and
                                keep working. Everything seems fine. Is
                                this normal?<br>
                                >>     >>      ><br>
                                >>     >>      > --<br>
                                >>     >>      > R. Mark
                                Volkmann<br>
                                >>     >>      > Object
                                Computing, Inc.<br>
                                >>     >>      ><br>
                                >>     >>     --    
                                Cuis-dev mailing list<br>
                                >>     >> <a
                                  moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>><br>
                                >>     <mailto:<a
                                  moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>>><br>
                                >>     >> <a
                                  moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                                >>     <<a
                                  moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>><br>
                                >>     >>     <<a
                                  moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                                >>     <<a
                                  moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>>><br>
                                >>     >><br>
                                >>     >><br>
                                >>     >><br>
                                >>     >> --<br>
                                >>     >> R. Mark Volkmann<br>
                                >>     >> Object Computing,
                                Inc.<br>
                                >>     >><br>
                                >>     -- <br>
                                >>     Cuis-dev mailing list<br>
                                >>     <a moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>
                                <mailto:<a moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a>><br>
                                >>     <a moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                                >>     <<a
                                  moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>><br>
                                >><br>
                                >><br>
                                >><br>
                                >> -- <br>
                                >> R. Mark Volkmann<br>
                                >> Object Computing, Inc.<br>
                                > <br>
                                > <br>
                                > -- <br>
                                > Juan Vuletich<br>
                                > <a moz-do-not-send="true"
                                  href="http://cuis.st/"
                                  rel="noreferrer" target="_blank">cuis.st</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://github.com/jvuletich"
                                  rel="noreferrer" target="_blank">github.com/jvuletich</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://researchgate.net/profile/Juan-Vuletich"
                                  rel="noreferrer" target="_blank">researchgate.net/profile/Juan-Vuletich</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://independent.academia.edu/JuanVuletich"
                                  rel="noreferrer" target="_blank">independent.academia.edu/JuanVuletich</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://patents.justia.com/inventor/juan-manuel-vuletich"
                                  rel="noreferrer" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://linkedin.com/in/juan-vuletich-75611b3"
                                  rel="noreferrer" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a><br>
                                > <a moz-do-not-send="true"
                                  href="http://twitter.com/JuanVuletich"
                                  rel="noreferrer" target="_blank">twitter.com/JuanVuletich</a><br>
                                > <br>
                                > <br>
                                -- <br>
                                Cuis-dev mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:Cuis-dev@lists.cuis.st"
                                  target="_blank">Cuis-dev@lists.cuis.st</a><br>
                                <a moz-do-not-send="true"
                                  href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                                  rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                              </blockquote>
                            </div>
                            <br clear="all">
                            <div><br>
                            </div>
                            <span class="gmail_signature_prefix">-- </span><br>
                            <div dir="ltr" class="gmail_signature"><br>
                              Nicolás Papagna</div>
                            -- <br>
                            Cuis-dev mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:Cuis-dev@lists.cuis.st"
                              target="_blank">Cuis-dev@lists.cuis.st</a><br>
                            <a moz-do-not-send="true"
                              href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                              rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                          </blockquote>
                        </div>
                        <br clear="all">
                        <div><br>
                        </div>
                        <span class="gmail_signature_prefix">-- </span><br>
                        <div dir="ltr" class="gmail_signature">
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div><font face="arial, helvetica,
                                          sans-serif">R. Mark Volkmann</font></div>
                                      <div><span style="font-size:
                                          12.8px;"><font face="arial,
                                            helvetica, sans-serif">Object
                                            Computing, Inc.</font></span></div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                        -- <br>
                        Cuis-dev mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:Cuis-dev@lists.cuis.st"
                          target="_blank">Cuis-dev@lists.cuis.st</a><br>
                        <a moz-do-not-send="true"
                          href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
                          target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">
                        <div><font face="arial, helvetica, sans-serif">R.
                            Mark Volkmann</font></div>
                        <div><span style="font-size: 12.8px;"><font
                              face="arial, helvetica, sans-serif">Object
                              Computing, Inc.</font></span></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div><font face="arial, helvetica, sans-serif">R.
                        Mark Volkmann</font></div>
                    <div><span style="font-size: 12.8px;"><font
                          face="arial, helvetica, sans-serif">Object
                          Computing, Inc.</font></span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
  </body>
</html>