This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox will not remember window position and size

more options

I have been having this problem lately where Firefox won't remember the window position and size I assign it to, staying tucked away in the corner. It started when I started to use the [win key] + [arrow keys] to split my screen into 2. The thing is that it will remember the side it was last session, left or right; but it won't remember anything related to size. So every time I open Firefox I will have to manually maximize it which gets old pretty quickly. If I create a new profile it will magically work again but after logging in and importing my settings, bookmarks, etc, it will go back to the same problem. I have already tried reinstalling, disabling extensions and deleting xulstore.json (as well as getting the one from the new profile and replacing the old one). Help!

I have been having this problem lately where Firefox won't remember the window position and size I assign it to, staying tucked away in the corner. It started when I started to use the [win key] + [arrow keys] to split my screen into 2. The thing is that it will remember the side it was last session, left or right; but it won't remember anything related to size. So every time I open Firefox I will have to manually maximize it which gets old pretty quickly. If I create a new profile it will magically work again but after logging in and importing my settings, bookmarks, etc, it will go back to the same problem. I have already tried reinstalling, disabling extensions and deleting xulstore.json (as well as getting the one from the new profile and replacing the old one). Help!

All Replies (2)

more options

https://support.mozilla.org/en-US/kb/changes-toolbars-and-window-sizes-are-not-saved
You may have corrupt xulstore.json file.

Close Firefox. Open your file browser to this hidden location:

  • Mac: *~/Library/Application Support/Firefox/Profiles
  • Linux: *~/.mozilla/firefox/Profiles
  • Windows: %AppData%\Mozilla\Firefox\Profiles
  • *C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles
  • Windows XP: C:\Documents and Settings\<user>\Application Data
    \Mozilla\Firefox\Profiles\

Search for the above file. Then rename or delete it. Restart Firefox.

more options

As I stated in my post I already tried deleting xulstorejson to no avail. And restoring Firefox would work but I don't want to lose my configurations, bookmarks, history, etc.

Modified by arielreuterg