Bug 260484 - Only document styles are saved when no space left on /tmp
Summary: Only document styles are saved when no space left on /tmp
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR critical
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 13:33 UTC by Johannes Simon
Modified: 2011-02-18 17:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Faure 2010-12-17 19:41:15 UTC


---- Reported by johannes.simon@gmail.com 2008-10-05 13:33:48 ----

Version:           1.6.3 (using KDE 4.1.2)
OS:                Linux
Installed from:    Compiled From Sources

One time I forgot that I had only very few space left on my disk, but I updated KDE nevertheless. When the update was done, there was no more disk space left. I noticed that and removed a couple of large files, and thought everything's fine now. But, for some reason, there was still no space left on /tmp. (It must be a linux issue, but that is not really important right now)

Not being aware of that, I edited a rather important file in KSpread, and saved it. It didn't complain about anything, but the next time I opened the document, the contents were missing. More specifically, only the styles were saved, so KSpread couldn't even open the document. I am very sure this has to do with no more space being available on /tmp during the saving process.

I think there should be a generic solution in KOffice to tell the user that space needs to be freed in whatever folder KOffice is trying to write data to. Something like "Could not write data to temporary file directory (/tmp). Please free at least x KBs and try again." would already be very helpful.

Though this happened in KOffice 1.6, I'm pretty sure this is a thing that should go into 2.0.



---- Additional Comments From jtamate@gmail.com 2009-12-05 23:35:11 ----

A solution like http://websvn.kde.org/?revision=1023830&view=revision could be applied if it is not already fixed.



--- Bug imported by faure@kde.org 2010-12-17 19:42  ---

This bug was previously known as bug 172195.

Comment 1 Sebastian Sauer 2011-02-18 17:42:59 UTC
Fixed in Calligra Words and Tables. Stage was already fine.