In text tool, restoring margin handle causes text to disappear (when snap-to-grid is enabled)
Summary:
When trying out the text margin tool (thank you for implementing this!!), I noticed two issues:
- After drawing the text frame, the margin handle was not displayed until I clicked to reposition the cursor.
- After moving the margin handle inward and then restoring it to its original position, the text disappeared.
The second issue happens only when Snap to Grid is enabled.
Steps to reproduce:
- Open the image below in Inkscape.
- Snap the margin handle one grid square inward.
- Snap the margin handle back to its original position.
What happened?
The text disappeared.
What should have happened?
The text should not have disappeared.
Sample attachments:
Version info
Inkscape 1.3 (0e150ed6c4, 2023-07-21)
GLib version: 2.76.4
GTK version: 3.24.38
glibmm version: 2.66.6
gtkmm version: 3.24.7
libxml2 version: 2.11.4
libxslt version: 1.1.38
Cairo version: 1.17.7
Pango version: 1.50.14
HarfBuzz version: 8.0.1
OS version: Windows 11 22H2
