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

--- Comment #5 from Mike Kaganski <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to