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

搜索 | 用户支持

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

详细了解

Firefox doesn't save last window size on OS X 10.* when using dual monitor

  • 4 个回答
  • 9 人有此问题
  • 17 次查看
  • 最后回复者为 Spiky

more options

I have been having problems with the default window size for Firefox 3.* on OS X 10.*. The default behavior would be that new windows are set to the size and position of the last open window. This wasn't the case for me and I tried the things people were suggesting in other forums without success, like: - starting Firefox in Safe mode and resetting toolbar and window settings - moving away the localstore.rdf file

Then I opened the localstore.rdf file in vim and saw that <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"

                  sizemode="normal"
                  screenX="1296"
                  screenY="-295"
                  width="1528"
                  height="1025" />

is correct. That is actually the size that I would like as default. Then I tried this without my second monitor and it started working - Firefox saved the window size and position every time I closed it. But as soon as I reattached my second monitor, it wouldn't work anymore.

Is this a bug or this some workaround?

My setup is a MacBook Pro with a monitor attached. I use the small MacBook display for my dock and some programs and I want my Firefox opened pretty big on my larger monitor. Firefox starts up with OS X. I am running Firefox 3.6.11 on OS X Snow Leopard 10.6.4 The problem is the window size, the position is remembered and set correctly.

If you need any more info please let me know. I would really like to get rid of this problem as I'm a webdeveloper and open and close Firefox all the time. Though resizing the window isn't a large task, it really starts to be annoying.

I have been having problems with the default window size for Firefox 3.* on OS X 10.*. The default behavior would be that new windows are set to the size and position of the last open window. This wasn't the case for me and I tried the things people were suggesting in other forums without success, like: - starting Firefox in Safe mode and resetting toolbar and window settings - moving away the localstore.rdf file Then I opened the localstore.rdf file in vim and saw that <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window" sizemode="normal" screenX="1296" screenY="-295" width="1528" height="1025" /> is correct. That is actually the size that I would like as default. Then I tried this without my second monitor and it started working - Firefox saved the window size and position every time I closed it. But as soon as I reattached my second monitor, it wouldn't work anymore. Is this a bug or this some workaround? My setup is a MacBook Pro with a monitor attached. I use the small MacBook display for my dock and some programs and I want my Firefox opened pretty big on my larger monitor. Firefox starts up with OS X. I am running Firefox 3.6.11 on OS X Snow Leopard 10.6.4 The problem is the window size, the position is remembered and set correctly. If you need any more info please let me know. I would really like to get rid of this problem as I'm a webdeveloper and open and close Firefox all the time. Though resizing the window isn't a large task, it really starts to be annoying.

由phore于修改

所有回复 (4)

more options

Hi, Yes I had this problem, but solved by finding that if you EXIT Firefox, the window will return to the same position it was in at the START of the last session. If you CLOSE Firefox it will save the position it was in at the END of the last session. Regards Tony.

more options

Thanks for your reply. "Close firefox" as in, close the active window by clicking the red dot? If so - that didn't work.

more options

I found a workaround for this problem. Open Settings > General and select "Show my windows and tabs from last time" in the "When Firefox starts" pulldown. While this is not the solution to the problem (which I think is an actual bug), it does work.

由phore于修改

more options

That workaround does not work for me. I use 2 monitors, one a boring monitor that is the primary for the system, the other my projector. I do not turn the projector on unless I am actually going to watch some TV or whatever. Firefox will not start up with a window on my primary monitor, it is always on the projector, even when it is off. "Show my windows and tabs..." will properly restore the websites and windows, but not on the proper monitor.

If I select New Window, that also goes to the projector. I could tolerate this if everything defaulted to the primary monitor, but it is defaulting to the secondary, which is usually off!

由Spiky于修改