dcop auto-overuse

David Faure dfaure at klaralvdalens-datakonsult.se
Wed Dec 10 12:03:55 CET 2003


On Wednesday 10 December 2003 01:48, George Staikos wrote:
> On Tuesday 09 December 2003 19:31, Casey Allen Shobe wrote:
> > > > The non-KDE case is of course different, and I wouldn't really comment
> > > > on it, since I don't care much.
> > >
> > > but you should; it's one of the arguments used against kde apps ...
> >
> > I would say that when a KDE application is started, that it should not
> > start the DCOP server when KDE is not running.  Some people have complained
> > that this is the biggest problem with running a minimal X with a fullscreen
> > konsole, and I can speak from experience that starting Konsole on my
> > SparcStation 20 w/2x125MHz CPUs & 360Mb RAM from ratpoison (minimal window
> > manager) takes 3-5 seconds to start.  When wanting to run it at startup, it
> > was quite annoying to have a 3-5 second delay to get started in an
> > environment that otherwise started instantly.
> 
>   So if I start app X and KDE is not running, it doesn't start dcopserver and 
> doesn't talk dcop.  Then I start app Y.  App Y sees that KDE is not running 
> and does not start dcopserver or talk dcop.  I want app X to talk to app Y.  
> How?  Also since most apps use kded, it's kind of pointless to avoid starting 
> dcopserver.  It's almost guaranteed that an average KDE app is going to talk 
> to kded sooner or later.

Yes, most KDE apps need KIO, kded, etc.
konsole is a rather special case, I don't think it needs any of that. kdm neither.
So maybe konsole and kdm should not register automatically to dcop.
At least not when dcopserver isn't already running.

IMHO this only applies to those two (and maybe a few others), while most KDE apps
should still start kdeinit etc. on startup if not already running.

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions


More information about the Kde-optimize mailing list