為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Zoom changes to default when navigating away from the page

  • 2 回覆
  • 2 有這個問題
  • 21 次檢視
  • 最近回覆由 EvgenyM

more options

Problem: Page zoom level spontaneously changes to default when I switch to another tab or follow a link to another page.

Steps to reproduce.

1. Open two tabs. 2. In the first tab go to https://softwarefoundations.cis.upenn.edu/lf-current/Basics.html 3. Press Ctrl+= three or four times to increase zoom level. 4. Switch to the second tab and back to first. Alternatively, search for the string "n:nat", click on the link "nat" and go back.

Expected behavior: zoom level is the same as before switching to the second tab. Actual behavior: zoom level is changed to default.

This happens on a minority of web pages but still quite frequently. The same behavior occurs in safe mode.

Problem: Page zoom level spontaneously changes to default when I switch to another tab or follow a link to another page. Steps to reproduce. 1. Open two tabs. 2. In the first tab go to https://softwarefoundations.cis.upenn.edu/lf-current/Basics.html 3. Press Ctrl+= three or four times to increase zoom level. 4. Switch to the second tab and back to first. Alternatively, search for the string "n:nat", click on the link "nat" and go back. Expected behavior: zoom level is the same as before switching to the second tab. Actual behavior: zoom level is changed to default. This happens on a minority of web pages but still quite frequently. The same behavior occurs in safe mode.

所有回覆 (2)

more options

Does toggling browser.zoom.siteSpecific make a difference?

You can disable multi-process windows in Firefox by setting these prefs to false on the about:config page.

  • browser.tabs.remote.autostart = false
  • browser.tabs.remote.autostart.2 = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thanks for your reply.

Setting browser.zoom.siteSpecific = false does help: the zoom is not changed. However, I like that Firefox remembers zoom on sites I visited previously, so I wouldn't want to set this to false.

Setting browser.zoom.full = false does not help. The zoom is changed. Also, I like that the whole page is zoomed and not only text.

browser.tabs.remote.autostart = false: This was the default in my case. Setting it to true does not help, either.

Setting browser.tabs.remote.autostart.2 = false does not help. The zoom is changed.

I found another setting: browser.zoom.updateBackgroundTabs. Setting it to false seems to prevent zoom from changing. I'll see how it goes.