[Libreoffice-bugs] [Bug 141960] Headless mode started in parallel to visual mode shows visual errormessage and blocks

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 29 07:21:08 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=141960

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbergman at redhat.com

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
I am not sure this could be considered a bug. When you start LibreOffice *in
any mode*, it uses *some* user profile. Unless you explicitly specify some
specific user profile, it uses what is defined by default (in its install
location's program/bootstrap.ini); and that is the same profile that is used by
default by interactive and headless mode.

When LibreOffice starts and uses a profile, it tries to detect if there is
already an instance that uses *that profile*. If there is, the new instance of
LibreOffice *does not* run itself, but passes its command line to the existing
instance, so that that one would process and return the result (no two
instances of LibreOffice should ever access a single user profile at the same
time).

This results in normal GUI instance trying to handle your files in your
described situation. The proper way to handle this is to explicitly use some
temporary (or simply different) profile for your headless commands - see
-env:VAR under command line parameters in Help [1].

Maybe Stephan may correct me if I am mistaken?

[1]
https://help.libreoffice.org/latest/en-US/text/shared/guide/start_parameters.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210429/969a3138/attachment.htm>


More information about the Libreoffice-bugs mailing list