https://bugs.kde.org/show_bug.cgi?id=464257
Emile <jeannin.em...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeannin.em...@gmail.com --- Comment #1 from Emile <jeannin.em...@gmail.com> --- I searched a bit about that problem, and it seems that only one layerstyle created from the layerstyle dialog can be loaded. It worked fine when I tried copying the layer style and then updated it. Some other unclear tickets could also be linked, such as 452056, 451385, 457553, but I wasn't able to confirm it yet. Speaking about the real reason, it seems that when using the layerstyle dialog, the same uuid is used for all the layerstyles. I tried adding creating a new UUID after the copy of the old style and it seems to work. To put some code here, I changed KisLayerManager::layerStyle, to have > KisPSDLayerStyleSP newStyle = > oldStyle->clone().dynamicCast<KisPSDLayerStyle>(); > // We want to also change the UUID, else it might be considered the same > style after save and won't load correctly > newStyle->setUuid(QUuid::createUuid()); I'll try to fix that but it's my first time so I can't guarantee anything -- You are receiving this mail because: You are watching all bug changes.