Marker direction is wrong with zero-length Bezier handle

Bug #167449 reported by Christophedang
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Peter Moulder

Bug Description

See
http://commons.wikimedia.org/wiki/Image:Ellingham-Richardson.svg

The picture looks perfectly good in Inkscape, but has
several problems when displayed with another program,
e.g. FireFox:
* axes labels "\Delta G" and "T" do not appear
* the arrow of the y-axis of the bottom picture is in
the wrong direction
* parasitic black boxes.

Tags: saving win32
Revision history for this message
Christophedang (christophedang) wrote :

Other differences spotted:
* no arrow on the chemical equations on the top
* in the "-RT.ln(Po2) (Po2 = cte)" formula, the O2 are misplaced

(by the way, its the V0.43)

Revision history for this message
Christophedang (christophedang) wrote : the way the picture appears in Inkscape

Other attachments

Revision history for this message
Rwst (rwst) wrote :

confirmed. batik doesn't even accept the file, showing it as
the flowRoot problem. thus, this report is a duplicate of
http://sourceforge.net/tracker/?group_id=93438&atid=604306&func=detail&aid=1441003

thanks for the report, anyway, I have upped the priority of
#1441003 to 8 as it is quite annoying

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

1. You should not have used flowed text - you don't need it
here. And if you used it, you had to convert it to text
before viewing in other SVG viewers. More information is here:

http://wiki.inkscape.org/wiki/index.php/FAQ#What_about_flowed_text.3F

This takes care of the missing labels and black rects.

2. The only real problem in Inkscape is the wrong direction
of arrows. This is caused by the very strange way you
created the axes - instead of straight lines, they are
curves with both Bezier handles coincident with one of the
nodes. In this special case, Inkscape orients the arrows
wrongly (upwards), and other SVG renderers get it correct
(to the right). This needs to be fixed. For your particular
file, all you need to do is select both nodes on the axis
(in Node tool) and press "Make selected segments lines" button.

Revision history for this message
Christophedang (christophedang) wrote :

OK, seems like I need some training.

Sorry, it's only my second picture with Inkscape, the first
one looks much better
http://commons.wikimedia.org/wiki/Image:Schwarze_auge_1_logo.svg

Anyway, if I may make a suggestion: I did the way it seemed
simple to me. There should thus be a simpler way (e.g. a
dedicated button) to make a straight line and to use the
right text format w/o accessing a menu.

And it should be wysiwyg.

Please don't take it as a critic (I'm not a native english
speaker so I may be not enough diplomatic), I love Inkscape
and use it now professionally instead of my old iGrafX'97, I
just try to help improving it.

Thanks for the great job.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

What can be simpler than: switch to Pen tool, click once,
click twice, press Enter? You get a perfect straight line.

You just need to get used to the fact that in Pen, dragging
drags Bezier handles. To go from one node to the next, you
don't need to drag between them. Just click and click. It's
MUCH more convenient that way.

Oh, and it IS wisywig, except for bugs which we fix.

Revision history for this message
Rwst (rwst) wrote :

