[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 08:59:30 UTC 2021


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

--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Mike Kaganski from comment #3)
> and maybe even the handling of the headless option when
> passing to a non-headless instance (e.g., we could block such a scenario,
> and return "Error: trying to execute headless operations in a non-headless
> instance; aborting" to the stderr where headless operation was attempted)...

or maybe detecting such an attempt, copy the profile to a temporary profile,
use it for this headless instance, and remove it. But that could be dangerous -
to copy a profile that is being in use; and also potentially much longer than
creation of a new profile (an existing profile may have installed extensions,
etc.). OTOH if a user runs a command with default profile, it would be
unexpected to perform the command with a clear profile without user
modifications that could affect the result (say, PDF export options).

So I suppose that interrupting the operation could be something to consider
(how much breakage would it be for users?), but not "copy profile" approach.

-- 
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/112dc2ac/attachment.htm>


More information about the Libreoffice-bugs mailing list