Bug 271429 - Try the clipboard before asking for password
Summary: Try the clipboard before asking for password
Status: CONFIRMED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 16:28 UTC by Dotan Cohen
Modified: 2017-10-03 13:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.