为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Lose focus on some websites when pressing the Control key

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 nnadisic

more options

I am using Firefox 127 on Ubuntu.

When I press the Control key, I often lose focus in the window I am currently viewing. This is annoying as it prevents me from copy-pasting for example.

Sometimes the focus is back when I release Control, sometimes it is lost and I have to click again on the text field. It does not happen on all websites, for example support.mozilla.org works well, but it happens on duckduckgo or overleaf.

It does not seem to be the same as existing issues such as [the "show mouse when press Ctrl" of Ubuntu] (it is disabled) or an addon (the problem still happens in safe mode).

In case it is useful, when I press Control the tab bar background goes slightly darker, see attached images.

Thanks for your help :) Nicolas

I am using Firefox 127 on Ubuntu. When I press the Control key, I often lose focus in the window I am currently viewing. This is annoying as it prevents me from copy-pasting for example. Sometimes the focus is back when I release Control, sometimes it is lost and I have to click again on the text field. It does not happen on all websites, for example support.mozilla.org works well, but it happens on duckduckgo or overleaf. It does not seem to be the same as existing issues such as [[https://support.mozilla.org/en-US/questions/1191486#search the "show mouse when press Ctrl" of Ubuntu]] (it is disabled) or [https://superuser.com/questions/1090673/why-does-the-active-firefox-window-occasionally-lose-focus an addon] (the problem still happens in safe mode). In case it is useful, when I press Control the tab bar background goes slightly darker, see attached images. Thanks for your help :) Nicolas
已附加屏幕截图

由cor-el于修改

被采纳的解决方案

What Desktop? X11 or Wayland? Try another desktop and something on a live usb stick. Have never had such issue, when I press ctrl nothing happens and I don't see the window lose focus.


Operating System: openSUSE Leap 15.6 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.4.0-150600.23.7-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP EliteBook 865 16 inch G9 Notebook PC

定位到答案原位置 👍 0

所有回复 (6)

more options

(deleted, sorry wrong thread)

由cor-el于修改

有帮助吗?

more options

Sorry for my above reply, was meant for another thread.

I assume that this is still caused by a setting in your Ubuntu OS as Firefox doesn't come with such a feature.

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window

有帮助吗?

more options

Thank you for your answer.

Unfortunately the issue is still present in Troubleshoot mode. Enabling the default theme does not change anything.

Is there another direction I could look into? I believe the issue comes from Ubuntu but I don't see which setting could be responsible. (Also I do not have this issue on Chromium).

有帮助吗?

more options

选择的解决方案

What Desktop? X11 or Wayland? Try another desktop and something on a live usb stick. Have never had such issue, when I press ctrl nothing happens and I don't see the window lose focus.


Operating System: openSUSE Leap 15.6 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.4.0-150600.23.7-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP EliteBook 865 16 inch G9 Notebook PC

由jonzn4SUSE于修改

有帮助吗?

more options

由jonzn4SUSE于修改

有帮助吗?

more options

Thank you for your answer.

I am using X11 and Cinnamon desktop.

It seems this is a known bug in a previous version of Cinnamon https://github.com/linuxmint/cinnamon/issues/11079 https://forum.manjaro.org/t/left-control-key-issues-in-cinnamon-after-update/119576 and I assume it is the same thing happening here.

Switching to the default Ubuntu desktop solved my issue. This had indeed nothing to do with Firefox. Thanks a lot for pointing me in the right direction. I will later try to update Cinnamon to a more recent version.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题