SUMMARY kiod opens a new password dialog for a sftp connection even if the user clicked cancel. STEPS TO REPRODUCE 1. open a sftp url in dolphin (maybe trough session restore) 2. click cancel in the password popup OBSERVED RESULT a new password dialog pops up. Even after closing the dolphin window. EXPECTED RESULT kiod stops asking me for a password. Sends the sftp client a "connection failed" message or stops asking completely if there is no client SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 19.04.01 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION Pressing the cancel button writes the following log entries: Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: dialog result= 0 , bypassCacheAndKWallet? false Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" window-id= 0 username= "" realm= "" seqNr= 28 keepPassword? true canceled? true Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" expire= 2 window-id= 0 keep= false Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" , user= "" seqNr: request= 27 , result= 28 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: auto retry! Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" , user= "" seqNr: request= 27 , result= 28 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: auto retry! Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" , user= "" seqNr: request= 27 , result= 28 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: auto retry! Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" , user= "" seqNr: request= 27 , result= 28 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: auto retry! Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 Mai 19 08:17:54 Ragnarok-Think kwin_x11[612]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57679, resource id: 69206331, major code: 15 (QueryTree), minor code: 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 seqNr = 28 , errorMsg = "" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 seqNr = 28 , errorMsg = "" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: key= "sftp-192.168.1.5:-1" , user= "" seqNr: request= 28 , result= 28 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: Widget for 0 QWidget(0x0) Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: Showing password dialog KPasswordDialog(0x55baea1fb360, name="KPasswordDialog") , window-id= 0 Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 seqNr = 28 , errorMsg = "" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 seqNr = 28 , errorMsg = "" Mai 19 08:17:54 Ragnarok-Think kiod5[26506]: org.kde.kio.kpasswdserver: User = "" , WindowId = 0 seqNr = 28 , errorMsg =
Can you still reproduce this? It seems to work for me on the 19.12 release.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
Still happens with kio-extras 24.12.2, Frameworks 6.10.0, Plasma 6.3.0, Dolphin 24.12.2. Also, the second dialog allows editing the user name even if it's already specified in the sftp URL before a @, but if you change the user name, it doesn't work even if you enter the correct password. And if I cancel it, it shows a weird dialog with a Retry button and a button with no text. And if I click that empty button, it then pops up the username/password dialog again, and then again several times if I click Cancel (no more weird Retry/nothing dialog there).
Created attachment 178498 [details] Weird dialog with Retry and empty buttons
Please run in a terminal QT_LOGGING_RULES="kf.kio.*=true" /usr/lib/libexec/kf6/kiod6 --replace and reproduce the error. Then paste the here. Mind that the libexec path may be different on your distribution you'll need to search for it using the package manager.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.