Bug 376544 - Filter masks are not considered while exporting
Summary: Filter masks are not considered while exporting
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 3.1.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 11:21 UTC by pessio_94
Modified: 2017-03-27 14:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pessio_94 2017-02-16 11:21:09 UTC
When exporting a document with a filter mask on it the result is with no filter at all. 
It occurs only on 3.1.2, I've also tried with different file formats and the result is the same.
Comment 1 wolthera 2017-02-17 16:50:42 UTC
Could you check if this happens with the nightlies as well? We changed the saving system quite a bit... https://ci.appveyor.com/project/alvinhochun/krita-packaging/build/artifacts
Comment 2 pessio_94 2017-02-17 18:06:21 UTC
Hi, it has the same problem, but I noticed that for both 3.1.2 and the nightly you can resolve it by adding an empty level on the document..
Comment 3 Halla Rempt 2017-02-27 19:16:18 UTC
Hm, this works for me with 3.1 from git, the 3.1.2 appimage and git master and .kra -- other file formats don't support filter masks. 

I tried to reproduce like this: create a new image, draw a circle on the top layer, create a rectangular selection, add a gaussian blur filter mask, save as .kra, close and reload.

Is there anything different in the way you are trying this?
Comment 4 Halla Rempt 2017-02-27 19:17:59 UTC
Note: also when I export as png, the rendered result includes the filter mask effect.
Comment 5 pessio_94 2017-02-28 09:33:08 UTC
Sorry, I think I wasn't too clear in the first post; there are no problems in saving and reloading the .kra document, but only while exporting the image, I've tried almost every file format.

The bug appears if the layer with the filter mask is the only one in the document; if there are more, even empty ones, everything works fine.
Comment 6 Halla Rempt 2017-02-28 10:35:10 UTC
Ah, right, that clarifies the situation, and I guess I know what's up too. Thanks!
Comment 7 Halla Rempt 2017-03-27 14:17:19 UTC
Okay, I fixed this by reverting the change that copied the image before exporting.