Version: unspecified OS: Linux I don't know if this is a problem of kio_sftp or dolphin. but when asked for a password, and I press cancel, the dialog appears again - 3 times. when leaving the tab, and activating it again, same again. after a "cancel" operation there should be no further dialogs, only on manual refresh (F5). Reproducible: Always OS: Linux (x86_64) release 2.6.27.25-0.1-default Compiler: gcc
Thanks for the report. Could you please let us know which KDE version you are using?
yes, sorry, I use kde-4.5. why does the reporting-assistant not fill in the kde version by itself as in previous kde/bugzilla-versions?
Well, this is more or less how it works. The first time it asks for the password for the public key and if this doesn't work it tries keyboard interactive.
I don't understand. If the user wants to "cancel" authorization, it should really cancel. There should be a difference, if the user cancels, or if something other on authorization fails.
Could you be more specific about the password dialogs? Are both identical? If not what's the difference?
yes, they are both identical, to reproduce, simply open sftp for kde.org :-) sftp://kde.org/ I am asked 3 times, although I cancel everytime.
why this is so annoying for me: my last dolphin session with multiple sftp tabs is restored at kde-start, and sometimes, I do not want to open all connections, and am asked 9 times for 3 tabs for example.
Does this happen with konqueror too?
If you enter the URL sftp://kde.org then dolphin does a 'listDir' on that directory. If you press 'cancel' dolphin, I don't understand why, calls 'stat'. That's the reason you get two dialog windows. You can see set if you enable debut output of kio_sftp. kio_sftp(12565) sftpProtocol::openConnection: User canceled, dlgResult = false kio_sftp(12565) sftpProtocol::closeConnection: closeConnection() The connection is correctly closed ...
I doesn't happen with konqueror, so really a dolphin bug, as I originally reported?
The first sftp operation is normally a stat. You can see that with konqueror. I think the tree view on the left side of dolphin is issuing the listDir call and the main part is calling stat. So it is fine if you enter correct credentials cause the second call can use them. Assigning back to dolphin.
*** Bug 250885 has been marked as a duplicate of this bug. ***
*** Bug 249602 has been marked as a duplicate of this bug. ***
Git commit f5568a8eefb94b5df1d3809727839a89ce5e5f8f by Dawit Alemayehu. Committed on 29/05/2011 at 20:47. Pushed by adawit into branch 'KDE/4.6'. Set the window on the directory lister created in ViewAccessor so that password management can be handled properly. BUG: 248340 FIXED-IN: 4.6.4 REVIEW: 101469 (cherry picked from commit 24e79c009b1530b5491940b727a989d4d0fbf434) M +5 -0 dolphin/src/views/dolphinview.cpp http://commits.kde.org/kde-baseapps/f5568a8eefb94b5df1d3809727839a89ce5e5f8f