bulia, I agree with the original poster that it is not
wysiwyg when you have to change learned behaviour ("most
graphic tools in inkscape are used with click+drag") to
avoid the flowtext bug ("only click for text, not drag").

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

1. Pen tool needs only clicks for straight lines. So you
can't say that all our tools only require drag.

2. Flowtext is not a bug. It's a temporary incompatibility.
I don't want users to relearn their habits now, and then
have to relearn them back again when it becomes compatible
again. From UI perspective, the click and drag actions in
Text tool make perfect sense and don't need changing. We
might add more flashing warnings about the incompatibility
(there's a RFE on doing that on save, and another RFE on
providing a plain text alternative to flowed text via
<switch>, both are good suggestions), but this is all
entirely orthogonal to the use of controls in the Text tool
itself.

Revision history for this message
Christophedang (christophedang) wrote :

I personally think that a two buttons, one for Bézier curves
and one for straight lines, would be more user-friendly than
a click/drag duality (it is too easy too make the "wrong"
operation).
This is just my personnal opinion, a proposal, I understand
some can disagree.

> Oh, and it IS wisywig, except for bugs which we fix.

that's what I meant.

BTW, I read here

http://bugzilla.wikimedia.org/show_bug.cgi?id=5325

that :

"Inkscape's default markers are defined outside their
bounding box and therefore rely on the overflow to be
visible in order to look correct."

Is it a correct behaviour?

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

And what would you do if you need a path that has both
curves and straight lines? Switch buttons in the middle of
drawing? It's very inconvenient.

> "Inkscape's default markers are defined outside their
bounding box and therefore rely on the overflow to be
visible in order to look correct."

Yes, this is valid behavior. We specify
style="overflow:visible" and all compliant renderers must
honor it.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

pjrm: assigning to you since you last touched the marker
transforms in SPShape. Please have a look.

Revision history for this message
Christophedang (christophedang) wrote :

> And what would you do if you need a path that has both
curves and straight lines?

I think the most frequent situation should be performed in
the simplest way. It is my impression that the situation you
describe is not so frequent, so drax everything in straight
line and then change some lines into arcs, or the contrary.

Draw straight

> Switch buttons in the middle of
drawing? It's very inconvenient.

You don't have to be sarcastic when you disagree with
someone. I thought the force of the collaborative projects
was the fact that different ideas were proposed (which does
not mean all are good and must be kept; I don't want my idea
to be integrated, I just want to express it without being
laughed at).

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Your impression is not correct. Paths with linear segments
are the simplest, but not the most common situation. Most
real paths have curves. Our current interface makes simple
things easy (once you bother to find out how the tool
operates) and complex things manageable. Your proposal will
make simple things just a bit easier (and only for novices)
but complex things much more difficult. For these reasons, I
oppose it. No sarcasm, I just don't think it's a good idea.

Revision history for this message
Christophedang (christophedang) wrote :

> Your impression is not correct. Paths with linear segments
are the simplest, but not the most common situation. Most
real paths have curves.

This is not what I meant. I meant, the mix of curves and
straight lines is an uncommon situation.

> Your proposal will make simple things just a bit easier
(and only for novices)

OK, if this is the policy of the project to favour
"professionals", and not beginners or switchers.

> but complex things much more difficult

I was talking about frequency.

IMHO, making a complex but uncommon action easier is OK as
long as it does not make more difficult a frequent (easy or
complex) action.

I often draw pictures in my job (technical writer), and I
don't think I remember the need to mix straight line and
curves -- it does not mean I never made this, it just means
that may have done it once or twice and modifying broken
lines or curves to have a mix was not painfull at all
otherwise I would have remembered.

Anyway, I'm happy with the current interface.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Just to clarify, our policy is to make things easy for
beginners AND give power to the professionals, without
sacrificing one or the other. Our Pen tool can be improved
in both ways, but the line/curve issue is not it, IMHO. It's
already about as simple and as powerful in that aspect as
can be.

One shape that has both lines and curves is so common that
we even have a special tool for it: rectangle with rounded
corners.

Revision history for this message
Christophedang (christophedang) wrote :

> Our Pen tool can be improved
in both ways, but the line/curve issue is not it, IMHO.

I have no problem with the way the pen works, I just suggest
to have an additional button for straight lines.

> One shape that has both lines and curves is so common that
we even have a special tool for it: rectangle with rounded
corners.

Right. So this situation worth a specific button, not the
straight lines (mind that you just have to release the click
a little bit late to create a curve instead of a line, which
is a source of error).

Now I remember some situations I had to mix curves and
straight line. I had to start from a circle or an ellipse
because the curved shape had to match exactly this shape.
There was no dedicated button, and it was really easy to
transform the ellipse into a mixed shape (create new points,
transform the arc into segment).

So I think we have different experiences and thus different
opinions, if you had to make frequently mixed shapes other
than rounded rectangles and transformed ellipse, then its my
own vision which is flawed because my field of activity is
narrow.

I can admit it.

It would be interesting to have experiences from others, to
evaluate if an additionnal button is useful or not.

Revision history for this message
nightrow (jb-benoit) wrote :

Thank you for taking the time to report this bug and helping to make Inkscape better. You reported this bug a long while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Inkscape release? Thanks in advance

Changed in inkscape:
status: New → Incomplete
Revision history for this message
imigital (imigital) wrote :

STATUS CHANGED: from Incomplete to Invalid

CLOSED as out of date.
Bug Triage: older than 1 month with no reply

Changed in inkscape:
status: Incomplete → Invalid
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.