Bug 440108 - 'Safe zone' before brush begins drawing along assistant is significantly too large.
Summary: 'Safe zone' before brush begins drawing along assistant is significantly too ...
Status: RESOLVED DUPLICATE of bug 436422
Alias: None
Product: krita
Classification: Applications
Component: Tool/Assistants (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Ralek Kolemios
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 10:44 UTC by Ralek Kolemios
Modified: 2021-08-26 09:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Spline handles size (28.53 KB, image/png)
2021-07-22 09:40 UTC, Ralek Kolemios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralek Kolemios 2021-07-21 10:44:53 UTC
When trying to draw using any assistant, the pen must move over 200 pixels in any direction before the line begins drawing. This means you cannot use assistants to draw any lines smaller than 200 pixels.

5.0.0-prealpha (git 672de37), though this started over several weeks ago, as far as I could tell.
Comment 1 Tiar 2021-07-21 17:38:14 UTC
What is the size of the canvas and what is the zoom value? And are you talking about 200 px on the canvas (as I guess) or 200px of the display (less likely, but possible)?
Comment 2 Ralek Kolemios 2021-07-22 09:40:43 UTC
Created attachment 140244 [details]
Spline handles size

The distance needed is in canvas pixels, regardless of zoom level or canvas size. You have to move the pen entirely across a 200x200 canvas before it registers. 

Problem happens with pen or mouse, and at either 100% or 200% dpi (1080 vs 4k)

Strange behaviors by assistant type:

2-point:
standard, doesn't draw until 200 pixels away from origin

Concentric ellipse:
If the ellipse is a circle with a diameter of 200 pixels, the pen must move exactly 2rad around the circle before registering. At a diameter of 400 pixels, it moves when it reaches 1rad away.

Fisheye:
Same as concentric ellipse

Infinite:
No matter where you start, the next update will be 200 pixels along the line in either direction, starting from the closest point on the line to your origin. It will also draw a line from origin to the infinite ruler before continuing normally, which I think isn't intended.

Parallel:
Standard. Moves 200 pixels either direction along the guideline.

Perspective:
Same as 2-point

Ruler:
The only assistant that seems to work as intended,with no 200-px snapping

Spline:
Very oddly sized spline 'endpoints' on smaller canvases. I feel like this sort of local vs global size issue might be the same root cause of the 200 pixel snapping. See attached image.

Vanishing:
Same as 2 point
Comment 3 Ahab Greybeard 2021-08-26 09:04:40 UTC
Having to move 200 pixels is excessive but this has been seen before.
It may be that you have a large ppi setting for your image.

I'll mark this as a duplicate because it's very related.

*** This bug has been marked as a duplicate of bug 436422 ***