straigh line always has fixed weight/height

Bug #774467 reported by Frank Roberts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When i want to change both the width & heigth of a straight line (bezier curve) they keep linking to each other even when it's unlocked. In other words; when I change the height value, the width value changes, and vice versa. So it is impossible to create a straight line with custom heigth&weight combination.

description: updated
Revision history for this message
su_v (suv-lp) wrote :

> a straight line (bezier curve)

Is this limited to horizontal / vertical lines?

Could you please attach a sample SVG and provide detailed 'steps to reproduce', as well as expected result & actual result?
It would also be important to know about your current settings for
- Tools > Bounding box mode
- Transform > Scale stroke width
- Snapping
- Inkscape version ('Help > About Inkscape')

Possibly has the same underlying issue as bug #706509.

On the other hand, if this is about editing straight horizontal / vertical lines, you can always adjust the stroke width itself (Fill & Stroke > Stroke style) and use the node tool to adjust the end nodes (i.e. edit the geometry and attributes of the path directly instead of stretching or scaling the visual bounding box of the selected path).

tags: added: selection transformations
Revision history for this message
Frank Roberts (frankroberts) wrote : Re: [Bug 774467] Re: straigh line always has fixed weight/height

i can only reproduce it when I draw a straight line (bezier curve) with an
angle of 0% between 2 points. So basically just a horizontal line. When you
draw such a line, and try to *manually *change the X value, the Y value
changes too, and vice versa. If the line has an angle above or below 0, the
problem* doesn't* occur.

it's happening on Inkscape 0.48.1 r9760 on a macbook air (mac version using
X11 libraries)

When I try to reproduce it with other drawing modes (freehand lines) the
problem doesn't occur.

Do you know enough?

2011/5/1 ~suv <email address hidden>

> > a straight line (bezier curve)
>
> Is this limited to horizontal / vertical lines?
>
> Could you please attach a sample SVG and provide detailed 'steps to
> reproduce', as well as expected result & actual result?
> It would also be important to know about your current settings for
> - Tools > Bounding box mode
> - Transform > Scale stroke width
> - Snapping
> - Inkscape version ('Help > About Inkscape')
>
> Possibly has the same underlying issue as bug #706509.
>
> On the other hand, if this is about editing straight horizontal /
> vertical lines, you can always adjust the stroke width itself (Fill &
> Stroke > Stroke style) and use the node tool to adjust the end nodes
> (i.e. edit the geometry and attributes of the path directly instead of
> stretching or scaling the visual bounding box of the selected path).
>
> ** Tags added: selection transformations
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/774467
>
> Title:
> straigh line always has fixed weight/height
>
> Status in Inkscape: A Vector Drawing Tool:
> New
>
> Bug description:
> When i want to change both the width & heigth of a straight line
> (bezier curve) they keep linking to each other even when it's
> unlocked. In other words; when I change the height value, the width
> value changes, and vice versa. So it is impossible to create a
> straight line with custom heigth&weight combination.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/774467/+subscribe
>

Revision history for this message
Alvin Penner (apenner) wrote :

in the Preferences, under File->Inkscape Preferences->Transforms, if there is a check mark beside the item "Scale Stroke Width", try unchecking it to see if it helps. Otherwise, steps to reproduce would be helpful. How are you changing the x and y values. Are you using the X,Y,W,H spinboxes that are visible when you hit the Select icon (F1) at the top of the left side menu?

Revision history for this message
Frank Roberts (frankroberts) wrote :

I change the W and H values with the spinboxes, yes.
When I uncheck the scale stroke width tab, I can't resize the H value
anymore; if I change it from 1 to 3, the Y value becomes 3 larger (so the
line raises in the field), but the H value is still 1.

So unchecking the value doesnt solve the problem; it creates another one. I
think there's something wrong with the spinboxes.

2011/5/5 Alvin Penner <email address hidden>

> in the Preferences, under File->Inkscape Preferences->Transforms, if
> there is a check mark beside the item "Scale Stroke Width", try
> unchecking it to see if it helps. Otherwise, steps to reproduce would be
> helpful. How are you changing the x and y values. Are you using the
> X,Y,W,H spinboxes that are visible when you hit the Select icon (F1) at
> the top of the left side menu?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/774467
>
> Title:
> straigh line always has fixed weight/height
>
> Status in Inkscape: A Vector Drawing Tool:
> New
>
> Bug description:
> When i want to change both the width & heigth of a straight line
> (bezier curve) they keep linking to each other even when it's
> unlocked. In other words; when I change the height value, the width
> value changes, and vice versa. So it is impossible to create a
> straight line with custom heigth&weight combination.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/774467/+subscribe
>

Revision history for this message
su_v (suv-lp) wrote :

> When I uncheck the scale stroke width tab,
> I can't resize the H value anymore
> (…)
> So unchecking the value doesnt solve the problem;

Remember that you now try to change the height of a horizontal line (i.e. h=0) which has a fixed stroke width: how or why should it be possible to change the height? Mostly likely using a filled rectangle instead of a stroked line would better fit your needs: A filled rectangle can be stretched and scaled without such limitations, a stroked path on the other hand does not have a geometric height and the height of its visual bounding box is fixed if you turn off the stroke scaling ('visual' is the default mode of the selection bounding box).

Also note that the settings I asked about earlier might also influence the transformations with the select tool:
- is snapping enabled?
- if snapping is enabled, is the grid visible (i.e. is snapping to grid active
- which bbox mode do you use

Already known issues when transforming a line with only one (geometric) bounding box dimension
(i.e. one of the geometric dimensions (width or height) is zero):
- bug #452102
- bug #706509

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.