Cannot create offset parallel tiled clones of vertical or horizontal lines

Bug #553912 reported by Alex Valavanis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned
inkscape (Debian)
Confirmed
Unknown
inkscape (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: inkscape

The tiled clones tool does not create any offset between parallel clones of vertical or horizontal lines, no matter what is specified on the "Shift" tab of the tiled clones dialog

To reproduce:

1. Draw a vertical line (hold CTRL while drawing to ensure it is perfectly vertical)
2. Edit->Clone->Create Tiled Clones...
3. On the "Symmetry" tab, select P1: Simple translation
4. Enter Rows, Columns = 1, 5
5. Click "Create"
>> five clones of the line are created, all stacked on top of each other.
6. Undo
7. On the "Shift" tab, select 200% per column for Shift X.
8. Click "Create"
>> five clones of the line are created, all stacked on top of each other.

In other words, the width of the stroke is ignored when calculating the offset between clones.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: inkscape 0.47.0-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Fri Apr 2 13:12:48 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: inkscape

Revision history for this message
Alex Valavanis (valavanisalex) wrote :
Changed in inkscape (Debian):
status: Unknown → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Ubuntu 9.10, Inkscape bzr rev. 9303.

Changed in inkscape:
status: New → Confirmed
Changed in inkscape (Ubuntu):
status: New → Confirmed
tags: added: clones
Changed in inkscape (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Changed in inkscape:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
su_v (suv-lp) wrote :

> In other words, the width of the stroke is ignored
> when calculating the offset between clones.

Workaround: temporarily switch to 'Geometric bounding box' mode [1], select the line and create the tiled clones - the stroke width is now included in the width or height of the base tile and takes effect in the calculation of the horizontal or vertical offset (in %) of the 'Shift' parameters. I don't know if this contradictory use of the bounding box mode is intended or just an error when parsing the current bbox mode used for the calculation of the base tile dimensions.
(tested with Inkscape 0.47, 0.48 and 0.48+devel r9828)

[1] Inkscape preferences > Tools > Bounding box to use

Revision history for this message
OC (olivier-c) wrote :

Oooh, it took hours for me to finally nail and identify this bug... I would offer near-eternal gratitude and an extra donation towards the LGM budget if someone would fix this.

This bug also occurs for paths with arrows. A rather fast workaround is to bend the straight line before the cloning, and then suppress any Béziers handles (all clones then becoming straight together with the original).

Revision history for this message
Beluga (buovjaga) wrote :

Repro.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.