Re: [Inkscape-devel] How to remove several bugs in inkscape.

On 10/10/06, Popolon <popolon@...1497...> wrote:
- make an object
- apply a mask or clip-path
- move that object
- create a linked offset => he don't follow original object at all.
Yes, linked offset is obviously broken by ignoring the transform. It would be nice if you could fix it. It shouldn't be too difficult. If you run into problems, let me know.
By the way, you don't need masks or clippaths to reveal this. In Inkscape Preferences, Transforms tab, we have a switch which forces Inkscape to always store transforms as matrices (Store transformations: Preserved). Turn it on and it will be much easier to find and debug such bugs.
I seen this kind of bug for mask/clip path postion with object too : on text on path for example.
Of offset's brokenness I was vaguely aware, but I never saw this kind of problem with textpath. Can you give the steps to reproduce for textpath?
Lot of objects don't manage them correctly in fact, I written a mail on the list about some of them.
I may have missed that email - can you please resend it to me?
Thanks,

bulia byak wrote:
On 10/10/06, Popolon <popolon@...1497...> wrote:
- make an object
- apply a mask or clip-path
- move that object
- create a linked offset => he don't follow original object at all.
Yes, linked offset is obviously broken by ignoring the transform. It would be nice if you could fix it. It shouldn't be too difficult. If you run into problems, let me know.
I want to know one thing, where is the function that ask a linked offset to update, using its original object values ?
By the way, you don't need masks or clippaths to reveal this. In Inkscape Preferences, Transforms tab, we have a switch which forces Inkscape to always store transforms as matrices (Store transformations: Preserved).
That's because I like masks/clip-path and use it that I discover the bug not because I want to reveal it first, then looking at the code and xml behavior I undersand this :).
Turn it on and it will be much easier to find and debug such bugs.
I believe the bug has no relation with specific matrix values, but is only linked to manage original object matrix. The bug is only than matrix isn't copied. If I copy by and using XML editor the linked offset go to this right place.
I seen this kind of bug for mask/clip path postion with object too : on text on path for example.
Of offset's brokenness I was vaguely aware, but I never saw this kind of problem with textpath. Can you give the steps to reproduce for textpath?
The probleme is with mask, when you apply a maks to a text, then put it on path, the mask don't keep the good coordinates for each char for example.
Then when you move curbe, the text slide on its mask (the mask don't move with text.
Lot of objects don't manage them correctly in fact, I written a mail on the list about some of them.
I may have missed that email - can you please resend it to me?
Look it back, there are several bug I resolved about mask/clip-paht loose.
I wrote about 2 bug reports I created that, I believe now, is related to transform copy problem. In both case, mask/clip-path keep their orignal position :
bug #1566018 https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1566018...
and
bug #1568048 https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1568048...
participants (2)
-
bulia byak
-
Popolon