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

            Bug ID: 367547
           Summary: [layer-color-label] Newer Krita can't read a color
                    label set by Krita 3.0
           Product: krita
           Version: 3.0.1 Alpha
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com

Created attachment 100679
  --> https://bugs.kde.org/attachment.cgi?id=100679&action=edit
[screenshot of the bug, annoted]

Hi,
It's a little bug I catch today: newer version of Krita were not restoring a
specific "color-label" of layer set in Krita 3.0 ( the dark grey color, if I
unzip the *.kra ; maindox.xml keep the layer color with this : colorlabel="9"
). A picture in attachment show the problem.

How to reproduce:
===============
- Open a document with layers in Krita 3.0
- Right click on a layer node in the stack, and in the contextual menu select
the last color proposed (dark grey)
- Save document.
- Reopen the document in 3.0.1alpha1 or 3.0.1alpha2 appimage.

Result:
======
The color label isn't restored. ( WIP *.kra comic page demo file:
https://share.kde.org/index.php/s/Gz5uEjGEmHf46Vw ). After investigation with
DmitryK on IRC ; he told me a color label was removed after a suggestion of
Gdquest. 

Expected:
========
I understand newer version of Krita can't read colorlabel="9" :  the color slot
"9" is not existing anymore in newer version.  The ex-light grey color ( color
8 ) got removed and ex-dark grey color ( color 9 ) now take the slot color 8. 
* proposal :
Maybe Krita can workaround this with a type of pseudo code :
``` if colorlabel=9 then colorlabel=8" ``` ### Probably a bit dirty :/  
or 
``` if colorlabel>8 then colorlabel=8``` ### maybe wiser to always fallback on
8 for any superior value...

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

Reply via email to