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

搜索 | 用户支持

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

详细了解

bug returning from hibernation: open firefox is ignored

  • 14 个回答
  • 0 人有此问题
  • 54 次查看
  • 最后回复者为 rayandrews

more options

In case anyone's interested, under Debian 12, when I resume from hibernation, if I have Firefox running as well as Tbird, if I click on a link in an email, the existing instance of Firefox is ignored and a new instance is opened. The first instance is in fact frozen -- it looks as it should but trying to change tabs or open a new tab is inactive. Seems I have to kill the open instance of FF, then if I click on a link in an email, FF pops up as it should with a new tab for the link, but the existing tabs are all there and all functional. It feels like a bug -- Tbird seems not to know that FF is already running.

In case anyone's interested, under Debian 12, when I resume from hibernation, if I have Firefox running as well as Tbird, if I click on a link in an email, the existing instance of Firefox is ignored and a new instance is opened. The first instance is in fact frozen -- it looks as it should but trying to change tabs or open a new tab is inactive. Seems I have to kill the open instance of FF, then if I click on a link in an email, FF pops up as it should with a new tab for the link, but the existing tabs are all there and all functional. It feels like a bug -- Tbird seems not to know that FF is already running.

被采纳的解决方案

jonzn4SUSE said

I hibernate every day and usually have Nightly, current Firefox, and Waterfox open with no issues. ... Memory: 62.1 GiB of RAM

It shouldn't be an issue if you have a lot of free RAM available.

rayandrews said

the existing instance of Firefox is ignored and a new instance is opened.

It is not possible to launch two instances of the same profile, external links may open in a new window depending on the request and browser configuration. Try changing browser.link.open_newwindow.override.external to 3 in about:config.

Does the freeze still happen if you disable hardware acceleration?

定位到答案原位置 👍 1

所有回复 (14)

more options

rayandrews said

The first instance is in fact frozen

Resuming from hibernation on Linux has historically had performance issues and is disabled by default on major distros like Ubuntu.

more options

I never got hibernation to work at all until Debian 12. But the above is the only problem I've detected so far. Of course I can't say where the issue lies, could be Debian itself, but it smells like Tbird simply doesn't know that FF is already running. Dunno, maybe that's Debian's job or maybe Tbird could simply 'check'? Perhaps, as you say, hibernation has been so unreliable that this issue simply hasn't come up very much.

more options

I hibernate every day and usually have Nightly, current Firefox, and Waterfox open with a few issues. see screenshot You should try the same steps on a different distro and the hardware, drivers, or kernel could also be an issue. Try downloading Firefox from Mozilla. Download, unzip, and run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

What Desktop? X11 or Wayland?

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.10-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

Yeah, I guess the problem could be in any number of places. FF here is ver. 115.9. Mind ... if I had to guess I'd say it was Tbird, since FF by itself shows no problems, it's only when Tbird tries to open a link that the 2nd copy of FF is started. Maybe I'll do as you say and grab the latest version from Mozilla directly. Tx.

more options

选择的解决方案

jonzn4SUSE said

I hibernate every day and usually have Nightly, current Firefox, and Waterfox open with no issues. ... Memory: 62.1 GiB of RAM

It shouldn't be an issue if you have a lot of free RAM available.

rayandrews said

the existing instance of Firefox is ignored and a new instance is opened.

It is not possible to launch two instances of the same profile, external links may open in a new window depending on the request and browser configuration. Try changing browser.link.open_newwindow.override.external to 3 in about:config.

Does the freeze still happen if you disable hardware acceleration?

more options

Just after saying that, I switch to 445 G9 and it was hibernating, but 2 times in a row network would not work. Had to restart and all is well.  ;-)) More ram and swap help, but i still have the occasional waking up problem, but the issues are more on the OS and hardware and rarely Firefox.


Operating System: openSUSE Tumbleweed 20240328 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.1-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

由jonzn4SUSE于修改

more options

Gentlemen:

Will try suggestions a bit latter and get back to you.

more options

We'll leave the light on for ya...

more options

> browser.link.open_newwindow.override.external to 3 in about:config.

By Jove! Seems to work :-)

Thanks guys.

more options

Ooops ... nope not fixed. I did a hibernate and resume last night and it seemed fine. But that was probably just the Quantum Observer Effect -- I was watching so it didn't misbehave. But this morning, it's back to ignoring the open instance and staring another one. I have to kill and restart FF and then everything is OK. BTW I most surely can open multiple instances of FF, I have three open right now.

more options

Does it still happen if you stay under 50% memory usage during hibernation?

more options

How can I check that? I know there's a command to check memory usage. I have 8G and my swap partition is 5G ... AFAICT that's never been insufficient.

由rayandrews于修改

more options

You are going to have swapping issues when resuming from hibernation with only 8GB unless Firefox has been recently started.

more options

Any possible diagnosis? Anyway, heck, it's a very small matter.

2 /boot 0 % mem

                    total        used        free      shared  buff/cache   available

Mem: 7870 3019 4386 39 802 4850 Swap: 5119 449 4670

... I'd have thought I have lots of freeboard.

由rayandrews于修改