Bug 332527

Summary: Constrain angle with SHIFT on all line capable tools, specially measuring, gradient and assistant ruler.
Product: [Applications] krita Reporter: vanyossi <ghevan>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description vanyossi 2014-03-24 18:38:27 UTC
Line tool work nice to constrain angle at certain degrees. but other tools could benefit from the same behavior

Polygon and Polyline
Draw with path
Measuring tool *
Gradient missing 45° angles *
Assistant Ruler and Ellipse *

*These ones are the more relevant to have the function enabled.

Shift is used to end polytools but it may be necessary to move it to another key like CTRL. (ctrl already finished a polyline but before doing so changes the color). This is meant to keep the User experience uniform with all tools.

Reproducible: Always
Comment 1 wolthera 2015-08-25 16:14:29 UTC
Git commit b3af582293435373785167c2ccfbdece92e2ac71 by Wolthera van Hovell.
Committed on 25/08/2015 at 16:14.
Pushed by woltherav into branch 'calligra/2.9'.

Allow 'shift'-modifer after dragging an assistant handle to snap lines.

This gives horizontal snapping to most straight-line assistants.
The radial assistants will have the third handle snap to 'perfectly circular'.

Shift is a bit of an unfortunate choice given the dis-merge node function was
at one point also on shift, but shift-snap is similar to the other two tools
in krita(straight line and gradient tool), but that had been disabled anyway.
CCMAIL:kimageshop@kde.org

M  +71   -2    krita/plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc
M  +4    -0    krita/plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.h

http://commits.kde.org/calligra/b3af582293435373785167c2ccfbdece92e2ac71
Comment 2 Halla Rempt 2016-01-24 11:22:15 UTC
We've taken this as far as we can.