Bug 392555 - Dolphin does not ask for rar password again when password is mistyped
Summary: Dolphin does not ask for rar password again when password is mistyped
Status: RESOLVED INTENTIONAL
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 17.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-03-31 09:39 UTC by gulp21
Modified: 2022-06-21 14:24 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Archive containing the three test files with password 1234. (4.00 KB, application/x-tar)
2018-03-31 09:39 UTC, gulp21
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gulp21 2018-03-31 09:39:29 UTC
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
Comment 1 Elvis Angelaccio 2018-03-31 13:15:54 UTC
Yeah, password handling is messy and needs some love.
Comment 2 Bug Janitor Service 2021-11-28 03:57:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/77
Comment 3 Fushan Wen 2022-06-21 14:24:33 UTC
This requires a change that will break ABI. Mark as wontfix for now.