Re: Found Bug But Not Sure How to Proceed To Fix

Bob Arning <[email protected]> Sat, 3 Mar 2018 21:03:28 -0500
Newsgroups gmane.comp.lang.smalltalk.squeak.squeakland
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8231238304060643893==
Content-Type: multipart/alternative;
 boundary="------------8E7B84A5E1BA89CEBE8AB3CE"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------8E7B84A5E1BA89CEBE8AB3CE
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Well, here's something you could try...

'From Squeak3.2gamma of 15 January 2002 [latest update: #4743] on 3 
March 2018 at 9:02:03 pm'!

!PasteUpMorph methodsFor: 'misc' stamp: 'raa 3/3/2018 21:00'!
invalidRect: damageRect from: aMorph
         "Clip damage reports to my bounds, since drawing is clipped to 
my bounds."

         self == self outermostWorldMorph
                 ifTrue: [worldState recordDamagedRect: (damageRect 
intersect: self bounds)]
                 ifFalse: [super invalidRect: (self indicateCursor 
ifTrue: [self bounds] ifFalse: [damageRect]) from: aMorph]
! !


On 3/3/18 7:45 PM, Jeremy Landry wrote:
> It was 'lumped in' with my earlier report, but inside 'playfield 
> options' is 'indicate cursor'.  Anything you move or resize with a 
> playfield cursor leaves garbage everywehre.  This was what i was using 
> for testing out warpblt edits.
>
> On Sat, Mar 3, 2018 at 3:23 PM, Bob Arning <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Which option is it that makes this appear?
>
>
>     On 3/2/18 1:42 PM, Jeremy Landry wrote:
>>     Whatever code is common that scales morphs is being offset
>>     incorrectly. The first image shows the 'garbage' left behind by
>>     playfield indicator if that option is set.  It seems it was only
>>     tested in 'holders' and thus likely not picked up during
>>     'intended' use. 
>
>


--------------8E7B84A5E1BA89CEBE8AB3CE
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Georgia">Well, here's something you could try...</font></p>
    <p><font face="Georgia"></font>'From Squeak3.2gamma of 15 January
      2002 [latest update: #4743] on 3 March 2018 at 9:02:03 pm'!<br>
      <br>
      !PasteUpMorph methodsFor: 'misc' stamp: 'raa 3/3/2018 21:00'!<br>
      invalidRect: damageRect from: aMorph<br>
              "Clip damage reports to my bounds, since drawing is
      clipped to my bounds."<br>
      <br>
              self == self outermostWorldMorph <br>
                      ifTrue: [worldState recordDamagedRect: (damageRect
      intersect: self bounds)]<br>
                      ifFalse: [super invalidRect: (self indicateCursor
      ifTrue: [self bounds] ifFalse: [damageRect]) from: aMorph]<br>
      ! !<br>
      <br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 3/3/18 7:45 PM, Jeremy Landry wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYa41m4roRE1_gVSh4P=SnsiUg3hXBvnmUXvVSiJ4JBuJ9eCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org">
      <div dir="ltr">It was 'lumped in' with my earlier report, but
        inside 'playfield options' is 'indicate cursor'.  Anything you
        move or resize with a playfield cursor leaves garbage
        everywehre.  This was what i was using for testing out warpblt
        edits.  </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Mar 3, 2018 at 3:23 PM, Bob
          Arning <span dir="ltr">&lt;<a
              href="mailto:[email protected]" target="_blank"
              moz-do-not-send="true">[email protected]</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p><font face="Georgia">Which option is it that makes this
                  appear?</font><br>
              </p>
              <span class=""> <br>
                <div class="m_-5496626359305049319moz-cite-prefix">On
                  3/2/18 1:42 PM, Jeremy Landry wrote:<br>
                </div>
                <blockquote type="cite">Whatever code is common that
                  scales morphs is being offset incorrectly. The first
                  image shows the 'garbage' left behind by playfield
                  indicator if that option is set.  It seems it was only
                  tested in 'holders' and thus likely not picked up
                  during 'intended' use.  </blockquote>
                <br>
              </span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------8E7B84A5E1BA89CEBE8AB3CE--

--===============8231238304060643893==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kc3F1ZWFrbGFu
ZCBtYWlsaW5nIGxpc3QKc3F1ZWFrbGFuZEBsaXN0cy5zcXVlYWtsYW5kLm9yZwpodHRwOi8vbGlz
dHMuc3F1ZWFrbGFuZC5vcmcvbWFpbG1hbi9saXN0aW5mby9zcXVlYWtsYW5kCg==

--===============8231238304060643893==--