Bug 331344

Summary: create infinite straight lines
Product: [Applications] krita Reporter: Eiko Yumi <esdouzewa>
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: ghevan, halla
Priority: NOR    
Version: 2.8 Beta   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:

Description Eiko Yumi 2014-02-20 16:40:33 UTC
Several features could be implemented to the the straight line tool in Krita to improve its usability and usefulness:

- Continuous angle constraint - once the SHIFT key is being kept pressed to start drawing lines at a constrained angle, make it so that the user isn't required to lift the shift key and press it again to draw new angle-constrained lines. This would allow the user to draw straight lines in quick succession.

- Symmetrical extension - the CTRL keyboard key could make lines extend symmetrically before the origin point.

- Extend to infinity - the ALT keyboard key could be used to make lines extend to infinity after the origin point.

- Pressing CTRL + ALT while drawing straight lines would extend them to infinity both before and after the origin point.

- Line style cycling - the freehand line tool, line tool, polygonal line tool, etc can be considered as different modes of operation for the same tool. It would be handy if users were able to use a single keyboard key to cycle between them. This would also have the advantage of reducing the number of keyboard shortcuts used.

Reproducible: Always
Comment 1 vanyossi 2014-03-24 18:09:17 UTC
Cool proposals. Here are my opinions

Continuous angle constraint +1 : it seems this is broken due to the shift drag action to change brush size. which in turn seems to be broken in line tool. =(

Symmetrical extension. +1 Nice, I was thinking the same yesterday, and using the same modifier CTRL. XD

Extend to infinity. I would probably add this as an extra option in the tool box. Instead I propose to enter Polyline mode if the first click is done with ALT pressed. And I would change the end of Polyline with CTRL instead of SHIFT to allow angled lines in polyline mode.

Because infinity lines is done (in my view) as a toolbox option, using CTRL or ALT would be the way to go to extend them both ways. Using too much modifiers at once is not very comfortable.

I wouldn't go as far as combining all, but merging line and polyline if done properly can save us a slot in the tool box. At least for desktop users. I have no idea how it would work for tablet users, so having the option to toggle polyline whether it is a tool or as a Line tool option would still be necessary.
Comment 2 Halla Rempt 2016-01-24 12:44:25 UTC
WISHGROUP: Small Usability Fixes