Bug 445152 - When the drawing angle is locked, the drawing angle of the nib will still change
Summary: When the drawing angle is locked, the drawing angle of the nib will still change
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 5.0.0-beta2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 10:23 UTC by killy
Modified: 2023-04-19 13:27 UTC (History)
2 users (show)

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


Attachments
Rotation glitch with Lock enabled (205.75 KB, image/png)
2021-11-10 20:49 UTC, Ahab Greybeard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description killy 2021-11-08 10:23:18 UTC
SUMMARY
When the drawing angle is locked, the drawing angle of the pen tip will still change for a period of time after the brush contacts the canvas, and then the final drawing angle will be maintained, which will lead to the confusion of strokes during rapid drawing

EXPECTED RESULT
After the pen tip touches the canvas, the drawing angle should not change

SOFTWARE/OS VERSIONS
Windows:  Windows11
Comment 1 Ahab Greybeard 2021-11-08 15:43:18 UTC
What do you mean by 'When the drawing angle is locked'?

Using brush rotation controlled by drawing angle (and a suitable/obvious brush tip) I find that if I use the Line tool or snap to an assistant then the drawing angle does not have any start of stroke glitches.

If I use the Freehand Brush tool then the start of the line does often show a start of stroke glitch on the drawing angle, which is not surprising.
Comment 2 killy 2021-11-09 00:42:23 UTC
Yes, I mean to use the drawing angle to control the rotation and check the lock

However, after the start of the line, the drawing angle may change many times, instead of taking the angle after the first change as the final drawing angle. I compared Photoshop, the drawing angle will only change once
Comment 3 killy 2021-11-09 00:50:09 UTC
I guess Photoshop may take the first nib stamp as the final drawing angle, and Kriat may be  a period of time after the beginning of drawing
Comment 4 Ahab Greybeard 2021-11-10 20:48:26 UTC
Ah, that 'Lock'.
I can confirm this for the 4.4.7, 4.4.8 and the Nov 10 5.1.0-prealpha (git 17a3a4c) appimages on Debian 10.

When Lock is enabled, there is often a glitch in the brush tip angle while a stroke is being made.

I attach Rotation Lock Bug.png as an example of this.
Comment 5 Ahab Greybeard 2021-11-10 20:49:07 UTC
Created attachment 143421 [details]
Rotation glitch with Lock enabled
Comment 6 killy 2021-11-11 00:51:24 UTC
Yes, my test results are the same
Comment 7 Dmitry Kazakov 2023-04-19 13:27:27 UTC
The bug has been fixed by this MR:
https://invent.kde.org/graphics/krita/-/merge_requests/1781