Created attachment 111751 [details] Archive containing the three test files with password 1234. Steps to Reproduce: 1) Create a password protected rar archive which contains some non-empty file *without* the option “Ask for password before showing the list of files in the archive.” 2) In the context menu of the archive, choose Extract → Extract here, autodetect subfolder. 3) Enter a wrong password. Actual Result: No error message is shown and an empty file is “extracted.” Expected Result: Dolphin should show the password dialog again, indicating that the password has been wrong. Note that if the option “Ask for password before showing the list of files in the archive” *is* used while creating the archive, Dolphin will show an error message when the wrong password is entered. (This is inconsistent with the handling of zip files: If the password for a zip file is entered incorrectly, a new password prompt saying “Incorrect password, please try again.” is displayed.) I have attached three archives with the password 1234 for reproducing this issue. Dolphin version 17.12.3, KDE Frameworks 5.44.0
Yeah, password handling is messy and needs some love.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/77
This requires a change that will break ABI. Mark as wontfix for now.