SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Create a file and save it 2. Paint around 20 layers 3. Save the file 4. Check if file saved contains all the painted layers Contains all layers? if yes draw more layers and try to save again OBSERVED RESULT The saved file has the timestamp of update correct but contains the layers as the previous save, so the new layers and paint are not being saved on the file, the workaround is saving the file as a new file every time EXPECTED RESULT new layers and paint should be saved in the same named file SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
* Does this happen to all files for you? * If not, could you attach the file in question? * Please also attach the contents of the log field of help->report bug.
Created attachment 144614 [details] logs this are the logs
(In reply to Halla Rempt from comment #1) > * Does this happen to all files for you? > * If not, could you attach the file in question? > * Please also attach the contents of the log field of help->report bug. This is the first drawing I've made and it happened after re opening the file when it already had around 22 layers and worked in it around 2 hrs adding like 10 more layers and saving constantly (I didn't checked the file inside the folder to verify if it was being saved correctly, now I do that everytime I save to make sure I don't lose my work) was confident that the program saved my file after doing ctrl+s and seeing the interface indicate the save was done and shutdown the program, the next day I reopened the file and found that all the 2hrs work was lost but the new colors added to my custom palette where there so it saved the colors but not the layers. I don't have the original file since I renamed it in order for it to save the new changes and until now the error has not appeared again but I still check everytime the file in the folder after I save, the renamed file is this one https://drive.google.com/file/d/1_rKIO3Ty4--Ov2iNV3fIqNaUQFUWEnoS/view?usp=sharing if it helps, I also attached the log.
also the file before was just arcaneXmas, I added the 2 to the end, that would be the only difference
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
(In reply to Bug Janitor Service from comment #5) > Thanks for your comment! > > Automatically switching the status of this bug to REPORTED so that the KDE > team > knows that the bug is ready to get confirmed. > > In the future you may also do this yourself when providing needed > information. got it, thanks!
* Krita already has an incremental backup and versioned save function: https://docs.krita.org/en/user_manual/autosave.html * I can open the linked file, add layers, save it, close it and reopen it and the new layers are present. I suspect you had the file open twice and saved it twice, first the one with the 110 layers: 14 Dec 2021 21:29:02 -0600: Saving Document E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra as E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra (mime: application/x-krita). 2700 * 2160 pixels, 110 layers. 101 frames, 24 framerate. Export configuration: No configuration And you overwrite it with the other open version of the file, without the extra layers: 14 Dec 2021 21:52:23 -0600: Saving Document E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra as E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra (mime: application/x-krita). 2700 * 2160 pixels, 82 layers. 101 frames, 24 framerate. Export configuration: No configuration
(In reply to Halla Rempt from comment #7) > * Krita already has an incremental backup and versioned save function: > https://docs.krita.org/en/user_manual/autosave.html > * I can open the linked file, add layers, save it, close it and reopen it > and the new layers are present. > > I suspect you had the file open twice and saved it twice, first the one with > the 110 layers: > > 14 Dec 2021 21:29:02 -0600: Saving Document > E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra as > E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra (mime: application/x-krita). > 2700 * 2160 pixels, 110 layers. 101 frames, 24 framerate. Export > configuration: No configuration > > And you overwrite it with the other open version of the file, without the > extra layers: > > 14 Dec 2021 21:52:23 -0600: Saving Document > E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra as > E:/Imágenes/Krita/ArcaneXmas/arcaneXmas.kra (mime: application/x-krita). > 2700 * 2160 pixels, 82 layers. 101 frames, 24 framerate. Export > configuration: No configuration Ok I see what happened, it's weird how it happened like that since I opened the file from krita's homepage in the recent documents section but yeah I see that could've been the case because of the difference of layers but I don't remember having to files opened at the time neither having 2 tabs in krita or something like that, I'll be careful to check what version is being opened and worked on