Bug 460137

Summary: 1-px sharpness brushes don't support changes in spacing
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: griffinvalley
Priority: NOR    
Version: 5.1.1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tomtomtomreportingin 2022-10-08 22:07:06 UTC
SUMMARY
1-px sharpness brushes don't support changes in spacing.

This is likely because KisPainter::bitBlt (used when Sharpness is enabled + brush is 1px) doesn't seem to account for spacing.

STEPS TO REPRODUCE
1. Select u) Pixel Art brush.
2. Set spacing to max.
3. Paint a stroke.

OBSERVED RESULT
It's a continuous line.

EXPECTED RESULT
A dotted line.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.12.12 (appimage)
Comment 1 wolthera 2023-01-12 13:57:44 UTC
Yeah, we use a different line drawing algorithm there all together.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7