Bug 482885 - Exporting compositions results in corrupted images when using clone layers with filters
Summary: Exporting compositions results in corrupted images when using clone layers wi...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: 5.2.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 15:11 UTC by beholdervee
Modified: 2024-03-08 15:11 UTC (History)
0 users

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


Attachments
Corruption example (93.73 KB, image/png)
2024-03-08 15:11 UTC, beholdervee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description beholdervee 2024-03-08 15:11:09 UTC
Created attachment 166720 [details]
Corruption example

SUMMARY
I tried using the clone layer to create a drop shadow that changes automatically when its source is changed. This is especially useful in combination with compositions, allowing you to create many variations of an image, without having to worry about making separate shadows for each variation.
The result, however, is when I export the compositions, they come out corrupted.
The attached image is supposed to be a circle with a drop shadow. The result contains a huge artifact.
The bug doesn't seem to appear when there is only one composition or when there isn't a filter mask.


STEPS TO REPRODUCE
1. Create a group layer
2. Put a layer in it and draw something
3.  Create a clone layer of the group, add the "slope, offset, power" filter mask to it
4. Save the current composition
5. Create another layer in the group layer and draw something in it
6. Save the current composition (so you have two)
7. Export the compositions

OBSERVED RESULT
Exported images are distorted with huge background-colour squares. There can be one or multiple, they appear in random spots on the image.

EXPECTED RESULT
Proper exports.

SOFTWARE/OS VERSIONS
Krita version: 5.2.2
Kernel Type: linux
Kernel Version: 6.7.8-zen1-1-zen
Pretty Productname: EndeavourOS
QT Version (compiled): 5.15.12
Appimage build: No