[GSoC 2012][Collaboration] status, ideas

Matúš Kukan matus.kukan at gmail.com
Fri Jul 20 13:35:53 PDT 2012


Hi Michael,

On 16 July 2012 14:57, Michael Meeks <michael.meeks at suse.com> wrote:
> Hi Matus,
>
> On Sat, 2012-07-14 at 19:49 +0200, Matúš Kukan wrote:
>> And it works! I was able to invite a contact and after accepting in VM
>> in empathy, Channel Dispatcher has executed .../soffice --calc as told
>> in org.freedesktop.Telepathy.Client.LibreOffice.service.
>> I was thinking that it could run .../soffice --accept-tube, so we know
>> why Libreoffice is started and do something clever ;-)
>
>         Yep; that's the idea I guess - we'd need to hack desktop/source/app/
> cmdline etc. bits to pass through the identifier of the tube to accept,
> and find some elegant way of plugging that into desktop/ I guess.

So - I've used gerrit for this:
https://gerrit.libreoffice.org/#/c/336/
I am not sure I want this in its current form but it's something
visible and anyone can comment now ;-)
I use Desktop class, and init TeleManager in there.
But registering clients (so you could get channels, files) is
happening now only when we run ./soffice --invisible.
This is probably not right thing to do.
Maybe I could let Listen button still work in addition.

>>     There is no other case when someone sends us file ?
>
>         There are some nasty cases I suspect when we loose the connection and
> have local changes, and need to reconcile them, but - for now,
> send-file-to-new-connector is the right thing to do I think.

great :-)

>>     But still, after receiving new channel [4], I need to accept it,
>> receive the file and then bind the channel to that file ?
>> I guess I need to take a rest and think again later.
>
>         Right; there is a need to associated XFrames - or SfxSomething's with
> collaboration sessions I suppose that bit needs doing;

It's associated to ScDocFuncSend.
But It does not work if we -
open another document | receive another channel -
between receiving channel and setting session for document belonging
to that channel.

>> - I broke INTERCEPT=demo mode.
>
>         Fine ;-) I'll fix it when I next need to demo things.

Oh, well, I compile it again (because I use CreateScDocFunc again) and
need to do ugly things as exporting TeleManager_fileReceived.

>         Nice work,

Thanks :-)

Matus


More information about the LibreOffice mailing list