https://bugs.kde.org/show_bug.cgi?id=404200

            Bug ID: 404200
           Summary: Error flattening image when the active layer is in a
                    group [4.2.0-pre-alpha (git d556b73)]
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: re...@redj.be
  Target Milestone: ---

Created attachment 117981
  --> https://bugs.kde.org/attachment.cgi?id=117981&action=edit
Kra file showing the issue when flattening

SUMMARY
When flattening a file (to prepare a drawing for print, for example), there's
an issue if the active layer is inside a group of layers.

STEPS TO REPRODUCE
1. Create a file with multiple layers.
2. Put at least one of its layers inside a group.
3. With this grouped layer selected, press "layers->flatten image" to flatten
the whole image.

OBSERVED RESULT
In the document window, it's like a part of the image is missing (the size of
the missing or erased part depends on the image resolution - the bigger the
image the more will remain visible), and the layer docker shows no layer at
all.
If you save this file, it will load as an empty file no matter how much of it
was still visible before the save (it will show no layer and it won't let you
create one).


SOFTWARE/OS VERSIONS
Windows 10
Krita version: 4.2.0-pre-alpha (git 75dfb78)
Qt:
Version (compiled): 5.9.3
Version (loaded): 5.9.3

I'm attaching the file I created to test this. Just make sure select "Layer 2"
before flattening to see the result (if any other layer is selected, or the
group itself, it will work as expected).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to