Bug 479537 - Duplicate files makes my krita crash
Summary: Duplicate files makes my krita crash
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Android ChromeOS
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 479533 (view as bug list)
Depends on: 479533
Blocks:
  Show dependency treegraph
 
Reported: 2024-01-08 12:04 UTC by artsikye
Modified: 2024-01-10 01:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
It duplicated so much to the point it didnt load it all and crashed (948.15 KB, video/mp4)
2024-01-08 12:14 UTC, artsikye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artsikye 2024-01-08 12:04:49 UTC
This is an updated version of my last report. Because now this had become a real problem for me and not just some minor inconvenience. There seems to be a weird bug where when I close down Krita and open the app again, it will duplicate everything I did. When I close it again, it will duplicate the same file again. And it doesn't always duplicate fully, it just duplicated to different stages of my drawing. And when the file has duplicated enough times, it won't allow me to open up my recent drawings. When I press open recent drawings, it will load up some duplicated files very slowly and crash. So all my drawings are gone now because when I try to get them Krita crashes.
Comment 1 artsikye 2024-01-08 12:14:21 UTC
Created attachment 164751 [details]
It duplicated so much to the point it didnt load it all and crashed
Comment 2 Tobias Fella 2024-01-08 14:51:45 UTC
*** Bug 479533 has been marked as a duplicate of this bug. ***
Comment 3 vanyossi 2024-01-10 01:04:21 UTC
This is not a bug in krita but a confusion between recover files dialog and recent files.

You need to read the documentation: everytime krita reopens from a session that force close it loads all autosaves to help you recover any work you were doing. Please read regarding that feature here: https://docs.krita.org/en/user_manual/autosave.html#autosave-for-unsaved-files

This is intentional and will keep happening as you are confusing the recovery autosaved files dialog (https://docs.krita.org/en/_images/autosave_unnamed_restore.png) from recent files area (https://docs.krita.org/en/reference_manual/welcome_screen.html)
The first one popups after krita is forced to close (crash or by force closing it) and the document was not saved since the last autosave.

From what I can tell you are not saving your files at all but using the recovery file system as your recent files. Please recover only the last version of those 2 files and discard the older autosaves. Then use the file menu to save your files, avoid force closing krita (maybe force closing is how it works on chromeOS??).

We might need to rethink how autosave works on untitled files on phone/tablet OS as the normal behavior on phone/tablet apps is to always keep the document saved.