LibreOfficeKit and the UserInstallation

Stephan Bergmann sbergman at redhat.com
Wed Mar 30 08:30:46 UTC 2016


On 03/23/2016 03:30 PM, Stephan Bergmann wrote:
> The next line of defence happens to be that LOK apparently bootstraps
> enough of the LO code to make the OfficeIPCThread code come into play,
> cf.
> <https://cgit.freedesktop.org/libreoffice/core/commit/?id=5ffdcea247f64e36f56cfbfa3ba2bde0777945d6>
> "Use OfficeIPCThread::WaitForReady rather than sleeping" etc.

Turns out I wasn't quite right there.  Upon closer inspection, 
OfficeIPCThread's defence against multiple processes operating on the 
same UserInstallation had explicitly been disabled for LOK with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=8c100755ba5c2a097b3d12c60fde6d3b1f1f606c> 
"Don't use any IPC pipe when in console-only mode or in a LOKit-based 
program" et al.

That is, at least the use case of the lokdocview widget in 
gnome-documents has always been broken and needs a fix.


More information about the LibreOffice mailing list