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

List:       kde-devel
Subject:    Re: kdialog takes too long in non-KDE environment
From:       Ben Armstrong <synrg () sanctuary ! nslug ! ns ! ca>
Date:       2007-04-09 16:47:43
Message-ID: 20070409134743.2e1b5e76 () sanctuary ! edennet
[Download RAW message or body]

On Mon, 9 Apr 2007 18:15:41 +0200
David Faure <faure@kde.org> wrote:
> Yes, and kde programs launched in a non-kde environment automatically start
> kdeinit, which starts dcopserver --suicide. But what puzzles me is that kdialog
> should exit immediately, not 10 seconds later when dcopserver exits...
> 
> >    dcopid="$(dcopserver --serverid 2>&1)"
> Interesting, didn't know that one.
> if kcheckrunning >/dev/null 2>&1; then
> might be faster.

Aha.  I didn't know about that.  Thanks.

> Good workaround. However I think this is a bug, kdialog should exit immediately....
> But as you say it doesn't happen always - in my tests here it does exit immediately...
>
> A problem might be when launching it again before the dcopserver of the previous
> kdialog exited; or just before it exits (race condition?).

Perhaps.  Though I thought I tested for that.  But I should really go
back and look at it the various possibilities more systematically.

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   synrg@sanctuary.nslug.ns.ca
 \`'  Debian   http://www.debian.org    synrg@debian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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