Bug 378277

Summary: Impossible to tell whether password field shows plaintext with empty content
Product: [Frameworks and Libraries] libplasma Reporter: Fabian Vogt <fabian>
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian Vogt 2017-03-30 13:44:57 UTC
In an application with a password input, like the screenlocker, enter a password, enable to show the plaintext and erase the password again.
Now the password input is in the plaintext state, but that is not visibly indicated. Now everything typed into the field appears in plaintext.
Comment 1 Fabian Vogt 2017-04-21 19:09:19 UTC
This now got fixed in KWidgetsAddons with https://phabricator.kde.org/D5530
so plasma-framework should be adjusted to behave the same way, for consistency.
Comment 2 Marco Martin 2017-06-09 11:16:00 UTC
Git commit 1aea7bbd5e7e1fdeea49d46ff2aa14d4c10c50a9 by Marco Martin.
Committed on 09/06/2017 at 11:15.
Pushed by mart into branch 'master'.

show show password button also if empty text

like happened in KPasswordWidget, show the show password
button also when there is no text, otherwise is impossible
to know what will be typed, a dot or the actual letter

M  +1    -1    src/declarativeimports/plasmacomponents/qml/TextField.qml

https://commits.kde.org/plasma-framework/1aea7bbd5e7e1fdeea49d46ff2aa14d4c10c50a9