<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 27, 2022 at 12:56 AM Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</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"> <div id="gmail-m_8308148001528118257__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">
                                        Hi all --<div><br></div><div>In addition to my previous response, we can schedule a Zoom/Jitsi session if you want me to go into more details what the overall issue here is.</div><div><br></div><div>Otherwise, I documented the situation in the code:</div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px"><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/97324043f5749da751ad2a060460092cac2e8190/platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m#L238" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/97324043f5749da751ad2a060460092cac2e8190/platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m#L238</a></span><br></div><div><br></div><div><span style="font-size:13.3333px"><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/97324043f5749da751ad2a060460092cac2e8190/platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m#L260" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/97324043f5749da751ad2a060460092cac2e8190/platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m#L260</a></span><br></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px"><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/620" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/620</a></span><br></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">During the last years, we had so many complaints about the Morphic performance on macOS in our University courses. This fix is overdue and very (!) valuable.</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">Again, this is an image-side concern. It's not a VM issue. Backwards compatibility can *very easily* be preserved in older images from within those images. See my previous response here.</span></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">One cannot redefine backwards compatibility to mean "you have to change old images to run on the new VM".  Backwards compatibility of the VM implies that old images continue to run *without change* and without change in semantics.</div><div class="gmail_default" style="font-size:small"><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"><div id="gmail-m_8308148001528118257__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr"><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">Best,</span></div><div><span style="font-size:13.3333px">Marcel</span></div><div></div>
                                        <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;min-width:500px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 27.04.2022 09:19:12 schrieb Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif"><div id="gmail-m_8308148001528118257__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">
                                        Hi Eliot --<div></div>
                                        <div><br></div><div>No, this cannot be preserved on the VM side without again introducing that major performance regression that has been there for several years now on the macOS platform. I strongly argue that we keep the VM platform code this way.</div><div><br></div><div>However, it can *very easily* be fixed in most (if not all) older images. Just disable deferred (display) updates as it was not supported on macOS for a very (!) long time:</div><div><br></div><div><div><span style="font-size:13.3333px">   PasteUpMorph disableDeferredUpdates: true.</span></div><div><span style="font-size:13.3333px">   Project allMorphicProjects do: [:ea | ea world canvas: nil].</span></div></div><div><br></div><div>> <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">To reproduce take e.g. Squeak 6.0 alpha [...]</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">No, </span><span style="font-size:10pt">Squeak6.0alpha (Trunk) does not show this issue unless it is not an updated image. Still, this update has been part of the update stream for several weeks now.</span></div><div><br></div><div>> [...] <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">or the ;ast of the 5.x line [...]</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">The above snippet accounts for this *very easily*. It even works in Squeak 4.x. This is an image-side thing. It always has been. Since 1999. This is not a VM issue.</span></div><div><br></div><div><span style="font-size:10pt">Best,</span><br></div><div>Marcel</div><div><br></div><div>P.S.: Keep in mind that ST80-style "Fast dragging" is always an alternative in older images:</div><div>   Preferences enable: #fastDragWindowForMorphic.</div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;min-width:500px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 27.04.2022 03:29:31 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif"> Hi Marcel,
<br>
<br>    the issue of windows being invisible when dragged in the new VM is a
<br>major bug.  The VM needs to be backwards compatible.  It souldn't break old
<br>images.  So we need to find a way of restoring the default behaviour in
<br>images that don't set the relevant preference.
<br>
<br>To reproduce take e.g. Squeak 6.0 alpha or the ;ast of the 5.x line and
<br>simply try and move a window about  As soon as the window starts to move it
<br>disappears and then reappears when the mouse button is released.  This must
<br>be fixed.
<br>_,,,^..^,,,_
<br>best, Eliot
<br><div dir="ltr"><div style="font-size:10pt">Hi Marcel,</div><div style="font-size:10pt"><br></div><div style="font-size:10pt">    the issue of windows being invisible when dragged in the new VM is a major bug.  The VM needs to be backwards compatible.  It souldn't break old images.  So we need to find a way of restoring the default behaviour in images that don't set the relevant preference.</div><div style="font-size:10pt"><br></div><div style="font-size:10pt">To reproduce take e.g. Squeak 6.0 alpha or the ;ast of the 5.x line and simply try and move a window about  As soon as the window starts to move it disappears and then reappears when the mouse button is released.  This must be fixed.</div><div dir="ltr"><div dir="ltr"><div><span style="font-size:10pt;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>
<br></div></blockquote></div></div></blockquote></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>