If you click a different window while the onion service authorization prompt is displayed, there's no way to get its text field back in focus to enter the key without explicitly focusing the parent browser window first.
This can get extremely annoying because the popup stays on top of all other windows, which makes retrieving its parent quite frustrating.
ma1changed title from Onion service authorization prompt's text fied does not get focus when clicked to Onion service authorization prompt's key field does not get focus when clicked
changed title from Onion service authorization prompt's text fied does not get focus when clicked to Onion service authorization prompt's key field does not get focus when clicked
Adding also here, in addition to the MR: I think we could rework the whole thing for 13.0.
Forcing that kind of panel for the authentication doesn't seem correct to me.
Other similar panels are the identity panel, the circuit display, the bookmarks, and, on Firefox, the tracking protection.
They are made to self-close when one changes window. Also, they don't grab user's attention enough, because they're missing fore example an overlay.
I think we should do an actual prompt, like the one for HTTP basic authentication (check for example https://review.torproject.net/).
OK, it seems the fix 4a13c283 had been merged and release in 12.5.1 (July 5 2023), but got lost somewhere along the way - the code is not there anymore and the bug is again reproducible.
Reassigned to myself to check whether a cherry-pick of the old commit is enough to "refix" it.
Note, I think this is only for X11 window system. Not a problem when the browser is forced to use wayland since the popup remains attached to the parent window. Not sure about other platforms. !691 (comment 2915985)