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

lemp...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lemp...@gmail.com

--- Comment #2 from lemp...@gmail.com ---
I'm having similar problem in the latest Krita 4.4.7

Details:

I’m on Win 10, latest krita (portable) 4.4.7 release.

Issue:
Fill Layer with custom pattern loaded from a file doesn’t stay after saving
krita file and restarting krita and opening the file again.
(I did not move krita, the pattern file or the kra file anywhere, this happens
every time)

How to reproduce:

1.    Add Fill Layer
2.    Pattern
3.    Import Reference
4.    Load your pattern
5.    Select your pattern
6.    Ok
7.    Save file
8.    Restart Krita
9.    Fll Layer should still be in Layers but the pattern isn’t visible (the
fill layer is EMPTY)


.filterconfig for the fill layer after the steps above (!!!)
(I replaced the username with USERNAME)
<!DOCTYPE params>
<params version="1">
 <param name="pattern"
type="string"><![CDATA[C:/Users/USERNAME/AppData/Roaming/krita/patterns/DA_S_Oil_Primed
DMF cotton mid2.pat]]></param>
 <param name="transform_keep_scale_aspect"
type="string"><![CDATA[true]]></param>
 <param name="transform_offset_x" type="string"><![CDATA[0]]></param>
 <param name="transform_offset_y" type="string"><![CDATA[0]]></param>
 <param name="transform_rotation_x" type="string"><![CDATA[0]]></param>
 <param name="transform_rotation_y" type="string"><![CDATA[0]]></param>
 <param name="transform_rotation_z" type="string"><![CDATA[0]]></param>
 <param name="transform_scale_x" type="string"><![CDATA[1]]></param>
 <param name="transform_scale_y" type="string"><![CDATA[1]]></param>
 <param name="transform_shear_x" type="string"><![CDATA[0]]></param>
 <param name="transform_shear_y" type="string"><![CDATA[0]]></param>
</params>

Just to be clear I’m loading the pattern png image from (directory not related
to krita in any way, Documents is my custom documents folder not the windows
built in one):
D:/Documents/Resources/PaperRefs/DA_S_Oil_Primed DMF cotton mid.png

If you don't restart Krita just close the document and open it again the
pattern stays.

If you restart krita, open the document, select properties on the empty fill
layer from pravious session (firstly go through the reproduction steps above)
you can find the pattern in the patterns, if you select it here now, save file
then you can restart krita and the pattern will stay, below is the
.filterconfig after this adjustment (!!!)

<!DOCTYPE params>
<params version="1">
 <param type="string" name="pattern"><![CDATA[DA_S_Oil_Primed DMF cotton
mid2.pat]]></param>
 <param type="string"
name="transform_keep_scale_aspect"><![CDATA[true]]></param>
 <param type="string" name="transform_offset_x"><![CDATA[0]]></param>
 <param type="string" name="transform_offset_y"><![CDATA[0]]></param>
 <param type="string" name="transform_rotation_x"><![CDATA[0]]></param>
 <param type="string" name="transform_rotation_y"><![CDATA[0]]></param>
 <param type="string" name="transform_rotation_z"><![CDATA[0]]></param>
 <param type="string" name="transform_scale_x"><![CDATA[1]]></param>
 <param type="string" name="transform_scale_y"><![CDATA[1]]></param>
 <param type="string" name="transform_shear_x"><![CDATA[0]]></param>
 <param type="string" name="transform_shear_y"><![CDATA[0]]></param>
</params>

As you can see it's different then after the reproduction steps so I assume
there's something wrong with paths after loading a new pattern and after
reusing it after the restart BUT according to AhabGreybeard who confirmed this
entire issue
(https://krita-artists.org/t/bug-4-4-7-fill-layer-doesnt-store-a-custom-loaded-pattern-with-file-save/27572/12)
the above problem (the repro steps) happen even with already built-in patterns
so I don't know exactly where the problem comes from since it seems to be
broader than just patterns that are newly loaded into krita.

I don't know if I should open a new bug report or if this is supposed to get
reopened so please if someone could let me know or make the decision ;).

Thank you.

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

Reply via email to