kimoa / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
3 stars 0 forks source link

Random missing node control points #771

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw polygon
2. Click twice to enter node edit mode
3.

What is the expected output? What do you see instead?
Some nodes have two control points, some have none. All nodes to initially have 
two control points.

Please use labels and text to provide additional information.
I understand that you can double click to activate control points for the 
clicked node and the adjacent one, but I am not sure if this is intuitive to 
new users. Is there a rational for this behavior that I am missing? Is it to 
reduce clutter? It just seems a little fiddly to me compared to Illustrator's 
approach - not a big deal though :)

Original issue reported on code.google.com by adrianbj...@gmail.com on 30 Jan 2011 at 3:09

GoogleCodeExporter commented 9 years ago
I believe the randomness is based on the way the nodes are created when 
clicked...if you move the mouse slightly while clicking (in path create mode), 
it will let you draw a curved point by dragging a control point. That's 
probably why when re-editing you'll notice control points in some places (where 
you accidentally dragged a little) and none where you it was a regular click.

Original comment by adeve...@gmail.com on 31 Jan 2011 at 4:02

GoogleCodeExporter commented 9 years ago
Thanks for the explanation - I hadn't noticed that before, but definitely seems 
to be the case.

Original comment by adrianbj...@gmail.com on 31 Jan 2011 at 4:12

GoogleCodeExporter commented 9 years ago
Just for clarification: this is not a regression, correct?

Original comment by codedr...@gmail.com on 8 Feb 2011 at 6:29

GoogleCodeExporter commented 9 years ago
Well, not sure that it is a regression, but the behavior has changed since 
2.5.1. The accidental drag while clicking didn't result in control points 
before. Personally I think it would be nicer if all nodes has control points by 
default, but as I said, maybe it is less cluttered without them. I just worry 
that users won't figure out double-clicking to get them.

Original comment by adrianbj...@gmail.com on 8 Feb 2011 at 6:37

GoogleCodeExporter commented 9 years ago
I think we'll probably wind up wanting to mirror Ink/Ill behavior here, where 
it's the node points that are modified to change the behavior of the lines... 
However, that's something that should wait 'til 2.7, as it would require making 
significant changes.

A solution for dealing with the confusion here would be to not to add the 
control points/curved line if only a minor drag occurs ( <5px or so) 

Original comment by adeve...@gmail.com on 8 Feb 2011 at 7:02