[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDEinit problem
From:       Anders Lund <anders () alweb ! dk>
Date:       2006-01-02 11:57:11
Message-ID: 200601021257.15196.anders () alweb ! dk
[Download RAW message or body]

On Monday 02 January 2006 02:03, Waldo Bastian wrote:
> On Saturday 31 December 2005 16:43, Anders Lund wrote:
> > On Sunday 01 January 2006 01:19, Waldo Bastian wrote:
> > > .desktop files have an entry X-DCOP-ServiceType and X-DCOP-ServiceName
> > > that essentially tell the launcher how the application will register
> > > itself with DCOP. Once the application has registered in that way, the
> > > launcher will return successfully.
> > >
> > > In general, if the process that gets started exits before the
> > > application is registered with DCOP, it assumes something went wrong
> > > and returns an error.
> > >
> > > X-DCOP-ServiceType can have the following values:
> > > * None - Don't wait for DCOP registration, return success immediate.
> > > * Unique - Application registers as a unique application
> > > * Multi - Application registers as name-<pid>
> > > * Wait - Wait till the process exists and return success.
> >
> > So I could try setting the type to Wait or None.
> >
> > Will that be likely to have any unwanted side effects?
>
> Applications that start kate and expect to be able to make dcop calls
> directly afterwards may fail if kate hasn't registered itself by then. But
> I suspect you only want to use this for the special case where you start
> kate with --use ?

Yes. I committed a fix that simply registers the dcopclient that is used to 
call the --use'd instance with dcop, and that works. If that is bad let me 
know.

Thanks for your help,
-anders 

-- 
www: http://alweb.dk
jabber: anderslund@jabber.dk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic