Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Firefox steals keyboard input when audio changes

  • 5 risposte
  • 0 hanno questo problema
  • 5 visualizzazioni
  • Ultima risposta di rvandegrift23

more options

I use firefox to play music, so I usually have a window in the background while I do other things. When playback starts after a pause, or between songs, the playback window often steals keyboard focus. So if I'm typing in another window, I'm interrupted. Very annoying. It happens on at least youtube, navidrome, and jellyfin.

I've found a few others reporting similar issues that suggest setting `mozilla.widget.raise-on-setfocus` to `false` - but this doesn't work for me. How can I figure out what's triggering this keyboard steal so I can fix it?

I'm using firefox esr 102.7.0esr, but it's been happening for a while. I've tried the debian builds and the official firefox.com builds, same behavior. Thanks for any suggestions.

I use firefox to play music, so I usually have a window in the background while I do other things. When playback starts after a pause, or between songs, the playback window often steals keyboard focus. So if I'm typing in another window, I'm interrupted. Very annoying. It happens on at least youtube, navidrome, and jellyfin. I've found a few others reporting similar issues that suggest setting `mozilla.widget.raise-on-setfocus` to `false` - but this doesn't work for me. How can I figure out what's triggering this keyboard steal so I can fix it? I'm using firefox esr 102.7.0esr, but it's been happening for a while. I've tried the debian builds and the official firefox.com builds, same behavior. Thanks for any suggestions.

Tutte le risposte (5)

more options

It may be the search in page functionality

In Settings> General uncheck "Search for text when you start typing" Tim

more options

Hi Timtak - thanks for the suggestion, that option is already disabled.

more options

I'd guess it's 'media.hardwaremediakeys.enabled'.

more options

Hi TyDraniu - thanks for the suggestion. I tried disabling that, but still get the same behavior.

more options

I now think this could be related to full-screen handling. I've noticed a new issue with youtube.

When I click full-screen on a youtube video, the video doesn't go full screen, and the firefox window loses focus - just like when an audio change triggers it. If I change focus via clicking or alt-tab, the video fixes and goes full screen. But then I can't exit full screen normally - firefox goes full screen too.

I've noticed that these issues don't quite happen on a fresh profile. I started moving the new profile to my old one and haven't found the difference - but this profile is very old, so perhaps there's some weird data there.