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

            Bug ID: 398788
           Summary: Layer Style projection plane Error on save
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: layer styles
          Assignee: krita-bugs-n...@kde.org
          Reporter: k...@tokiop.com
  Target Milestone: ---

Created attachment 115063
  --> https://bugs.kde.org/attachment.cgi?id=115063&action=edit
Simplified file triggering the error

Hi,

using Krita nightly-8ec26ec, saving an old file created with Krita 3.3 triggers
this error on save :

  Krita has encountered an internal error:
  SAFE ASSERT (krita): "rhs.m_d->layerStyleProjectionPlane" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/image/kis_layer.cc,
line 265
  Please report a bug to developers!

  Press Ignore to try to continue.
  Press Abort to see developers information (all unsaved data will be lost)

Could not re-create a problematic file with latest Krita. The attached file is
a simplified version of the original 3.3 file.

As the message suggest, it seems to be linked to layer styles :
- all the error seem triggered by group layers with no styles
- those which had a style but disabled don't seem to trigger
- creating a new group layer with no style don't trigger the error
- enabling layer style + a style, and then disabling, seem to "cure" a
problematic layer

So indeed it looks like these group layers have problematic data in their
style.

Not sure if retro-compatibility with 3.3 files is a goal, and it's easy to
"repair" a file, but maybe something worth a check anyway ?

Have a nice day !

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

Reply via email to