On 05/18/2010 08:07 AM, Mihaela wrote:
Enable "Snapping nodes or handles" and try to snap cusp or smooth nodes using Node tool to a guide, everything works as expected, they snap and the tooltip is correct. If I convert a node to Symmetric it snaps to the guide but the tooltip says "Cusp node to guide".
I guess the snapping mechanism only knows smooth vs. cusp nodes; it might not be able to discern symmetric nodes as a third type.
If I convert a node to Auto-smooth it snaps to the guide but the tooltip says "Smooth node to guide".
Same here, but it looks like the tooltip is not that far off. Would you rather see "Auto-smooth" in the tooltip instead of just "Smooth". Anyway, both are smooth.
Now with the same setting (Snapping nodes or handles) use Selector tool to move the object around and snap it's nodes to the guide. Snapping sharp cusp nodes works and the tooltip is correct [...] Snapping cusp nodes that were converted from smooth (so their handles are collinear) doesn't work, even if you move a handle just a bit so handles aren't collinear. Symmetric nodes don't snap. Auto-smooth nodes don't snap.
If I remember correctly then this is because at some point in time I decided (in all my wisdom) that only salient features of a path should snap, i.e. only cusp nodes. You never know exactly where a smooth node is located; snapping is an "exact operation", whereas smooth nodes have some "approximate feel" to them.
When I add the "Snap to smooth nodes" into play then smooth nodes snap to the guide when using Selector tool,
Yes, that was intended to allow you to "overrule my wisdom" ;-). Also, when neither "snap to smooth nodes" nor "snap to cusp nodes" (targets) has been enabled, still the "snap nodes or handles" (sources) should allow to snap at least the cusp nodes. But I agree that this is not very obvious.
but the tooltip says "Cusp node to guide". It's the same with symmetric and auto-smooth nodes - they snap but the tooltip says cusp.
That clearly is a bug, which I should fix.
No snapping occurs if I use "Snap to cusp nodes" instead of "Snap to smooth nodes" when trying to snap smooth, symmetric or auto-smooth node using Selector (cusp nodes snap correctly even without this option).
Yes, as intended. See above. Maybe I should just consider all nodes as snap sources when selecting "snap nodes or handles".
When snapping to path intersection is on, when trying to snap to a cusp node the tooltip says it's snapping to "path intersection" instead of "to cusp node" and it happens with "Snap to cusp nodes" disabled.
I will look into this.
Unrelated to this but related to gradients snapping - when creating a gradient start stop snaps but the gradient can't be created. You have to click next to the snapping point and not directly on it to make it work.
... and this is a bug again. I don't know where this comes from, but I will fix it.
Thanks for taking the time to report this.
Diederik