Snapping doesn't take into account clone `<use>` x/y values
Steps to reproduce:
- open clone_fail.svg in Inkscape
- try to snap the blue clone onto the red clone (any points)
- alternatively try with clone_fail2.svg
What happened?
- snapping fails in clone_fail.svg
- snapping is displaced in clone_fail2.svg
- These clones have non-0 x/y values set, which displaces the snapping points (clone_fail.svg has a larger displacement so snapping failed altogether)
- Originally noticed in file from #2628 (closed), which appears to use a pdf import, so this isn't just a perverse edge-case
What should have happened?
- same snapping as if x/y values were 0 clone_success.svg
Sample attachments (all from above):
Version info
- Inkscape 1.2-dev (963d16bd, 2021-07-10) Linux Mint 20
- Inkscape 0.92.5 (0ad1ac96, 2020-08-06) Linux Mint 20
No launchpad duplicates found on search for snap
and snapping