Bug 271429

Summary: Try the clipboard before asking for password
Product: [Applications] ark Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, emailmeat
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dotan Cohen 2011-04-21 16:28:13 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

It would be great if Ark would try the clipboard contents first before asking for the user to specify a password.

Reproducible: Always

Steps to Reproduce:
1) Highlight RAR file password to put it in the X clipboard buffer.
2) Highlight 12 RAR files (all with the same password) and right-click -> Extract Archive Here

Ark should try the password in the clipboard instead of bothering the user for each file.
Comment 1 Raphael Kubo da Costa 2011-05-01 05:41:19 UTC
The idea of not asking for a password all the time sounds nice, but the suggested steps sound a bit odd.

What if the user is not aware of this and Ark just grabs whatever is currently in the clipboard and tries that first?
Comment 2 Christoph Feck 2011-05-02 21:12:05 UTC
That shouldn't be a problem. Either the clipboard had the right password, and everything is fine, or it doesn't, decompressing will fail, and then it should prompt for the password and retry decompressing with it.
Comment 3 KDE Neon user 2016-08-08 12:33:34 UTC
@Christoph Feck It is a problem because no legit program should attempt to extract your password from the clipboard without asking you for permission first.