Re: [patch] fix for #302


Subject: Re: [patch] fix for #302
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Thu Mar 02 2000 - 03:03:43 CST


Thanks for finding this. Attached patch fixes the XOR problem (applies to
current CVS - not incremental). One thing that I have noticed is that
sometimes the lower and upper triangles of the left indent item can get
out of sync, but I don't see why my patch would have anything to do with
this. Is this a known bug? To reproduce:

* Create a new doc
* Drag the upper arrow to a new position
* Drag it back to where it was before
* Drag the lower rectangle to move both triangles.

For me (with my patch applied, don't know about clean CVS) this results in
the top arrow being ghosted at its original position and that one being
moved whenever the rectangle is moved.

I'm sorry if it was hard to understand my usage of "triangle" and
"rectangle". I have not used a WP with a ruler of this type so I don't
know what their real names are. I hope you can figure it out from my
descriptions.

Aaron Lehmann

On Wed, 1 Mar 2000, Paul Rohr wrote:

> At 12:20 AM 3/2/00 +0000, Aaron Lehmann wrote:
> >By popular demand, here's a bug fix for bug 302 (clicking ruler item sets
> >dirty flag). I also cleaned up a few warnings in the file that appeared if
> >you disabled debugging (some things were being calculated just for the
> >purpose of generating debug information even if debugging was off). Enjoy!
>
> This looks promising, but may need a bit more work. Try the following:
>
> 1. Open a new empty document.
> 2. Grab any of the left margin controls.
> 3. Drag away, then come back to the original spot before releasing.
>
> For me, this leaves an XOR copy of the guide line on the display. I wasn't
> able to reproduce the problem for new tabs, though, if that's any help.
>
> Paul
>




This archive was generated by hypermail 2b25 : Thu Mar 02 2000 - 03:03:51 CST