[PATCH] kate 20 login boxes was Re: RFC: Syncrounous execution with fish ioslave
Willy De la Court
Willy.DelaCourt at pandora.be
Fri Mar 21 20:53:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Friday 21 March 2003 17:15, Jörg Walter wrote:
> 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?
this patch should solve that problem
if the kate maintainer can comment on this and let me know if i can commit it.
The patch will test the file existance in a synchrounous way so if you load 20
files from the same fish ftp or other remote protocol it will ask the
password ones for every server. This is a quick hack and maybe can be
Simple things make people happy.
Willy De la Court
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 837 bytes
Desc: not available
More information about the kde-core-devel