cancel
Showing results for 
Search instead for 
Did you mean: 

Changes to toolbars and window sizes are not saved

In some instances, Firefox may not remember changes you've made to your toolbar settings or certain other configuration changes, like window size or position.

This article explains how to fix the underlying problem that may result in one or more of the following symptoms:

  • You have added, rearranged or removed buttons from your toolbar, but the changes are not saved when you restart Firefox.
  • You have resized or moved the browser window, but the new size and position are not remembered when you restart Firefox.
  • You cannot save new bookmarks.

Here are two ways that you can solve the problem:

Solution 1: Delete xulstore.json file

You may have a corrupt xulstore.json file in your Firefox profile. You can delete this file so that Firefox can create a new one.

  1. Click the menu button New Fx Menu , click help Help-29 and select Troubleshooting Information. The Troubleshooting Information tab will open.

  2. Under the Application Basics section, click on Show FolderOpen FolderShow in FinderOpen Directory. A window with your profile filesfolder will open.
  3. Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
  4. Close Firefox:Click the menu button New Fx Menu and then click ExitQuit Close 29 .
  5. Locate and delete the file xulstore.json (or rename it, for example, to xulstore.jsonOLD, to keep the old file as a backup).
  6. You can close the profile folder and open Firefox now.

Solution 2: Refresh Firefox

If you don't want to try the first solution or if it didn't work, the Firefox refresh feature will automatically restore default toolbar settings and browser window size or position, and will also remove add-ons (extensions and themes) that could be interfering.

Note: When using the refresh feature, your bookmarks, browsing history, open tabs, windows, passwords, cookies and web form auto-fill information will be saved. However, your extensions and themes will be removed and your preferences will be reset. Learn more.

  1. Click the menu button New Fx Menu and then click help Help-29 .
  2. From the Help menu choose Troubleshooting Information.
    If you're unable to access the Help menu, type about:support in your address bar to bring up the Troubleshooting Information page.
  3. Click the Refresh Firefox button in the upper-right corner of the Troubleshooting Information page.
    Refresh 35 Win Refresh 35 Mac Refresh 35 Lin
  4. To continue, click Refresh Firefox in the confirmation window that opens.
  5. Firefox will close to refresh itself. When finished, a window will list your imported information. Click Finish and Firefox will open.
Note: There's also a Refresh Firefox button in the Firefox Safe Mode window, if you can't start Firefox normally. If you are unable to find the Refresh Firefox button on your version of Firefox, you can also do a manual refresh by creating a new profile. See instructions on how to create a new profile.

Customize this article

Firefox

Firefox for Android

Firefox for iOS

Firefox OS

Thunderbird

Version History
Revision #:
3 of 3
Last update:
3 weeks ago
Updated by:
 
Comments

See /forums/knowledge-base-articles/704991 for related discussions about this article.

This article covers other problems caused by a corrupt localstore.rdf file, not just toolbars being reset. See Changes to toolbars and window sizes are not saved which is archived ... but it was the solution to this recent question:

I see in http://kb.mozillazine.org/Safe_Mode#Safe_Mode_options the "Reset toolbars and controls" option is described like this: Reset toolbars and controls (Firefox, Thunderbird) or Reset toolbars and window sizes (SeaMonkey) - Removes any toolbar customizations you may have made via the "Customize Toolbar" dialog. Also restores default window size/position and tree sort order and resolves various localstore corruption issues .

I think we should rename this article to something like,
"Toolbar changes or window settings are not saved"
... and then redirect Changes to toolbars and window sizes are not saved to this article.

In any case, I think that Changes to toolbars and window sizes are not saved should be unarchived and redirected here.

I un-archived Changes to toolbars and window sizes are not saved and redirected it to this article.

Starting in Firefox 15, Troubleshoot Firefox issues using Safe Mode will no longer include the option, Reset toolbars and controls (or any of the other checkboxes) and will simply offer the options to continue in Safe Mode or Reset Firefox. Instead of using Safe Mode, users can delete the localstore.rdf file from the Firefox profile folder to resolve issues caused by localstore.rdf corruption.

See Bug 732303 - Redesign safe mode dialog with the profile reset option and comment 26. Related discussion:

See also:

Gilek

A Problem and a Solution

