Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password visibility toggle #693

Conversation

iamutkarshtiwari
Copy link
Contributor

@iamutkarshtiwari iamutkarshtiwari commented Jun 14, 2016

This fixes the issue - https://bugs.sugarlabs.org/ticket/4963

Now the user can toggle the password visiblility via 'show password' checkButton provided

desktop-animation

@@ -102,10 +102,19 @@ def __init__(self, ssid, flags, wpa_flags, rsn_flags, dev_caps, response):

def add_key_entry(self):
self._entry = Gtk.Entry()
self._entry.set_visibility(False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just pass properties as constructor kwargs, eg:

self._entry  = Gtk.Entry(visibility=False)

@samdroid-apps
Copy link
Contributor

Looks good. I totally agree with the patch.

Maybe we could default to it being visible? Visible is more usable :) In a school context, is the WiFi password really secret? I also think that windows 10 defaults to visible wifi passwords, but don't trust me on that.

@iamutkarshtiwari
Copy link
Contributor Author

fixed.

@samdroid-apps
Copy link
Contributor

Great. I'll merge it! But can you just squash 'em commits?

Now the user can toggle the password visible via 'show password' checkButton provided
@iamutkarshtiwari iamutkarshtiwari force-pushed the feature-ShowPasswordInWiressKeyInput branch from 11fcb77 to dca2f17 Compare June 15, 2016 06:15
@iamutkarshtiwari
Copy link
Contributor Author

Squashed.

@samdroid-apps samdroid-apps merged commit dca2f17 into sugarlabs:master Jun 17, 2016
quozl added a commit to quozl/sugar that referenced this pull request Jul 19, 2016
Password is invisible.  Regression introduced in dca2f17.  Consensus in pull request sugarlabs#693 was to show the password.
@quozl quozl mentioned this pull request Jul 19, 2016
@quozl
Copy link
Contributor

quozl commented Jul 19, 2016

@iamutkarshtiwari, please review #703.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants