View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0017742 | Scribus | General | public | 2026-02-06 12:34 | 2026-02-06 12:34 |
| Reporter | deepaksinghola | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | macOS | OS | macOS Tahoe | OS Version | 26.1 |
| Product Version | 1.6.5 | ||||
| Summary | 0017742: Snap to guides produces incorrect object width when stroke color is set | ||||
| Description | When "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 Reproduce | 1. 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 Information | Expected 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. | ||||
| Tags | shape snapping, snap to guide, snapping | ||||
| Attached Files | |||||
| Patch | No | ||||
| 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 |