Inconsistencies of grip, norm and center control points in selection tool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Antonio Ospite |
Bug Description
While looking into fixing the color for the newly added center control points
for shapes, I noticed a couple of things in the selection tool in the master
branch.
See the attached inkscape_
1. When the selection tool is active, in rotation mode, the rotation center
control point does not show up when dragged on a black background.
2. This led me to look at the code in src/seltrans.cpp about the _norm and
_grip control points, and I noticed that also the _norm control point
becomes invisible on a black background, and not only in rotation mode.
And the _grip control point is *never* displayed because of its color: it's
basically white in XOR mode.
Can the _grip control point be removed? Or should it be made more visible?
I am going to follow up shortly with a proposal to fix these issues.
Thanks,
Antonio
Changed in inkscape: | |
milestone: | none → 1.0 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
The attached file inkscape_ selection_ tool_control_ points_ fix_proposal. webm
shows my proposal to fix the issues from above.
Maybe "pause" the video when appropriate to read the text and understand what
I mean, the timing in the edit is not great. :)
Basically I propose:
1. When dragging the center control point, draw it using the color used for STATE_DRAGGING and the XOR blending mode.
SP_KNOT_
2. Since the _norm and _grip control points are only displayed during
dragging, show them too with the same criteria from above.
If the end result is acceptable I will clean up the local code I have and send a Merge Request.
The doubt I still have is about the _grip control point, should it be always
displayed or could it be removed completely?
FWIW I'd keep it and always display it.
Thanks,
Antonio