Kicker performance: KIconEffect :: visualActivate( ... );
Waldo Bastian
bastian at kde.org
Wed Oct 22 14:13:55 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 22 October 2003 02:12 pm, David Faure wrote:
> On Wednesday 22 October 2003 13:52, Waldo Bastian wrote:
> > We have async dcop calls now, so it should be possible to make krun async
> > and do the visual effect after activation.
> >
> > The bad part is that all of our zillion KRun::run functions return pid so
> > we either need to add a flag to them to say that we don't care about the
> > pid, or make a new set of KRun::runAsync functions.
>
> I'm not exactly sure which parts you want to parallelize here.
> The actual KRun code itself should be rather fast.
> Is it KProcess::start() that's taking a long time? Hmm I guess so, it has
> to locate the binary and execute it, before knowing the pid...
KRun normally doesn't use KProcess / KProcessRunner but it asks klauncher to
start the application via dcop (via KApplication::startServiceByDesktopPath)
KApplication::startServiceByDesktopPath has in fact already a "noWait" flag,
but that means you don't get any feedback on errors at all, I guess those
functions need to be expanded with async operation as well.
Cheers,
Waldo
- --
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/loKTN4pvrENfboIRAoEjAJ998LT/1EiBVAEjr0SPJ244W+/i2ACeOorx
FOodz9ifuzYrmDNfiXGnfgc=
=8ZuF
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list