I spent several minutes making changes to my toolbar. I closed and reopened Firefox. All the changes were gone.

I searched Mozilla support for a solution, but this article was not sufficient. One other article suggested starting a new profile. Both of these articles solutions would mean spending lots of time reapplying all of my extensions and preferences I had before.

Finding no answer to this issue in these support pages or elsewhere, I eventually thought that one of the add-ons such as NoScript might be preventing the changes I wanted to permanently make to the toolbar. So I did the following:

{note}Note: Browser background add ons have caused this issue before. To see if this is the problem do the following. Add an icon to your toolbar. Disable the browser background extension. Close Firefox. Reopen Firefox. If the Icon you added to the toolbar is still there then you will know that it was simply that add on which was causing the problem.{/note}

(I wrote that in a way that can be easily added to the article. If that note had been in the article, it would have solved the problem; please add it).

Once I disabled Browser Background 8.7, all of my changes to the toolbar remained after opening and closing the browser multiple times.

Thank you for listening I hope this helps Gilek

Glad you got this solved!

However, you've posted in the wrong part of the forum. This part is for discussing on how to improve the Knowledge Base Article: Changes to toolbars and window sizes are not saved

I'll be closing this thread.

Gilek, disregard the above comment from Moses B. You actually did post your suggestion for improving this article in the right place. I reopened this thread.

I thought about adding your suggestion to this article but decided against it, since it's very specific to a certain add-on that's causing changes to the toolbar not to be saved. Other extensions might cause the problem but the main cause is a corrupt localstore.rdf file (a Firefox reset will fix both).

As noted at the bottom of this article, this article was originally based on information from Corrupt localstore.rdf (mozillaZine KB). We could add back information about deleting that file or we could suggest disabling all extensions as an initial troubleshooting method but I think it would make the article too complicated.

Gilek, forget I said anything.

Alice, that's entirely my fault. I didn't notice the editing tags. Thanks for unlocking.

Gilek

Thanks for all the work you do here friends. I am grateful that there is a support site.

  I see what you are saying Alice.  Thank you for taking the time to explain it.

___  : )

FredMcD has added a section to this article to delete the xulstore.json file.

In 2012, instructions to delete localstore.rdf were replaced with instructions to reset Firefox.

As I understand it, resetting Firefox will fix a corrupt xulstore.json. Have there been instances of deleting xulstore.json fixing the problem after resetting Firefox has not fixed it?

While resetting Firefox is a nice option, it is also a pain. While it may remove corrupt files, it also removes much of the profile. There have been cases where reset removed the files that should have been copied to the new profile.

And of course, there is the removal of add-ons and other things.

Are there any instances of users being upset with either solution, or not understanding either solution?

Looking at the helpfulness votes for this article before and after the change on August 1, 2012, the helpfulness was declining beforehand, and the edit didn't stop that decline.

Anyone else have an opinion?

I agree with Fred. We should suggest deleting the xulstore.json file as an alternative solution, just like we do in the Reset Firefox preferences to troubleshoot and fix problems article. It's less destructive than a refresh.

I see from a forum search that we already suggest deleting the xulstore.json file. Example: https://support.mozilla.org/en-US/questions/1094623 Firefox window open minimized and can't be restored nor maximized

I have a new revision pending.

I have told many to delete the xulstore.json file as a response Most of the time, it works.

Alice, may I ask you to change solution order?

Deleting the xulstore.json file is quick and easy. Resetting Firefox could be a bit overkill.

FredMcD said

Alice, may I ask you to change solution order? Deleting the xulstore.json file is quick and easy. Resetting Firefox could be a bit overkill.

OK, I'll make a new revision.

Thank you. Looks good.

I'm sorry I wasn't clear enough. I understand that deleting xulstore.json is known to work. Resetting your profile is not a separate solution; it's just a different way of deleting xulstore.json. That's why it replaced the solution to delete localstore.rdf in 2012. The question in this thread is which method is more helpful. Unless there are instances where deleting xulstore.json doesn't work, then resetting the profile does, there's no need to both solutions.

