Bug 419833

Summary: Color Smudge Brush treats the space outside of the canvas as transparency
Product: [Applications] krita Reporter: Yu-Hsuan Lai <raincolee>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, tamtamy.tymona
Priority: NOR    
Version: 4.2.9   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: result of smudging
Overlay Mode

Description Yu-Hsuan Lai 2020-04-08 09:20:09 UTC
Created attachment 127380 [details]
result of smudging

SUMMARY
With Overlay Mode on, Color Smudge Engine treats the space outside of the canvas as complete transparency, and smudge the transparency in. It's somewhat logical, but I highly doubt the result is intended, cause it effectively removes pixels from the layer. (see attachment)


STEPS TO REPRODUCE
1. Create a new file with Krita
2. Create a new layer
3. Fill the new layer with a solid color
4. Choose Blender_Knife_Edge 
5. In Brush Options, check "Overlay Mode"
6. Smudge around the edge of canvas

OBSERVED RESULT
See attachment.

EXPECTED RESULT
Nothing should change.

SOFTWARE/OS VERSIONS
macOS: 10.14.6
Krita: 4.9.2

ADDITIONAL INFORMATION
Comment 1 Ahab Greybeard 2020-04-08 10:46:21 UTC
I can confirm this for the 4.2.9 appimage.

For 5. In Brush Options, check "Overlay Mode", do you mean set the Blending Mode to Overlay?
If so, it shows this behaviour for any brush blending mode.

Setting to Confirmed.

How this should be dealt with or could be dealt with is another matter.
Comment 2 Yu-Hsuan Lai 2020-04-08 11:29:43 UTC
(In reply to Ahab Greybeard from comment #1)
> I can confirm this for the 4.2.9 appimage.
> 
> For 5. In Brush Options, check "Overlay Mode", do you mean set the Blending
> Mode to Overlay?
> If so, it shows this behaviour for any brush blending mode.
> 
> Setting to Confirmed.
> 
> How this should be dealt with or could be dealt with is another matter.


Uh, it's literally called "Overlay Mode" on the UI, and I don't think it's the same thing as Blending Mode (perhaps they're under the hood? I have no idea)
Comment 3 Yu-Hsuan Lai 2020-04-08 11:30:03 UTC
Created attachment 127386 [details]
Overlay Mode
Comment 4 Yu-Hsuan Lai 2020-04-08 11:35:10 UTC
Oh, you're right. Sorry for being misleading. The Overlay Mode doesn't matter. I'll change the title
Comment 5 Tiar 2021-03-17 01:16:36 UTC
While the outside is still treated as transparency, there is a new mode in Color Smudge engine that provides a second workaround.
1) Lock alpha on the layer you're on, OR
2) Color Smudge editor -> Smudge Length -> Smear Alpha (uncheck to get rid of this behaviour)

Does it fix your issue?
Note that in case of Smear Alpha off, the Eraser Mode doesn't work, unfortunately.
Comment 6 Bug Janitor Service 2021-04-01 04:33:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-04-16 04:33:28 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 8 Yu-Hsuan Lai 2021-09-01 01:01:51 UTC
On Krita 5.0 beta, color smudge brush no longer smudges the transparency in from the outside of canvas.