Bug 457784

Summary: Filter layers generate incorrect preview when bounds change.
Product: [Applications] krita Reporter: Ralek Kolemios <info>
Component: Filter LayersAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example corruption

Description Ralek Kolemios 2022-08-12 02:03:25 UTC
Created attachment 151268 [details]
Example corruption

Occurs on both Linux and Windows builds, on master and on 5.0.6.
I have tried reverting 81f9b1aac8 with no luck.

When transforming or cropping filter  layers, the final preview is incorrect. The canvas shows large holes in the filter layer. See attached.
These corruptions are cosmetic, and fix themselves if the affected filter layer is hidden and re-shown.

To reproduce :
1. Create a new document
2. Create a new layer other than background and fill with a darker color
3. Create a filter layer above the dark layer. As far as I have tested, it doesn't matter which.
4. Transform the adjustment layer.

I've found it seems to show up more the longer the transform process takes. Sometimes it doesn't show up unless you undo the transformation.
Comment 1 Dmitry Kazakov 2022-08-12 14:26:00 UTC
Git commit 716923cad309ae93ec41d58b6ab44ec46b434589 by Dmitry Kazakov.
Committed on 12/08/2022 at 14:25.
Pushed by dkazakov into branch 'master'.

Fix update artifacts when trying to transform an adjustment layer

M  +6    -1    libs/image/kis_full_refresh_walker.h

https://invent.kde.org/graphics/krita/commit/716923cad309ae93ec41d58b6ab44ec46b434589
Comment 2 Dmitry Kazakov 2022-08-12 14:26:10 UTC
Git commit 820155446e947977d2f0ac6cf7b394f56d0fdd87 by Dmitry Kazakov.
Committed on 12/08/2022 at 14:26.
Pushed by dkazakov into branch 'krita/5.1'.

Fix update artifacts when trying to transform an adjustment layer

M  +6    -1    libs/image/kis_full_refresh_walker.h

https://invent.kde.org/graphics/krita/commit/820155446e947977d2f0ac6cf7b394f56d0fdd87