I need to fix this in the spec: I didn’t mention it in the text, but I
included two wireframes of the situation, one showing the password field
empty, the other pre-filled. Oops. <https://wiki.ubuntu.com/Networking
#wi-fi-connecting-dialog>

That a device might be locked shouldn’t be a reason to blank the
password field; we could omit the “Show password” checkbox in that case,
or suppress the dialog altogether.

Unfortunately, probably ~70% of the time you see this dialog the
password is correct, and you’re just experiencing bug 615239. Since that
bug has existed since 2009 if not earlier, it may not be fixed soon, and
if it won’t be, we should pre-fill the field.

If/when that bug is fixed, though, the equation becomes much murkier. We
should pre-fill the field *if* the time it would save, in correcting
typos, would be greater than the overall time taken to fix non-typo
errors. I think we can assume that you would always need to reveal the
password to tell that the error is a typo, but you might not need to
reveal the password to tell/remember that it isn’t.

If so, where
P(typo) = probability that the password error is a typo;
P(non-typo) = probability that the password is completely wrong (e.g. outdated);
P(reveal) = probability that you’ll check “Show password” to see which of those 
two things it is;
t(reveal) = time taken to check “Show password”;
t(correct) = average time taken to correct a typo;
t(retype) = average time taken to retype the password from scratch instead;
P(unreplacing) = probability that you don’t know/remember that typing replaces 
selection; and
t(backspace) = time taken to tap Backspace instead of typing to replace the 
selection;

then we should pre-fill the field if
P(reveal) × P(typo) × (t(retype) – (t(reveal) + t(correct)))
>
P(reveal) × t(reveal) + P(non-typo) × P(unreplacing) × t(backspace).

Probably I’ve made at least one mistake there.

** Changed in: indicator-network (Ubuntu)
   Importance: Undecided => Medium

** Changed in: indicator-network (Ubuntu)
       Status: New => Confirmed

** Changed in: indicator-network (Ubuntu)
     Assignee: (unassigned) => Matthew Paul Thomas (mpt)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596001

Title:
  WiFi password prompt empty when reconnecting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1596001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to