bugMyPaint - Bugs: bug #17856, [Usability] Straight-line mode...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #17856: [Usability] Straight-line mode should have on-canvas feedback

Submitted by:  Jon Nordby <jonnor>
Submitted on:  Sun Mar 6 23:18:50 2011  
Severity: 2 - MinorPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: Planned Release: None
Operating System: 

(Jump to the original submission Jump to the original submission)

Tue Nov 20 14:42:44 2012, comment #7:

Revisiting this, the new linemode.py routines contributed by Optigon a while back allow angle snapping and other geometrical goodies by changing the held set of modifiers while drawing (works even if you used modifiers to start the mode), addressing the emergent concerns here.

I've done a hopefully fully functional (and complete!) first pass at integrating these into the newer InteractionModes system, and worked on the cursors a bit so they show the current mode while it's active (even if you're bouncing on modifiers to enable the mode temporarily). The LineMode code shows what it does immediately too, so that's both of Jon's original concerns addressed, I think.

Think that's everything for this one.

Andrew Chadwick <achadwick>
Project Administrator
Sat Aug 27 00:57:31 2011, comment #6:

Depends on an implementation of bug #18574 first, I think.

Andrew Chadwick <achadwick>
Project Administrator
Mon Aug 22 19:00:00 2011, comment #5:

We'll need some sort of proper straight line canvas interaction modes for this I think. Cleaning up the old, scary, and special-cased UI stategroup cruft and maybe driving it off the back of some normal-looking GTK actions that can be stuffed onto the toolbar or into menus or tickled with the current set of modifier keys is something I've been planning since the toolbar code hit.

(Frees us up for other geometric drawing modes too, but that is so far down the line to be not even worth thinking about right now.)

Andrew Chadwick <achadwick>
Project Administrator
Sat Mar 19 08:52:03 2011, comment #4:

I'm sure snapping will not bother anyone if you have to hold an additional key. We can't use Ctrl alone because this is used for the color picker.

No point making a separate wish, because snapping doesn't make sense without on-canvas feedback about the line.

Martin Renold <martinxyz>
Project Administrator
Sat Mar 19 08:12:34 2011, comment #3:

> The possibility to snap every 22.5 degrees would certainly be useful.

Snapping with something like ctrl or ctrl+shift would be nice; definitely more useful than just showing the information. Maybe at even smaller increments than 22.5°. Say, 5° or 15°, which still hits the important angles.

> he just wants to make a straight line, not measure it.

That's basically what I requested the info display to do. I'd prefer snapping but I'm always reluctant to suggest/request it because it bothers some people.

Should I make a new report for the snapping behaviour wish?

Joshua Tyler <marand>
Sat Mar 19 07:33:59 2011, comment #2:

The possibility to snap every 22.5 degrees would certainly be useful.

I don't think a numerical angle display fits into the goals of mypaint. I doubt any artist wants to know he us using an angle of exactly 31.3 degrees, he just wants to make a straight line, not measure it.

Martin Renold <martinxyz>
Project Administrator
Sat Mar 19 00:57:33 2011, comment #1:

Another thought on visual feedback: in addition to seeing the line, it would also be nice to have some information about the angle of the line before being placed. For example, the angle in degrees printed over the cursor, or have the temporary line change colours at certain angles (0°, 90°, etc.).

I think showing the angle over the cursor would be more obvious to users than changing the line colour, but I don't know if it's a feasible solution.

Anything would help, though; I don't know how others do it, but I've been using a screen ruler (kruler) and the edges of the canvas to make reasonable horizontal and vertical lines in MyPaint, which can be really clunky at times.

Joshua Tyler <marand>
Sun Mar 6 23:18:50 2011, original submission:

Currently, when you activate straight-line mode, there is no visual feedback that you are in this mode or where the line will go when the second click is made.

This is problematic for two reasons:
- User might not know he is in this mode, and be suprised when a straight line occurs when drawing the second point.
- It is hard to draw a line through a point. This is common when one wants to add perspective lines after having started the sketch/drawing.

Drawing a stipled line to the cursor position in this mode will solve both of these issues.

Jon Nordby <jonnor>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by marand (Posted a comment)
  • -unavailable- added by jonnor (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Nov 20 14:42:44 2012achadwickStatusWish=>Fixed
    Sat Mar 19 07:33:59 2011martinxyzStatusNone=>Wish
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup