Bug 467829 - The line tool doesn't work propperly with pressure sensitive brushes
Summary: The line tool doesn't work propperly with pressure sensitive brushes
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2023-03-26 21:34 UTC by javiervigo.sds
Modified: 2023-09-02 17:47 UTC (History)
4 users (show)

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


Attachments
image from imgur (162.18 KB, image/png)
2023-03-30 14:05 UTC, Halla Rempt
Details
image from imgur (124.49 KB, image/png)
2023-03-30 14:05 UTC, Halla Rempt
Details
attachment-654591-0.html (1.65 KB, text/html)
2023-06-15 09:51 UTC, marcelo.lopezjr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javiervigo.sds 2023-03-26 21:34:16 UTC
SUMMARY
Tested on Krita v.5.2.0-prealpha (git 8550960)

When using the line tool with a brush that has pressure sensitivity the line doesn't start where it should. When drawing the line vertically downwards the line is drawn over the entire path, but drawing upwards the line skips the beginning of the path.

STEPS TO REPRODUCE
1. Create a new file
2. Select a brush with pressure sensitivity (I used Pencil 1 Sketch)
3. Select the line tool
4. Draw a vertical lines vertically upwards at different pressures

OBSERVED RESULT
The line skips the start of the line path

EXPECTED RESULT
The line covers the entire line path from start to end

SOFTWARE/OS VERSIONS
Windows: 10 Pro v.10.0.19044
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Here's a link to a couple images that hopefuly explains the bug
https://imgur.com/a/J1GPVxd
Comment 1 Halla Rempt 2023-03-30 14:05:12 UTC
Created attachment 157724 [details]
image from imgur
Comment 2 Halla Rempt 2023-03-30 14:05:24 UTC
Created attachment 157725 [details]
image from imgur
Comment 3 marcelo.lopezjr 2023-06-12 01:42:09 UTC
I find the same with the Freehand tool.
Comment 4 Halla Rempt 2023-06-12 14:03:39 UTC
If the freehand tool doesn't react to pressure then your system is messed up. It's definitely and absolutely not a bug in Krita. It's also completely irrelevant to this bug report.
Comment 5 javiervigo.sds 2023-06-13 12:52:19 UTC
I can confirm as of v.5.2.0-prealpha (git 219e7b9) this bug is still present only in the line tool. Both the freehand brush and freehand path tools work fine.

To add a little more information, it seems this behaviour is tied to the canvas rotation. I rotated the canvas left, right and upside down, In all cases the line tool seems to not draw the start of the line from the bottom of the canvas (not the screen).
Comment 6 Halla Rempt 2023-06-15 08:06:33 UTC
The bug hasn't been closed, so, yes, it's still present.
Comment 7 marcelo.lopezjr 2023-06-15 09:51:34 UTC
Created attachment 159680 [details]
attachment-654591-0.html

Halla,

I disagree.

If Microsoft Whiteboard is able to respond to pressure sensitivity, then
there is no reason that Krita shouldn't be able to.
I will go back yet again, and use it....although as was NOTED, it wasn't
JUST the system itself, but the hardware involved as well.

The *BAMBOO INK *pen was being used, and it's part of the bug I reported.

I wasn't using the Surface Pen (I now have one, and will test with that pen
as well)...

Marcelo

On Mon, Jun 12, 2023 at 10:03 AM Halla Rempt <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=467829
>
> --- Comment #4 from Halla Rempt <halla@valdyas.org> ---
> If the freehand tool doesn't react to pressure then your system is messed
> up.
> It's definitely and absolutely not a bug in Krita. It's also completely
> irrelevant to this bug report.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 8 Halla Rempt 2023-06-21 07:06:45 UTC
Marcelo, your note has nothing to do with the original bug report, so it's irrelevant here. The bug is about the line tool, and confirmed. Your issue with the freehand tool is a local misconfiguration and not a bug in Krita, no matter how other applications act.
Comment 9 Dmitry Kazakov 2023-08-30 11:52:13 UTC
Hi, Javiervigo!

Could you please check the latest stable-nightly build of Krita here?

https://binary-factory.kde.org/job/Krita_Stable_Windows_Build/

I think I have fixed the bug in https://invent.kde.org/graphics/krita/-/commit/1af06cbd8e48602b80c8da564a8db9d213000ac3 as part of the fix for bug 473459.
Comment 10 javiervigo.sds 2023-08-31 13:14:15 UTC
Hi Dimitry!

It seems to work fine now, the line is drawn over the entire path.

Thank you so much!
Comment 11 Bug Janitor Service 2023-09-01 03:45:37 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 12 vanyossi 2023-09-02 17:47:26 UTC
Closing this bug as the reporter confirms it is fixed.