Comment 6 for bug 174046

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

I've found the email in which I discussed this issue with Bulia, see below. If my analysis is correct (and I'm not fully convinced it is, because this stuff is difficult), then this would be related to:

https://bugs.launchpad.net/inkscape/+bug/sf969406

This is the email:

> - The stroke width scales while dragging, even when the corresponding
> button has been disabled. When releasing the handle everything turns out
> just fine, but while dragging it still looks like snapping wrong. I
> don't think this is due to the selector tool though. Has anyone looked
> into this before?

Certainly. It's one of the oldest bugs in our tracker:

http://sourceforge.net/tracker/index.php?func=detail&aid=969406&group_id=93438&atid=604306

The reason is that for speed, while you are dragging transformation
handle, seltrans does not update the repr of the object, but only the
object itself. Therefore stroke width adjustments are not written to
the object's style. And the display engine takes stroke width from the
style and unconditionally scales it by the object's transform.
Therefore the displayed stroke width grows as you scale it up. Once
you release mouse, stroke width is adjusted and fully written, so the
display becomes correct.