[
https://issues.apache.org/jira/browse/GUACAMOLE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Couchman closed GUACAMOLE-2266.
------------------------------------
Resolution: Cannot Reproduce
> Username field on login form intermittently fails to autofocus
> --------------------------------------------------------------
>
> Key: GUACAMOLE-2266
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2266
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client
> Affects Versions: 1.6.0
> Reporter: Eugen Hartmann
> Priority: Minor
>
> The issue is sporadic. In one of my environments it happens almost every time
> if I do the following steps:
> # Open a new instance of Google Chrome.
> # Open Guacamole using a bookmark.
> Observe: The username field receives focus (autofocus works).
> # In the address bar, type {{https://www.google.com}} and press Enter.
> # Open Guacamole again using the same bookmark.
> Observe: The username field does not receive focus (autofocus fails).
> After some debugging I noticed that at the moment when focus() is called for
> the username field, the field width and height were zero. Then, as far as I
> remember I noticed that one of the parent, probably
> {_}{color:#00875a}body{color}{_}, had {color:#00875a}_display: none_{color}
> and a class {color:#00875a}_translate-cloak_{color}. This explains why
> autofocus fails.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)