Bug 434505 - Brush outline preview is translated away from real brush mark
Summary: Brush outline preview is translated away from real brush mark
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: 5.2.9
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 18:17 UTC by SirPigeonz
Modified: 2025-05-01 12:00 UTC (History)
2 users (show)

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


Attachments
preview and test brush (41.65 KB, application/x-zip-compressed)
2021-03-16 18:17 UTC, SirPigeonz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SirPigeonz 2021-03-16 18:17:21 UTC
Created attachment 136746 [details]
preview and test brush

SUMMARY
I've created a brush dab that has the top part completely white so the black (painting part) will start in the center.
Unfortunately Krita brush outline preview chopped that white part creating preview that doesn't align with brush mark created.

Screenshots and test brush attached.


STEPS TO REPRODUCE
1. Load Brush that has a lot of white area (test brush in attachements)
2. Turn on brush outline preview
3. Create a mark

OBSERVED RESULT
Mark of the brush and outline are not aligned.

EXPECTED RESULT
Outline shows where mark will be created.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2021-03-23 11:46:27 UTC
If the brush is set to mask, not color, the outline is defined by the transparent part of the brush, so this is to be expected
Comment 2 SirPigeonz 2021-03-23 15:03:59 UTC
But this makes no sense.
Is my explanation clear maybe we have misunderstanding here?

And I tried making brush using Alpha not color the same problem is present.

Test with alpha brush:
https://pasteboard.co/JTXuTkS.png
Comment 3 Tiar 2021-08-19 19:17:08 UTC
In my opinion, this is a valid bug, yes. Just because the brush tip image has transparency somewhere, it doesn't mean it should make the brush outline be misplaced in regards to the actual place where the brush is painting.
I've seen it happen, too. I'm not sure, but I think there might've been some changes or fixes so it might be a good idea to check it again in Krita 5.0-beta1.
Comment 4 Vitamorus 2025-05-01 12:00:59 UTC
Re-confirmed for 5.2.9