Add “show password” emblem in password entries
On the login & lock screens, and in the Wi-Fi password dialog, it is currently not obvious how to reveal the password. I know that if you right-click the entry, or hit the Menu key while the entry is focused, a “Show Text” option appears; anecdotally, this is not easy to discover.
Elsewhere in GNOME, we use two different patterns for this:
- Settings has a “Show Password” checkbox
- Seahorse uses a end-aligned inline icon with the tooltip “Show/Hide password”
Personally I think an inline icon is neater. Either way, we should aim to use a consistent pattern throughout GNOME, including the same wording (not “Show Text”/“Show Password”/“Show/Hide password”).
@fmuellner points out that the right-hand end of the Shell password field is currently used for a “caps lock is on” emblem:
I'm not sure if St supports multiple emblems (but I'm told Gtk 4 does).