Ikke's Blog

Post details: OpenOffice rant

May 8
OpenOffice rant

As I wrote in my last entry, I did some presentation on Django yesterday.
I started creating this presentation some days ago, but still had to write most stuff yesterday. So in the afternoon, I took my laptop, sat back, and added new slides to the presentation.

I must confess, I'm not a frequent saver (will change now, read on). Anyway, when I had written +- 30 new slides, I pressed ctrl-s in OpenOffice Impress. Disaster strikes. All of a sudden, Impress crashes, and the OOo document recovery dialog pops up. Before recovering the document, I created a copy of the on-disk original file, then did the recovery. Result: same file as I had before the save, 30 slides lost.

The problem: my / partition (on which /tmp resides) was at 100% (only some bytes left). The reason: some beagled-helper got >150MB .tmp files left in there.
I almost went insane.

So:

  • OOo guys, *please* make your app not crash when a user attempts to save a file and /tmp is at 100%. Use some other scratch location, warn the user (and make a quick backup/recovery dump automagicly in case something goes wrong),... whatever, but do not crash on a save operation, that's completely irrational.
  • beagled-helper, please remove cruft earlier and don't flood my /tmp, thanks

//EOR

Ikke • DesktopPermalink 13 comments

Comments:

Comment from: Rob [Visitor]
Another point would be GNOME should have a notification that you are low on disk space.
PermalinkPermalink 05/08/07 @ 15:35
Comment from: Ikke [Member] · http://www.eikke.com
True, although still then, a user shouldn't face a crash when his /tmp is filled, as he wants to save his file somewhere else.
PermalinkPermalink 05/08/07 @ 15:52
Comment from: Philipp Sadleder [Visitor] Email · http://sadleder.de
Would be great if you could file an issue in the upstream bug tracker.
PermalinkPermalink 05/08/07 @ 16:13
Comment from: Philip Paeps [Visitor] Email · http://www.paeps.cx/
Yet another reason not to use OOo and similar nightmare applications. Not that I needed any more reasons, but I keep a collection to convince other victims to join the wonderful world of groff and LaTeX. ;-)

Re: "a user shouldn't face a crash when..." -> a user should _never_ face a crash. If an application crashes, it is broken and must be fixed.
PermalinkPermalink 05/08/07 @ 16:13
Comment from: Alex [Visitor] Email
Irrational? Its like you think the openoffice design documents specified that a full /tmp must lead to a crash. It is a bug, bugs are never "rational".
PermalinkPermalink 05/08/07 @ 16:21
Comment from: Ikke [Member] · http://www.eikke.com
Nah, irrational was a bad word... Couldn't find the one I was looking for though.
Something like: it's the last thing you can imagine which could happen, as losing all data is the complete opposite of a save operation.
PermalinkPermalink 05/08/07 @ 16:26
Comment from: Ronald S. Bultje [Visitor] Email · http://ronald.bitfreak.net/
Use MS Office. I think the disaster called OO.o is one of the primary reasons why the cheap, fast, flirtuously beautiful and functional Linux desktop isn't catching on in companies.

Maybe GNOME Office will catch up one day.
PermalinkPermalink 05/08/07 @ 18:39
Comment from: Paul Cobbaut [Visitor] Email
/ and /tmp at 100% ?
Sorry for stating the obvious, but try not to let it get that far.
PermalinkPermalink 05/08/07 @ 18:44
Comment from: Murray Cumming [Visitor] Email · http://www.murrayc.com
Ubuntu has a low-disk-space notification. I don't know what does it.
PermalinkPermalink 05/08/07 @ 18:53
Comment from: Simos [Visitor] Email · http://simos.info/blog/
If your hard disk is full, then it's a hard call for an application to save somewhere your document.

The graphical environment should indeed scream repeatedly when you have only 300-500MB space left on your disk.

Should OpenOffice check if the hard disk is almost full, then allocate something like 10MB of emergency space. If the inevitable happens, it dumps the current document in that 10MB space so that it can be restored.

Me thinks the screaming part is a better strategy.
PermalinkPermalink 05/08/07 @ 19:11
Comment from: Ikke [Member] · http://www.eikke.com
Ronald: not an option.
Paul: I only got the "normal" dirs on / (/lib, /bin, /sbin, /root), and /tmp. Normally I got +- 200M free in here. Sometimes though beagle fills this up completely. *This* is something which should not happen, you can't expect me to run df every 5 seconds. I got plenty of free space on /home, why isn't that used by OOo? MS Office also uses backup/scratch files in the same dir the actual file resides.
Murray: even if I'd be notified my / is full, OOo should not crash when trying to save something, it should tell me I need to free some space and then try again.
Simos: the place where I wanted to store the file, somewhere under /home, was not full at all. It's just a combination of OOo using /tmp (not on /home, obviously) to save temp files and crashing when this fails, and some other software leaving tons of temp files in there, over 100M.

So: getting notifications would be nice, software cleaning up their trash files would be even nicer, software not crashing when the disk is full would be superb.
Up to you to decide which bug should be fixed first.
PermalinkPermalink 05/08/07 @ 19:42
Comment from: Paul Cobbaut [Visitor] Email
Good point, OOo should indeed use $HOME instead of crashing.

paul

PS I get
"Supplied URL is invalid: URL not allowed"
on cobbaut dot blogspot dot com
PermalinkPermalink 05/08/07 @ 21:51
Comment from: Gianni [Visitor] Email
I experienced the crash only one time. That was long time ago using OO.o Word processor.

It's really hard when any application crash on saving. I share your pain :-)

PS: it won't happen again, I promise. You will be more carefull now (saving more often is an example)
PermalinkPermalink 05/09/07 @ 11:19

This post has 3 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

Who's Online?

  • Guest Users: 70

Misc

XML Feeds

What is RSS?