Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On Mon, Dec 08, 2014 at 12:00:07PM +0100, Michael Stahl <mstahl@redhat.com> wrote:
not really.... but presumably OOO_DISABLE_RECOVERY should just disable
the recovery dialog?  what i don't understand is, why does LO open a new
writer document if you don't restore the session.

Sure, but with your commit, you also do a doRestore() call, which
restores the document. If there is nothing to restore, this may prevent
the empty writer document, but if there is something to restore, this
will restore the document, and that's quite annoying.

Second scenario: let's say you opened foo.odt, killed soffice.bin, and
now you would open bar.odt. After your change, *both* documents will be
opened, which is again surprising, as only one document was specified in
the commandline.

If we have to choose between an empty Writer document in case there is
nothing to restore and unwanted document imports, I would choose the
previous. ;-) I would say if the empty Writer document is annoying for
you, then please fix it without calling doRestore() when
OOO_DISABLE_RECOVERY is set.

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.