Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Tools interrupted in their drag phase break when returning to the tool

Open esmaycat opened this issue 5 years ago • 3 comments

Description

When drawing with the 'Pen' tool and switching the tool prematurely (before you have clicked enter) and then going back to the Pen tool and moving the mouse cursor around a bit, this happens

screen-capture

Reproduction steps

  1. Start drawing with the pen tool
  2. Don't press enter and have the line still following the cursor
  3. Click on any other tool and draw with it
  4. Click back onto the pen tool and move your mouse around

To be honest I think that it looked nice but probably wasn't intended to happen.

esmaycat avatar Apr 27 '21 12:04 esmaycat

This can also be replicated with other tools, for example if you start drawing a rectangle and then press 'E' without letting go of the mouse button and committing the operation, use another tool and then change back to the rectangle tool then it draws many rectangles recording

0HyperCube avatar Apr 30 '21 16:04 0HyperCube

@pkupper this is related to the other changes you've been making, would you like to assign this bug to yourself?

Keavon avatar May 07 '21 08:05 Keavon

This is mostly fixed by the new input system, the inconvenience of having to click twice after a new tool is selected (if you do the drag thing) will be addressed once we properly implement the input preprocessor

TrueDoctor avatar May 23 '21 07:05 TrueDoctor