[Differential] [Request, 12 lines] D3654: [TextField] Allow disabling reveal password button through KIOSK restriction

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Mon Dec 12 15:21:32 UTC 2016


broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R242 Plasma Frameworks.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This introduces a new lineedit_reveal_password restriction (similar to lineedit_text_completion) that disables the reveal password button on Plasma text fields, like the lock screen and WiFi password inputs.

TEST PLAN
  Placed the following in kdeglobals
  
    [KDE Action Restrictions]
    lineedit_reveal_password=false
  
  No longer got said button on the lock screen and click area for the textfield also was as if the button was never there. Without aforementioned restriction it behaves like before.
  
  As discussed in https://phabricator.kde.org/D3616
  
  Depends on https://git.reviewboard.kde.org/r/129642/
  
  Needs additional patch in plasma-nm. KNewPasswordDialog is in KWidgetsAddons which cannot depend on KConfigCore (where KAuthorized) is and thus we cannot do this there. However, being able to restrict this in the most prominent places should be good enoughâ„¢

REPOSITORY
  R242 Plasma Frameworks

REVISION DETAIL
  https://phabricator.kde.org/D3654

AFFECTED FILES
  src/declarativeimports/plasmacomponents/qml/TextField.qml
  src/declarativeimports/plasmastyle/TextFieldStyle.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161212/e764b790/attachment.html>


More information about the Plasma-devel mailing list