RFC: Syncrounous execution with fish ioslave was [PATCH] kdelibs/kio/kio/netaccess.cpp

Waldo Bastian bastian at kde.org
Fri Mar 21 10:06:52 GMT 2003


On Friday 21 March 2003 10:49, Jörg Walter wrote:
> On Thursday, 20. March 2003 16:10, Waldo Bastian wrote:
> > On Thursday 20 March 2003 15:50, Willy De la Court wrote:
> > > Hi all,
> > >
> > > I've tried to submit a patch for synchronous execution of commands for
> > > the fish ioslave but some people say it does not belong in the
> > > NetAccess class.
> > >
> > > The question is where should i implement it so everybody is happy with
> > > it. Is there a place where ioslave specific (synchronous) code can be
> > > placed. Or should it be placed in the NetAcess class but should the
> > > name be changed to "fish_execute" instead of just "execute".
> >
> > Since NetAccess basically provides synchronous access to KIO::Job
> > functionality, I think that this is indeed a suitable place for it.
> > KIO::Job has some protocol specific functions such as http_post, adding
> > fish_execute would not be much different.
>
> Which brings up another problem on the wishlist/TODO for kio_fish:
> Synchronizing password dialogs. Users are annoyed by loading up kate with
> 20 docs reopened at startup, all of them via kio_fish, and 20 password
> dialogs pop up. Using 'keep password', they would only have to enter the
> password once.
>
> What can be done there?

The kate mainwindow needs to be passed to all KIO::Jobs so that the password 
server will automatically cache passwords for jobs that originate from kate.

Cheers,
Waldo
-- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com





More information about the kde-core-devel mailing list