[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: DCOP bug again :} (Re: Password caching for io-slaves)
From: Dawit Alemayehu <adawit () starpower ! net>
Date: 2000-05-17 22:59:51
[Download RAW message or body]
On Wed, 17 May 2000, David Faure wrote:
> On Wed, May 17, 2000 at 03:16:36PM -0700, Waldo Bastian wrote:
> > On Wed, 17 May 2000, David Faure wrote:
> > > > > Hmm, ok, so we're back to a bug in DCOP, which doesn't handle properly
> > > > > requests made right after a program is started.
> > > >
> > > > Does process() gets called in the kio_uiserver? Can you check whether a
> > > > reentrant call to process() occurs?
> > >
> > > DCOP: register 'kio_uiserver'
> > > DCOP: register 'anonymous-3287'
> > > normal call to process!
> > > kio (UIServer): User dfaureHeader dfaure@localhostKey localhost
> > > kio (UIServer): Checking if password is cached for localhost
> > > kio (UIServer): No running kdesu daemon found. Starting one...
> > ^^^^^^^^^^^
> >
> > You do a dcopcall from within process()... I think that confuses DCOP. I had
> > the same problem within KLauncher where I called isApplicationRegistered()
> > from within process().
>
> Ah. That's what happens when we start using DCOP extensively...
> This shows a flaw in the current design, then.
> Dawit, if the passwd cache is done in kdesud, why not let the observer
> query kdesud directlry first, and if a dialog box needs to be
> shown, THEN call uiserver's method (renamed to openPassDlg) ?
> That sounds like the right thing to do IMHO.
Hmmm unless I am missing somthing here, wouldn't this brings us
right back to square one, linking libkdesu with libkio? If so then the
original solution would have been okay, correct ?? I mean both
io-slaves and applications would have access to this functionality...
Regards,
Dawit A.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic