Automatic Minimum Free Disk Space Detection

OpenOffice.org 2.0.2 and StarOffice 8 PP2

Document - ID	Specification Owner	Last Change	Status
	Frank Loehmann	07 December 2005	Final
Conforms to	
Applies to	OpenOffice.org 2.0.2 and StarOffice 8 PP2 (all modules)
Task ID(s)	124610
Category	Bug fix

Abstract

Several processes in OOo, especially the AutoRecovery function, having problems with low disc space, because of writing configuration data. Several customers fill up their hard disk with downloaded data to the max, so that there are only a few bytes left on their hard disk. When the OOo AutoRecovery makes a backup every 15 minutes from open , modified documents and the work environment, OOo 2.0 will crash when writing the configuration data to the hard disk.

i-Team Members (The specification owner is part of the i-Team)

	Name	E-mail Address
User Experience	Frank Loehmann (FL)	Frank.loehmann@sun.com
Development	Andreas Schlüns (AS)	andreas.schluens@sun.com
Quality Assurance	Thorsten Martens (TM)	Thorsten.martens@sun.com
Documentation	Uwe Fischer (UFI)	Uwe.fischer@sun.com

Approved for Implementation

	Approved by	Date
User Experience	Frank Loehmann	7 December 2005
Development	Andreas Schlüns	7 December 2005
Quality Assurance	Thorsten Martens	did not respond until 7 December 2005
Documentation	Uwe Fischer	6 December 2005
String Review	Frank Loehmann	

Document Change History

Rev. Level	Change	Initials	Date
1.0	Initial Draft	FL	01 December 2005
1.1	2 draft	FL	06 December 2005
1.2	final	FL	07. December 2005

Contents

Glossary	1

1	Motivation	1

2	Goals	1

3	Detailed Specification	1

Strings for Error Message Box No. 1	1

Glossary

Term	Description
AutoRecovery	Is a function to recover the users work environment and documents. Microsoft Office also uses this term.
Emergency Saving	Saving of files when the application has crashed (last action before application terminates)

Motivation

Low disk space could case problems when OOo AutoRecovery could not save configuration due to low disk space.

OOo 2.0.1 already catches the exception when the configuration files could not be written to disk, but after that, the configuration for AutoRecovery is out of sync. Due to this AutoRecovery would not be able to restore the latest version of those files after a crash of OOo, because the configuration does not know about these files.

Goals

Keep integrity of internal data needed for AutoRecovery, but do not block user action if not absolutely necessary.

Detailed Specification

The AutoRecovery process will be extended by the following:

New process description:

Start of AutoRecovery after n minutes.

save AutoRecovery data for documents

save configuration data

If exception occurs check free disk space on volume

if document could not be written and free disk space is smaller than 5 MB show error message box no. 1 (step #3).

else if config information could not be written and free disk space is smaller than 1 MB show error message box no. 1 (step #3) .

Else <is not covered with today's implementation.>

Show Error Box no.1

if “Retry” button in box is pressed start over with step #1

Note: The free disc space values are defined in the configuration, because enterprise customers may need to fine tune these values due to small quotas used.

Strings for Error Message Box No. 1

Item	English	German	Comments
Title	%PRODUCTNAME %PRODUCTVERSION	%PRODUCTNAME %PRODUCTVERSION	
Text	%PRODUCTNAME could not save important internal information due to insufficient free disk space at the following location:\n%PATH\n\n	%PRODUCTNAME konnte wichtige interne Informationen nicht speichern, da im folgenden Pfad nicht genügend freier Speicherplatz zur Verfügung steht:\n%PATH\n\n	
Text	You will not be able to continue working with %PRODUCTNAME without allocating more free disk space at that location.\n\n	Sie können Ihre Arbeit mit %PRODUCTNAME erst fortsetzen, wenn sie genügend freien Speicherplatz zur Verfügung gestellt haben.\n\n	
Text	Press the 'Retry' button after you have allocated more free disk space to retry saving the data.\n\n	Betätigen Sie die Schaltfläche 'Wiederholen', nachdem Sie mehr freien Speicher zur Verfügung gestellt haben, um das Speichern der Daten zu wiederholen.\n\n	
Button 1 (left)	Retry	Wiederholen

Automatic Minimum Free Disk Space Detection

Page 2

http://specs.openoffice.org/appwide/recovery/FreeDiskSpaceDetection.sxw

Frank Loehmann

2003-04-28T18:30:05