View Issue Details

IDProjectCategoryView StatusLast Update
0017742ScribusGeneralpublic2026-02-06 12:34
Reporterdeepaksinghola Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformmacOSOSmacOS TahoeOS Version26.1
Product Version1.6.5 
Summary0017742: Snap to guides produces incorrect object width when stroke color is set
DescriptionWhen "Snap to Guides" is enabled, resizing a shape (e.g. a rectangle) to guide positions results in an incorrect object width if the object has a stroke color assigned.

For example, with page margins set to 180 mm, resizing a rectangle by snapping its edges to the margin guides results in a width of approximately 179.647 mm or 179.721 mm instead of exactly 180 mm, even when the line width is 0 (Hairline).

If the stroke color is explicitly set to "None", snapping behaves correctly and the resulting width is exactly 180 mm. No fill is required for correct behavior.

This suggests that snapping calculations take stroke presence into account even when stroke width is zero.
Steps To Reproduce1. Create a new document.
2. Set page margins so that the margin width is exactly 180 mm.
3. Enable "Snap to Guides".
4. Draw a rectangle.
5. Assign any stroke color to the rectangle (stroke width 0, fill irrelevant).
6. Resize the rectangle by snapping its left and right edges to the margin guides.
7. Check the resulting width of the rectangle.
8. Set the stroke color to "None".
9. Repeat the resize operation.
Additional InformationExpected Result: The rectangle width should be exactly 180 mm when snapped to the guides with line width 0 (Hairline) even when stroke color is assigned.

Actual Result: With a stroke color assigned, the resulting width is approximately 179.647 mm or 179.721 mm.
When stroke color is set to None, the width is exactly 180 mm.
Tagsshape snapping, snap to guide, snapping
Attached Files
scribus-snap-issue.gif (2,049,075 bytes)
PatchNo

Activities

Issue History

Date Modified Username Field Change
2026-02-06 12:34 deepaksinghola New Issue
2026-02-06 12:34 deepaksinghola Tag Attached: shape snapping
2026-02-06 12:34 deepaksinghola Tag Attached: snap to guide
2026-02-06 12:34 deepaksinghola Tag Attached: snapping
2026-02-06 12:34 deepaksinghola File Added: scribus-snap-issue.gif