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

Jörg Walter jwalt-kde at garni.ch
Fri Mar 21 16:15:49 GMT 2003

On Friday, 21. March 2003 11:06, Waldo Bastian wrote:
> > 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.

Well, that part is working. It is the problem of 20 password boxes popping up 
at once while 20 files are loaded at startup. Password caching won't help 
there, as the password boxes are already showing before the password cache is 
populated. I thought of doing some locking in kio_fish so that no two 
password dialogs are shown for the same host/user/port simultaneously, i.e. 
having all but one kioslave wait until the first pass dialog is dismissed.
Yet, this doesn't seem belong into kioslaves as I read in the original mail.
What better way is there?


PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94

More information about the kde-core-devel mailing list