https://bugs.freedesktop.org/show_bug.cgi?id=38913

--- Comment #34 from brandon.ai...@gmail.com 2012-05-20 22:36:36 PDT ---
I just experienced this issue with LibreOffice 3.5.2 and 3.5.3. 
Uninstall/reinstall did not work, nor did repair install.  I corrected it by
uninstalling, deleting %appdata%\LibreOffice, and reinstalling.

It's not an installer bug.  LibreOffice needs to handle the case that
configuration files are invalid and fail safely.  It's an  unhandled exception.
 LibreOffice should be able to handle this type of issue.  It's ludicrous to
expect that the software installer should be responsible for migrating
configuration data.  LibreOffice itself needs to be able to recognize that the
configuration files are from previous versions or are otherwise corrupt or
invalid and must be able to rectify that.  The application should not crash
because the configuration files randomly got truncated.  It should repair the
files or reload defaults.  Crashing to desktop is never behavior you want to
design for.

Installers should not be modifying or deleting files not created by itself
without a warning, and as far as I can tell the installer doesn't create
anything in the %appdata%\LibreOffice folder.  Users should be able to
uninstall and reinstall an application and not lose configuration files.  This
is how the installer works.  Additionally, because users do not have access to
all other user's home folders (regardless of platform and regardless of user
permissions thanks to remote profiles or NFS shares) an installer cannot ever
reliably cover all possible user profiles which have run this program before.

Finally, since the software does not even require an installer at all (I can
download and compile it myself, for example) you can't even rely on the fact
that an installer was used to upgrade the software *period*.

No, the only logical course is for LibreOffice to validate its own
configuration files and, at the very least, fail gracefully when they are
invalid.

(In reply to comment #33)
> As it is now it is a big of the installer, a designer-bug! Whether LibreOffice
> actually really still needs that "javasettings_Windows_x86.xml" at all is
> another question. And if that file is not needed anymore, since LO recreates 
> it
> when missing it is still up to the installer to remove that file in an upgrade
> install!
> 
> And this is not about messing around with a users profile Sven, but setting up
> the needed environment for the program and configuring it properly. That also
> happens, and rightly so, in the users profile and registration, etc. And if an
> installer shouldn't do all of this, then I ask you, Sven, what an installer is
> good for instead ;)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to