Bug 434505

Summary: Brush outline preview is translated away from real brush mark
Product: [Applications] krita Reporter: SirPigeonz <GBirdboy>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: halla, tamtamy.tymona
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: preview and test brush

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