Hopefully localizers will see this thread before adopting the recent changes. :(

Chris, I think that deleting xulstore.json is a better solution since it leaves the rest of the profile intact. Since we disagree, having two solutions where the user can decide is better than having only one solution, refreshing Firefox, especially for people with a lot of add-ons or other customizations.

As I mentioned above, we DID add deleting the prefs.js and user.js files as an alternative solution to the Reset Firefox preferences to troubleshoot and fix problems article, after this discussion.

P.S. Just wanted to add that our Firefox Support troubleshooting guide also gives both solutions. See https://support.mozilla.org/en-US/kb/firefox-support-troubleshooting-guide#w_reset-xulstore-or-local...

Chris Ilias said

Unless there are instances where deleting xulstore.json doesn't work, then resetting the profile does, there's no need to both solutions.

Solution 2: Refresh Firefox does mention a possible instance of that occurring:

Firefox's refresh feature will reset toolbar preferences and remove add-ons that could be interfering.

AliceWyman said

Since we disagree,

I'm not disagreeing. Sorry if I gave that impression.

Each method has its pros and cons, and I'm not sure which one is better. That's why I prefer to look at data like helpfulness votes and instances of user issues with either method. I haven't seen compelling data suggesting one method has resulted in a better user experience vs the other method.

FredMcD said

I have told many to delete the xulstore.json file as a response Most of the time, it works.

Chris Ilias said

I'm not disagreeing. Sorry if I gave that impression. Each method has its pros and cons, and I'm not sure which one is better. That's why I prefer to look at data like helpfulness votes and instances of user issues with either method. I haven't seen compelling data suggesting one method has resulted in a better user experience vs the other method.

We disagree in that you want to show only one solution ... the one that you believe is the most helpful (assuming both solutions work). I think we should include both solutions and let the user decide.

In other words, even though the Refresh Firefox solution covers all bases by deleting the xulstore.json file AND resetting other preferences AND removing add-ons, some users (those with many add-ons or other customizations) may find the cure is worse than the illness. Those users should be given the option to try a less drastic solution if it has a good chance of working.

Maybe to add an note that deleting the xulstore.json file is not for so techy users ? Most "ordinary users" don't want to mess with files in profile folders.

AliceWyman said

In other words, even though the Refresh Firefox solution covers all bases by deleting the xulstore.json file AND resetting other preferences AND removing add-ons, some users (those with many add-ons or other customizations) may find the cure is worse than the illness. Those users should be given the option to try a less drastic solution if it has a good chance of working.

"the cure is worse than the illness" i love that, yes life is dead without humor.

but it is true in this situation(to Refresh Firefox), you are trying to fix a simple issue(Changes to toolbars and window sizes are not saved) and you begin another one(removing add-ons etc).

thank you

ideato said

Maybe to add an note that deleting the xulstore.json file is not for so techy users ? Most "ordinary users" don't want to mess with files in profile folders.

I don't think we need a note. The sentence I added to the intro, "Here are two ways that you can solve the problem:" should be good enough. People who are uncomfortable with deleting files can use the other solution and Refresh Firefox.

On second thought, maybe some more information should be added. I made a new revision, to include changing the first part of Solution 2 to the following:


If you don't want to try the first solution or if it didn't work, the Firefox refresh feature will automatically restore default toolbar settings and browser window size or position, and will also remove add-ons (extensions and themes) that could be interfering. <snip>


I left my revision pending review.

AliceWyman said

On second thought, maybe some more information should be added. I made a new revision, to include changing the first part of Solution 2 to the following:

If you don't want to try the first solution or if it didn't work, the Firefox refresh feature will automatically restore default toolbar settings and browser window size or position, and will also remove add-ons (extensions and themes) that could be interfering. <snip>


I left my revision pending review.

+1, seems fine for me, Chris ? Fred ?

Looks good to me. BTW; you have some extra spaces in the change.

FredMcD said

Looks good to me. BTW; you have some extra spaces in the change.

I only found one extra space in the latest change but I found two more in the article. I made a new revision.

AliceWyman said

We disagree in that you want to show only one solution ... the one that you believe is the most helpful (assuming both solutions work). I think we should include both solutions and let the user decide.

Okay sorry, this was my bad. I don't care if we show more than one solution; I care about data. I read your response, and thought "If she thought there was disagreement, why did she approve the edit?" Then I review the article review guidelines, and found that it says to go ahead and approve edits on articles with less than 100,000 visits per month. Now it makes sense.