IJHack / QtPass

QtPass is a multi-platform GUI for pass, the standard unix password manager.
https://qtpass.org/
GNU General Public License v3.0
1.02k stars 162 forks source link

[feature request] "Copy name" button #639

Open LeXofLeviafan opened 1 year ago

LeXofLeviafan commented 1 year ago

At least some Pass clients use the password filename (without the folder path and the .gpg extension) as username/login; which typically leads to password files not containing a "login"/"email" field.

When working with such passwords, it would be quite handy to be able to copy the name the same way a password can be copied, with a single click.

shemeshg commented 1 year ago

I can confirm that the title of the path is unselectable hence most likely QLabel and not "QTextEdit in readonly". In Qt QLabel is not selectable.

Don't think copy button is required (however i'm not the author), maybe you could try change the QLabel to QTextEdit remember to set it readonly and if you like it - submit that as pull request.

I'm not the author - but is this answer the question?

LeXofLeviafan commented 1 year ago

The point is to improve UX; being able to copy username the same way as password makes for better user experience, I would say.

annejan commented 1 year ago

I agree, should be able to look into it later this week

dechimp commented 2 weeks ago

This would be very useful. In nearly all of my files, the filename is the username.