Stroke Recognizer makes straight lines different than expected #5637
Labels
bug
confirmed
Bug has been reproduced by at least one other person
good first issue
papercut
User can get around easily... but can be annoying.
priority::low
Operating System
Linux
(Linux only) Distribution
Fedora
(Linux only) Desktop Environment
i3
(Linux Only) Display Server
X.Org
Installation Method
dnf package manager
Xournal++ Version
1.2.3
libgtk Version
3.24.41
Bug Description
When using the stroke recognizer to draw straight diagonal lines, the line will sometimes get shortened if you go back towards the direction of the starting point (or even in the opposite direction if you go over the starting point).
Expected Behaviour
I would expect the line to be straight along where it is drawn (go from min to max).
Steps to Reproduce
Additional Context
It also does not happen when the line is parallel to either the x or y axes.
Drawing a line in the following way (before releasing the drawing tool):
Leads to this image:
This is an example of it not happening parallel to the x axis.
The text was updated successfully, but these errors were encountered: