Bug 497186 - Brush Engine does not leave a mark when you tap it without any horizontal or vertical movement on canvas
Summary: Brush Engine does not leave a mark when you tap it without any horizontal or ...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 5.2.7
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-08 04:12 UTC by Edict
Modified: 2025-04-10 08:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edict 2024-12-08 04:12:05 UTC
SUMMARY
Brush engine only starts drawing after you move the tip. It is a problem when marking dots and stripling, as it is very inconsistent when it activates.
I didn't have this problem to a noticeable degree when I was working with a 1 pixel size brush tip. Brush left marks almost always in that case.

STEPS TO REPRODUCE
1. Select brush b) Basic-1 default size
2. Tap the canvas with minimal horizontal and vertical movement on the canvas. 
 

OBSERVED RESULT
The taps that had no movement leave no marks on the canvas.

EXPECTED RESULT
Every tap leaves a mark behind, regardless of brush movement.

SOFTWARE/OS VERSIONS
Windows: 10 
Qt Version: 5.2.7
Comment 1 Scott Petrovic 2025-04-02 16:29:46 UTC
I am testing this on Windows and the "Basic-1 default size" brush seems to make a dab fine with no movement. Not sure if this has been fixed or not.

This quick dabbing only works for about 1/2 of the brush engines, so some of them you have to use your mouse more for them to lay down paint/color.
Comment 2 Edict 2025-04-02 19:41:51 UTC
I am using wacom 16 cintiq DTK-1660

The bug is present in 5.2.9 and the 5.3.0-prealpha git c65f656
Windows 11

Using "Basic-1 default size" brush with stylus.
It does not appear when I click with mouse without moving it.
It appears when I tap with my pen, it's easier to repeat when I have canvas zoomed in. Pushing down on the pen with full force does not leave a mark if I do not move the pen.
Comment 3 Edict 2025-04-02 19:50:24 UTC
Interesting behavior.
When I press the mouse button down it does not leave a mark. Because if I hold down the mouse and do not move it it behaves like the pen. The moment I start moving the mouse the marks appear.

That is the same behavior for pen. But on release of the button the mouse leaves a mark.
I believe the bug is from the code saying On release leave a mark, and pen does not have the on release code. Pen only acts based on pressing down.
So I suspect the fix might be to have mark be act on press instead of release.
Comment 4 Edict 2025-04-02 20:04:29 UTC
Additional info.
Bug of no marks being drawn also happens with mouse when:
> Press down button 
> Move the cursor less than 0.5 of a pixel
> Release button
Comment 5 Bug Janitor Service 2025-04-03 03:46:56 UTC
🐛🧹 Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.
Comment 6 Wolfgang Baer 2025-04-08 19:01:49 UTC
Works here as expected:
Krita 5.2.9
Windows 10
Tested with notebook trackpad (mouse equivalent) and huion inspiroy 580x pen tablet.
Pen tablet and Krita set to Windows Ink.

Dab appears correctly even without movement of pen or mouse.
Comment 7 Halla Rempt 2025-04-10 08:17:37 UTC
Then let's close for now.