Authentication dialog loses focus when switching tabs
Steps to reproduce:
- Open a website which needs HTTP authentication.
- The HTTP authentication dialog appears, and it will obtain the input focus. Do not enter anything and, most importantly, do not dismiss it.
- Open a new tab with
Ctrl-T
, or using the corresponding button in the header bar. - Close the new tab with
Ctrl-W
, or using its close button on the tab bar. - The previous tab with the authentication dialog will be shown.
Expected outcome:
The authentication dialog has the input focus, and it is possible to start typing credentials right away.
Actual outcome:
The authentication dialog does not have the input focus, the user needs to manually focus the input fields in the authentication dialog before they can enter their credentials.