Problem with kontact and "void KApplication::invokeMailer"

Simon Hausmann hausmann at kde.org
Wed Dec 3 18:13:10 GMT 2003


On Wed, Dec 03, 2003 at 07:05:33PM +0100, Ingo Klöcker wrote:
> On Wednesday 03 December 2003 18:29, Laurent Montel wrote:
> > On Wednesday 03 December 2003 17:13, Laurent Montel wrote:
> > > Hi,
> > > when we have a "mailto:" into a html page, and we have kontact
> > > launch, we can open a mail composer.
> > > -------------------------------------------------------------------
> > >-------- ---------------------------------- DCOP: register 'kmail'
> > > -> number of clients is now 4
> > > DCOP: unregister 'kmail-2'
> > > DCOP: register 'anonymous-5110' -> number of clients is now 4
> > > ERROR: Communication problem with kmail, it probably crashed.
> > > DCOP: unregister 'anonymous-5110'
> > > -------------------------------------------------------------------
> > >-------- --------------------------------------
> > >
> > > Do you have an idea to fix it ?
> > > I think that it's very important to fix it otherwise nobody will
> > > use kontact.
> >
> > I create a first patch to fix it.
> > It's not perfect when we have a attachment :(
> > Somebody can look at it please.
> > (I use dcop to send mail)
> 
> You should have send the patch to kde-core-devel. After all the patch 
> affects kdelibs/kdecore.
> 
> I doubt that this hack is the correct solution.

How about having a little stub process instead, that talks to
kmail/contact vi DCOP if it's running and otherwise replaces itself
with a new kmail/contact process? (and using that as mailer command)

Just a thought.

Simon




More information about the kde-core-devel mailing list