Bug 418651 - Strange black lines in Inner Shadow
Summary: Strange black lines in Inner Shadow
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: layer styles (show other bugs)
Version: 4.2.8
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 04:19 UTC by Kirill Kustov
Modified: 2020-03-18 11:00 UTC (History)
4 users (show)

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


Attachments
Strange black lines (101.71 KB, image/png)
2020-03-09 04:19 UTC, Kirill Kustov
Details
Example A of Inner Shadow artifacts (570.41 KB, application/x-krita)
2020-03-09 16:29 UTC, Ahab Greybeard
Details
Example B of inner Shadow artifacts (573.29 KB, application/x-krita)
2020-03-09 16:33 UTC, Ahab Greybeard
Details
Example of 512 x 512 Inner Shadow artifacts (12.42 KB, image/png)
2020-03-09 16:42 UTC, Ahab Greybeard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Kustov 2020-03-09 04:19:37 UTC
Created attachment 126685 [details]
Strange black lines

SUMMARY
On canvas appear strange black lines when I play with options of Inner Shadow in Layer Styles. Attached screenshot.

STEPS TO REPRODUCE
1. Create a document. Resolution - 1600x1200x100. (perhaps resolution make affect, maybe not).
2. Draw Circle on Layer #1.
3. Welcome to Layer Styles of Layer #1.
4. Turn on Inner Shadow and play with options (Angle, Distance, Choke, Size).
5. Wait for the rerendering preview.

OBSERVED RESULT
Strange black lines.

EXPECTED RESULT
They should not be there.

SOFTWARE/OS VERSIONS
Windows: Windows 10

ADDITIONAL INFORMATION
Perhaps, if you don't see strange black lines you need to retry action 4. Sometimes they not appear first times.
Comment 1 Ahab Greybeard 2020-03-09 16:29:38 UTC
Created attachment 126702 [details]
Example A of Inner Shadow artifacts
Comment 2 Ahab Greybeard 2020-03-09 16:33:08 UTC
Created attachment 126703 [details]
Example B of inner Shadow artifacts
Comment 3 Ahab Greybeard 2020-03-09 16:42:19 UTC
Created attachment 126704 [details]
Example of 512 x 512 Inner Shadow artifacts

I can confirm this for the 4.2.8 and 4.2.9 beta appimages but it does not happen with a recent (Mar 02) 4.3.0 prealpha appimage.
I attach two example .kra files that show this and a screenshot that has a particular artifact pattern.

Can you download and use the 4.3.0 prealpha Windows portable .zip package from here: https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/
and see if you still have the problem? (It is not recommended that you use this nightly prealpha build for normal daily use.)

The artifacts can only be removed by turning off the paint layer and the background layer, then they return if the paint layer with Fx active is turned back on. They can be different each time you do this and each time you Save and Close and then re-Open the .kra file.
Comment 4 Kirill Kustov 2020-03-10 00:07:59 UTC
I downloaded the portable version (krita-nightly-x64-v4.3.0-prealpha-1296-gb1637fee3a.zip). It does not contain a bug. Thanks a lot.
I will wait for the next release.
Comment 5 Tiar 2020-03-10 00:16:22 UTC
Setting to fixed, then.
Comment 6 Kirill Kustov 2020-03-10 00:36:09 UTC
In 4.3 was fixed, but not in 4.2.9.

Will in 4.2.9 bug be fixed?
Comment 7 Halla Rempt 2020-03-17 10:24:47 UTC
Please do not reopen bugs that are marked fixed. We consider a bug fixed when it's fixed in master. We're currently in beta for 4.2.9 and will only add fixes for clear regressions.
Comment 8 Dmitry Kazakov 2020-03-18 11:00:46 UTC
I've checked. The fix for the bug was a part of big refactoring for Layer Styles, which changes their behavior. So we cannot backport it to 4.2.