Measurement Tool's ruler does not snap properly.
Summary:
The Measurement Tool's ruler does not snap properly. The starting end snaps as expected. But the stopping end of the ruler will not snap to targets defined by the settings on the Snap Control Bar.
Steps to reproduce:
- open Inkscape
- Either draw or identify an object which you can measure with the Measurement Tool.
- Set up the Measurement Tool with Ignore First and Last enabled, and all other options as seen in measure_snap3.png.
- Set up the Snap Control Bar as shown in measure_snap3.png.
- Snap the starting end.
- Drag out the ruler.
- Attempt to snap the stopping end to an appropriate target according to the Snap Control Bar settings.
What happened?
As you can see in the video, the starting end of the Measurement Tool's ruler snaps to the first target. But the end of the Measurement Tool's ruler will not snap to anything. (You can tell because the Snap Indicator is not displayed.)
However, if I end the ruler at any random place, and then grab the end again with the Measurement Tool, then it will snap to any appropriate target, according to the snap settings. (Now you can see the Snap Indicator is displayed -- Handle to cusp node.)
What should have happened?
I think the stopping end of the ruler should snap to any appropriate target according to the snap settings, on the first try. We should not need to end it at any random place and then pick it up again, to be able to snap it.
Sample attachments:
I'm not sure how to attach files here, but I'll try the paper clip button in this editor. Please find a screenshot measure_snap3.png and a video measure_snap1.mp4.
Previously, someone requested that I do not zip them together, so I hope they are not taking up too much space.
Version info
Inkscape 1.4 (e7c3feb, 2024-10-09)
Compile (Run)
GLib version: 2.64.6
GTK version: 3.24.20 (3.24.20)
glibmm version: 2.64.2
gtkmm version: 3.24.2
libxml2 version: 2.9.10
libxslt version: 1.1.34
Cairo version: 1.16.0 (1.16.0)
Pango version: 1.44.7 (1.44.7)
HarfBuzz version: 2.6.4 (2.6.4)
OS version: Linux Mint 22
If you need any more info, let me know.
Thank you very much!
