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

--- Comment #2 from Hossein <[email protected]> ---
(In reply to Heiko Tietze from comment #1)
> None of the pop-ups are shown if you start with the --headless parameter (or
> in case of UI tests). I don't see a good reason to hide the popups in too
> many other cases.
> 
> Code pointer:
> sfx2/source/view/viewfrm.cxx IsHeadlessOrUITest()
But the whole point of bootstrap mechanism in LibreOffice API is to start
LibreOffice in non-headless mode mode and use it in an automated way, with
predictable behavior from LibreOffice.

In these cases, popups prevent using LibreOffice in a meaningful automated way,
as you can not know what to expect. You may run the examples in first chapter
of DevGuide, and see:

https://wiki.documentfoundation.org/Documentation/DevGuide/First_Steps
https://opengrok.libreoffice.org/xref/core/odk/examples/DevelopersGuide/FirstSteps/

For example, HelloTextTableShape.py:
https://opengrok.libreoffice.org/xref/core/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape/python/HelloTextTableShape.py

You may run it with internal Python:

$ instdir/program/python
odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape/python/HelloTextTableShape.py

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to