Summary: | KPasswordDialog should have a "show password" option | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwidgetsaddons | Reporter: | Nicolas Piguet <npiguet> |
Component: | general | Assignee: | Christoph Feck <cfeck> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | cfeck, hhgebel, kde, kdelibs-bugs, lemma, simonandric5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | http://commits.kde.org/kwidgetsaddons/77e030112909e218aa85f851b289d298dc68a9f2 | Version Fixed In: | |
Sentry Crash Report: |
Description
Nicolas Piguet
2010-01-28 22:55:10 UTC
It would be useful for every password entry, not just KWallet. I agree that it should always default to "hide password", but have a check box to change that. Adding it to all KPasswordDialogs might not be favourable for all users though. Eg. for KPasswordServer's dialogs the password gets prefilled in case it is read from KWallet. This means that others may get the cleartext password by clicking this checkbox. Actually adding the checkbox doesn't really worsen "actual" security as third parties who want to get access to the password could just use kwalletmanager but some KWallet users might still dislike it (eg. there are users who'd like to see an extra password dialog added that pops up when they access an already opened wallet using the manager). Overall: I'm not sure if we have more users who'd like such a checkbox or more who absolutely don't want it. Would it make sense to only enable the checkbox when the field started empty? So you would not be able to read prefilled passwords, but only those that you actually typed there. Christoph, I really like your idea about the checkbox only being enabled when the field starts empty. The checkbox could also be requested on a per-application basis. Git commit 77e030112909e218aa85f851b289d298dc68a9f2 by Elvis Angelaccio. Committed on 28/08/2015 at 09:12. Pushed by elvisangelaccio into branch 'master'. KPasswordDialog: let the user change the password visibility This feature allows the user to change the visibility of the password being typed. By clicking on the new action appended to the password's QLineEdit, the echo mode will switch between Normal and Password. The two (Breeze) icons used for the action (one for each state) are also included through a .qrc file, so that this feature will be available even for non-Plasma systems where Breeze is not installed. If a password is given as preset to the dialog, this feature will not be enabled, in order to prevent possible leaks. REVIEW: 124698 M +3 -0 src/CMakeLists.txt A +6 -0 src/icons.qrc A +148 -0 src/icons/hint.svg A +137 -0 src/icons/visibility.svg M +32 -1 src/kpassworddialog.cpp M +3 -0 src/kpassworddialog.h http://commits.kde.org/kwidgetsaddons/77e030112909e218aa85f851b289d298dc68a9f2 |