Revision c9b214e...

Go back to digest for 13th May 2012

Bug Fixes in Office

Boudewijn Rempt committed changes in [calligra] /:

Fix issues with recovering autosave files

1) X-KDE-NativeExtension can be empty, in that case take mime->mainExtension.

Otherwise our autosave files are called .autosave, and that's not something
the filter's mime detection can handle

2) don't overwrite autosave files when running multiple unnamed modified
documents

3) tag the autosave files with the pid and use dbus to check which processes
that have autosave files are still active; don't offer to recover those

4) show the autosave files in a nice dialog with the ora/odf thumbnail
as a preview, and offer to recover them all.

REVIEW:104892

File Changes

Added 2 files
  • /main
  •   libs/KoAutoSaveRecoveryDialog.cpp
  •   libs/KoAutoSaveRecoveryDialog.h
Modified 6 files
  •   krita/image/kis_group_layer.cc
  •   libs/main/CMakeLists.txt
  •   libs/main/KoApplication.cpp
  •   libs/main/KoDocument.cpp
  •   libs/main/KoDocument.h
  •   libs/main/KoMainWindow.cpp
8 files changed in total