Bug 460137 - 1-px sharpness brushes don't support changes in spacing
Summary: 1-px sharpness brushes don't support changes in spacing
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 5.1.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-08 22:07 UTC by tomtomtomreportingin
Modified: 2023-01-12 13:57 UTC (History)
1 user (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 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