Open Bug 1894871 Opened 1 year ago Updated 1 year ago

Primary password prompt window can loose focus while typing

Categories

(Core :: Widget: Gtk, defect)

Firefox 124
defect

Tracking

()

UNCONFIRMED

People

(Reporter: cschreib, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

This is my morning routine when starting work:

  • Power up the computer.
  • Start Firefox and a bunch of other applications (e.g. Thunderbird, Slack, etc.).
  • Firefox displays the prompt asking me for my primary password.
  • I start typing my primary password.
  • While I type, another application finishes launching, appears, and steals focus.

Actual results:

Half of my password is typed into the other application. If I am not fast enough to realize it and press Enter, half of my password is sent e.g. to Slack. Not only is it annoying (and potentially embarrassing), it is also a security risk.

Expected results:

The prompt for the primary password should prevent focus steal somehow, so there is no risk of typing the password somewhere else.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

On X11 there's no way how to prevent it. You need to use Wayland for it.

You need to log in before you can comment on or make changes to this bug.