05/31/2026 - Feature request : potentially better Ruler UI/UX( Inspired from Leonardo )

Dear Krita devs and Krita Community.

I am writing this to request about making the simple ruler tool or Line Tool,
“more advanced”.

Right now, the Line Tool flashes as you first drag and create it, and leaves
a rendered line based on the input of your pen.
If not the line tool, you may have to use the “Drawing Assistant > Ruler or > Parallel Ruler”
tool to draw.

  1. Using the Line tool, you always have to drag and drop using pen for absolutely each line.
    The use case of drawing perfectly parallel lines is impossible/uncovered with the
    Line Tool.

  2. Using the “Drawing Assistant > Parallel Ruler” tool, you can finally draw perfectly parallel
    lines. And then press Shift + A, then change the configuration of the assistant if you suddenly
    wanted to changed the direction of the line, switch back to the brush tool, and continue
    drawing parallel lines.

The workflow with these is nice, but the approach feels a bit rigid or limited.

Why?

  • with the Line Tool, no need to explain that we can not draw perfectly parallel lines.
    This tool is not made for that use case.
  • with the drawing assistant, you always have to press buttons to get into the assistant
    setup first and switch back again to brush mode with another button before continuing to
    draw.

We could improve further the ergonomics of this by introducing a ruler tool, or “Enhanced Line tool”, inspired from **Leonardo’**s ruler tool.

For reference, please check this post : Ruler tool - UX Inspiration / Reference

Basically, we could handle all the use cases for
a “line + parallel line tool” with the least amount of operations possible by, sort of, “merging the Line Tool with the parallel ruler tool”. And fuse them into an “Enhanced Line tool” which functions
as described in the referenced post above( UX Inspiration / Reference from Leonardo; link
provided above ).

Example of usage :

  • the UX shows a ruler guide with 3 manipulable anchor points( center, and 2 endpoints );
  • you first click and drag to activate the ruler;
  • after activation, you manipulate one of the two end points to modify the ruler’s orientation;
  • the distance between the two end points can be modified but there is a minimal distance of about a few pixels( 82 pixels; that distance is purely suggestive and doesn’t constrain how long you can draw your line )
  • once you have activated the ruler, you can click outside of the 3 anchor points to
    trace on the line matching the orientation of the two anchor points, that line passes through
    the crosses attached to the 2 endpoints of the ruler tool;
  • to draw parallel lines, you simply trace - move the middle anchor - trace - move the middle
    anchor - trace - move the middle anchor - trace…;
  • once satisfied, you simply press ESC to exit ruler mode drawing.

So what do you think? Is this a good enough feature request?

I wrote a mockup in Python for an idea of how the tool could work in Krita.
Although it’s not perfect yet. But hopefully it’s a start to how that
new ruler tool should work.

Because of Krita’s Python limitations, I could not make the ruler enable
pen pressure while drawing through the track. It works only
with mouse for now.

I have been playing around with Python to cook something similar to Lenoardo’s ruler
style. If it was me, I would want this “superior” more enhanced line tool, to replace
Krita’s traditional Line tool.

Now this is a mockup with available plugin to test and play around with.

To test it, please download from the link right below :

Features :

  • Activate/deactivate via custom shortcut in Krita’s keyboard shortcut settings(Toggle
    Leonardo Ruler).

  • while you drag one of the side anchors, a dashed blue line is shown to indicate
    drawing track orientation, passing through the crosshairs; it disappears once you release
    your mouse

  • 3 draggable anchor points to modify the ruler’s UI, the middle anchor to move the UI
    without changing ruler orientation, the other anchor points to control ruler orientation

  • typical use case : trace > move the ruler with the middle anchor > trace > move the ruler >
    trace > modify orientation > trace, etc

  • works in a “while ruler active” context, meaning that you do not need everytime to press
    the shortcut of a drawing assistant before you can manipulate the UI; Once done drawing, simply
    deactivate the ruler

Limitations :

  • Since it’s python, I couldn’t figure a way to control pen pressure; for now it works only with mouse;
  • does not scale with zoom functions; does not pan with the canvas;
  • still a prototype; there could be problems;

NOTE :
This is a mockup for a feature I would like included in Krita in the future if valuable enough.

Q : Why do I want this and how useful could it be?

A : I want this because I judge that the ergonomics of this line/ruler tool is better than the traditional
line tool we have in Krita. It basically feels like mimicking more directly a real life use case of using a ruler to trace lines. It is much faster for drawing many simple lines whether parallel or not.
directly

Hi @novames00 - Your new feature request has been merged into the existing one you made 23 days ago.