Re: LibreOfficeKit and the UserInstallation

2016-04-19 Thread Pranav Kant
Hi, On Tue, Apr 19, 2016 at 1:48 PM, Miklos Vajna wrote: > Hi, > > On Wed, Mar 30, 2016 at 10:30:46AM +0200, Stephan Bergmann < > sberg...@redhat.com> wrote: > > That is, at least the use case of the lokdocview widget in > gnome-documents > > has always been broken and

Re: LibreOfficeKit and the UserInstallation

2016-04-19 Thread Miklos Vajna
Hi, On Wed, Mar 30, 2016 at 10:30:46AM +0200, Stephan Bergmann wrote: > That is, at least the use case of the lokdocview widget in gnome-documents > has always been broken and needs a fix. I've fixed the widget part of that now in df784ec1bf3d1745a291056df28bec799d4fdee3.

Re: LibreOfficeKit and the UserInstallation

2016-03-30 Thread Stephan Bergmann
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.

Re: LibreOfficeKit and the UserInstallation

2016-03-29 Thread Stephan Bergmann
On 03/23/2016 04:40 PM, Miklos Vajna wrote: Wrt. killing the OfficeIPCThread stuff, as long as lo_initialize() is adapted so that it uses some other reliable way to determine when LO started up, it doesn't need it, either. If the LOK startup logic needs debugging, then either the in-tree

Re: LibreOfficeKit and the UserInstallation

2016-03-23 Thread Thorsten Behrens
Miklos Vajna wrote: > On Wed, Mar 23, 2016 at 03:30:50PM +0100, Stephan Bergmann > wrote: > > Therefore, I would like somebody overseeing the architecture of LOK to > > explain how LOK intends to solve its "multiple processes per > > UserInstallation" problem. > > There are

Re: LibreOfficeKit and the UserInstallation

2016-03-23 Thread Pranav Kant
On Wed, Mar 23, 2016 at 9:18 PM, Miklos Vajna wrote: > Hi, > > On Wed, Mar 23, 2016 at 04:43:39PM +0100, Michael Stahl > wrote: > > > There are two main use-cases for LOK at the moment: Android and Online. > > > > what about gnome-documents? > > I'm

Re: LibreOfficeKit and the UserInstallation

2016-03-23 Thread Miklos Vajna
Hi, On Wed, Mar 23, 2016 at 04:43:39PM +0100, Michael Stahl wrote: > > There are two main use-cases for LOK at the moment: Android and Online. > > what about gnome-documents? I'm afraid gnome-documents currently assumes that soffice is not running when it uses LOK. Pranav,

Re: LibreOfficeKit and the UserInstallation

2016-03-23 Thread Michael Stahl
On 23.03.2016 16:40, Miklos Vajna wrote: > Hi Stephan, > > On Wed, Mar 23, 2016 at 03:30:50PM +0100, Stephan Bergmann > wrote: >> Therefore, I would like somebody overseeing the architecture of LOK to >> explain how LOK intends to solve its "multiple processes per >>

Re: LibreOfficeKit and the UserInstallation

2016-03-23 Thread Miklos Vajna
Hi Stephan, On Wed, Mar 23, 2016 at 03:30:50PM +0100, Stephan Bergmann wrote: > Therefore, I would like somebody overseeing the architecture of LOK to > explain how LOK intends to solve its "multiple processes per > UserInstallation" problem. There are two main use-cases

LibreOfficeKit and the UserInstallation

2016-03-23 Thread Stephan Bergmann
A LO UserInstallation must not be accessed concurrently by multiple processes (at least not when at least one of them potentially modifies it). LO itself ensures that with the first soffice instance listening on a well-known pipe (whose name depends on the UserInstallation path, among other