double clicking on a gradient line without a shape under it, deselects the gradient shape
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Low
|
Unassigned |
Bug Description
Default preferences
0.48.4 r9939, r13012
Win 7 Home Premium 64 bit
1. draw a rect to the top left corner on the canvas
2. draw another rect to the bottom right on the canvas
3. select both rects
4. choose path > combine
5. draw a gradient from the top left rect to the bottom
right rect, the end gradient stop is selected
6. move the cursor over the middle of the gradient line,
where there are no shapes under it,
a plus sign is shown below the cursor,
indicating that a gradient stop can be added
7. double click, a gradient stop gets added,
in r9939 the shape gets deselected,
in r13012 the shape stays selected but the
new gradient stop is not selected
8. (in r9939 select the shape)
with none of the gradient stops selected,
click once on the gradient line where there are
no shapes under it, the shape gets deselected
9. draw an ellipse inbetween the two previous rects,
so that the gradient line passes over the ellipse
10. double click on the gradient line over the ellipse,
in r9939 after the first click the two rect shape gets deselected
in r13012 a new gradient stop gets added,
and it stays selected.
Expected:
double clicking on a gradient line with no shape under it,
should add a new gradient stop and select it.
Actual result:
double clicking on a gradient line with no shape under it,
or if a gradient stop isn't selected,
deselects the shape with the gradient.
.
In r13012 if the shape in the middle only has
a stroke but no fill, then it's only possible
to double click over the stroke to add a new
gradient stop.
In both the stable and the trunk version:
It's possible to add a gradient stop by
holding down ctrl and double clicking anywhere
on the gradient line, even if there's no shape
under it.
possible solutions:
A more userfriendly solution would probably
be to have both the shape with the gradient
and the new gradient stop selected,
after double clicking on a part of a gradient line
where there are no shapes under it.
Another solution would be to not show the plus sign
under the cursor when it isn't possible to
double click to create a gradient stop.
All reproduced as described - though I do find the report quite confusing and cumbersome to triage because it mixes stable and trunk. I'd vote to file separate reports for stable and trunk (priority should be on trunk to fix the remaining issues).