Summary: | Exporting as PNG with multiple Layers (One FX). | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Dennis Fehr <cyraid> |
Component: | File formats | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, scottpetrovic |
Priority: | NOR | Keywords: | regression, release_blocker |
Version: | 4.1.7 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/f984eab0aa72495867b67c51a68531093d086729 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Test file for reproducing the problem |
Description
Dennis Fehr
2019-03-02 00:41:21 UTC
This might be Windows specific bug. I am on Ubuntu and PNGs look ok with vector layers with FX (drop shadow). I just tested this on a nightly build on Windows 10. PNGs seems to look ok to me with FX applied to vector layers. I am currently on a fresh nightly build. Could you test it out with one of these and see if it is still an issue? https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/ changing to needs info Hmm.. It may be that you need to add many layers, and many FX per layer.. Basically you want to make it so that it takes about 10 seconds to render or so. Add vector nodes, gradients, bevels, shadows, etc. Try it like that.. Because it only seems to do it when it takes a long while to render. Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Probably the same root cause as https://bugs.kde.org/show_bug.cgi?id=404742 -- but I'm not yet marking these as duplicates. Created attachment 119554 [details]
Test file for reproducing the problem
Git commit f984eab0aa72495867b67c51a68531093d086729 by Dmitry Kazakov. Committed on 22/04/2019 at 19:41. Pushed by dkazakov into branch 'master'. Fix artifacts when saving vector layers into PNG files This patch has two parts: 1) KisShapeLayer should block the updates of the shape-canvas. When shapes are added to the layer, they initiate shape manager updates. That is not what we want, because all the rendered pixel data has already been copied in initShapeLayer() call. 2) Add a sanity check in KisDocument::initiateSavingInBackground(). Theoretically, there should be no pending updates after cloning operation. But if they still appear somehow (which is a bug), just force them wait until they complete their execution. Related: bug 404742 M +7 -0 libs/image/KisDelayedUpdateNodeInterface.h M +11 -0 libs/image/kis_layer_utils.cpp M +1 -0 libs/image/kis_layer_utils.h M +6 -1 libs/image/kis_transform_mask.cpp M +1 -0 libs/image/kis_transform_mask.h M +17 -0 libs/ui/KisDocument.cpp M +5 -0 libs/ui/flake/KisReferenceImagesLayer.cpp M +9 -0 libs/ui/flake/kis_shape_layer.cc M +5 -0 libs/ui/flake/kis_shape_layer.h M +25 -3 libs/ui/flake/kis_shape_layer_canvas.cpp M +8 -0 libs/ui/flake/kis_shape_layer_canvas.h https://invent.kde.org/kde/krita/commit/f984eab0aa72495867b67c51a68531093d086729 |