Skip to content
This repository has been archived by the owner on Nov 1, 2017. It is now read-only.

Copy to clipboard #4

Closed
bkeepers opened this issue Aug 2, 2012 · 2 comments
Closed

Copy to clipboard #4

bkeepers opened this issue Aug 2, 2012 · 2 comments

Comments

@bkeepers
Copy link
Contributor

bkeepers commented Aug 2, 2012

I would prefer to replace "reveal" with a "copy to clipboard" feature. Generally, you need a password so you can paste it somewhere else. There is rarely an instance where you want to see the password, and in that case you can just paste it somewhere else where it is readable.

I'm not sure what the current state is of the clipboard api in browsers, but it would be awesome if we could clear the copied password after a timeout, or at least after autolock. I'm guessing the clipboard APIs require some kind of user action (click, keyboard) to modify the clipboard, so worst case scenario, we should be able to copy a blank string to the clipboard on the next user action.

@mktums
Copy link

mktums commented Dec 11, 2012

The only realization of such thing I've ever seen is KeePass(X)'s "copy password to clipboard" at keepassx/src/lib/EntryView.cpp, lines 465-491
But as long as it uses Qt library and it's features (such as, in our case, QClipboard, and its clear() method), I can't imagine how this issue can be resolved :(

@cobyism
Copy link
Contributor

cobyism commented Dec 11, 2012

As far as I’m aware, the only way to do this right now in a way that is consistent across browsers is (sadly) to use a flash bug to do the clipboard manipulation. @bkeepers You might want to speak to @jonrohan about ZeroClipboard?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants