How to keep UNO applications connected after closing LibreOffice

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Tue Sep 20 06:30:38 UTC 2016


Am 19.09.2016 um 17:29 schrieb Stephan Bergmann:

On 09/19/2016 05:17 PM, Samuel Mehrbrodt wrote:


It turned out we need to implement both. The first option was fine when
only closing the window - but we also want to be able to close the
visible frames with "File->Exit" while keeping the process running.



Do we?  I think there is probably a difference in what we can imply as
user-expected behavior between closing the last window (via "Window -
Close Window" or whatever desktop-environment--specific trigger) and
terminating LO (via "File - Exit LibreOffice").

Well, with my patches, there will be a difference. Closing the window will leave the process running, and chosing File->Exit will kill the process.

What I did change in my second patch is the behavior of File->Exit when using the TerminationVetoException.
Before it prevented closing the windows and terminating the process - after my patch it only prevents termination.

Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160920/60399d3a/attachment.html>


More information about the LibreOffice mailing list