[
https://issues.apache.org/jira/browse/GUACAMOLE-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871722#comment-16871722
]
Michael Jumper commented on GUACAMOLE-302:
------------------------------------------
I've marked GUACAMOLE-731 as a duplicate of this, as it deals with
automatically focusing the username field when the login page initially
appears. As mentioned on GUACAMOLE-731, that logic and the logic described here
seem to intersect if generalized:
{quote}
Perhaps this could be rolled into GUACAMOLE-302. The union of:
* Focus the username field by default.
* Focus the first non-username field after login failure.
* Focus the auth code field for TOTP.
seems to boil down to, simply:
* Clear non-username fields after login failure (the current behavior).
* Focus the first blank field.
{quote}
The WIP pull request submitted by [~mkhan] appears to address both, as well:
https://github.com/apache/guacamole-client/pull/419
> Refocus relevant in-progress login fields after auth failure
> ------------------------------------------------------------
>
> Key: GUACAMOLE-302
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-302
> Project: Guacamole
> Issue Type: Improvement
> Components: guacamole
> Environment: Ubuntu Xenial
> Reporter: Matt Prager
> Priority: Minor
>
> After mistyping a Guacamole login password, the current behavior moves the
> cursor out of the password box (I'm not sure where specifically it moves it -
> there's no cursor on the screen anymore without clicking back into the
> username or password box). As, on numerous occasions, I have immediately
> retyped my password after seeing the "Invalid login" banner only to discover
> that I then had to type it yet again because I had forgotten to first click
> into the password box a second time, I think leaving the cursor in the
> password box for immediate retyping of mistyped passwords would seem to make
> sense. Thanks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)