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

The "xulstore" window resizing problem

  • 8 प्रत्युत्तर
  • 1 यह समस्या है
  • के द्वारा अंतिम प्रतियुतर lillsascha

more options

Since some time, Firefox (currently 89.0) on Windows 10 automatically reduces the window size from "fullscreen" to "maximized" when re-opening it from another program. So I have to wait until the window size reduction is complete before having to re-enlarge it again (which is quite annoying)

After a short web search, it turned out that this window size reduction is caused by the "xulstore.json" file in the profile folder and several other users are also reporting this issue. However, none of them in the forums I visited knew a permanent solution. I unsuccessfully tried the following:

  • When I delete "xulstore.json", the window size reduction problem goes away only to re-appear after a few re-openings of Firefox (as the xulstore file is re-established then).
  • Editing the xulstore file did not work, as Firefox overwrites it.
  • Denying Firefox writing permission (via Windows) also doesn't work, as Firefox creates a temporary copy of the xulstore file which again causes the resizing problem.
  • Denying access to this temporary copy does not work either.

It seems like Firefox does everything possible just to keep the resizing problem persisting. Is there any permanent solution (different from the failed solution attempts above)? Or even better: could you remove the automatic resizing in a coming version update of Firefox? It seems like I am not the only one who would be grateful about this.

संलग्न स्क्रीनशॉट

All Replies (8)

more options

By full screen, do you mean what happens when you press F11 or are you using a button in the page, for example, on a video player?

What do you mean by "re-opening it from another program"? Do you mean you exited out of Firefox, and instead of starting it from its own shortcut, you are starting it from an external link, for example, in a mail program or in Acrobat?


more options

"Full screen" refers to the mode you can choose with the three symbols in the upper right corner of a window. The right of these three symbols closes the program, the left one minimizes and the middle one toggles between "covering the entire screen" and "smaller with adjustable size". No F11 is involved.

I think, what I called "full screen" is actually called "maximized" and what I first named "maximized" is called "restore down" (my apologies for that). I just confused both as I am operating Firefox in the "smaller with adjustable size"-mode and made the window almost cover the entire screen (which is the best I could do without getting automatic resizings)

Re-opening from another program means, I have another program in the "covering the entire screen"-mode (e.g. Thunderbird when writing en e-mail) and switch to Firefox by hovering over the symbol in the task bar (such that the different tabs appear above it) and then selecting the corresponding tab. The selection of the tab is exactly when Firefox automatically "restores down" a "maximized" window.


more options

Okay, I think I understand now:

  • You are using a maximized window in Firefox
  • You switch to another application (for example, by clicking its Taskbar button or using Alt+Tab) that also is using a maximized window
  • You switch back to Firefox by hovering over its Taskbar button and clicking either a thumbnail or a list item for an open tab [I assume you are using the setting "Show tab previews in the Windows taskbar" so that you can see more than one tab per window in the list]
  • BUG: The Firefox window visibly changes from a maximized window to a resizable window during the switch

I think that definitely should not happen, and I don't have a good theory as to why it is happening.


more options

Exactly, you understood it perfectly right.

There must be some code lines which tell Firefox to read the resizable window dimension and position from the xulstore file, and to resize the window correspondingly. The problem with windows not being maximized as expected seems to be quite common (although the situation is in most cases a fresh start of Firefox rather than a change from another program):


more options

lillsascha said

EThe problem with windows not being maximized as expected seems to be quite common (although the situation is in most cases a fresh start of Firefox rather than a change from another program).

Those threads are different:

(1) New windows use a "default" size when you set privacy.resistFingerprinting to true in about:config -- I don't see anyone reporting that this causes maximized windows to resize when you switch to them (also, you are not using this setting)

(2) Maximized state not restore at startup because sizemode was not updated to maximized in Firefox 50 on Linux -- does not appear to be a problem on Windows 10 today

There was an interesting hint here:

I've found that new windows are only started maximized if no other Firefox window currently has fullscreen video (i.e. Netflix). Source:

However, I don't know whether you have any full-screened media windows open and the user didn't mention that an existing window would change from maximized to resizable.

So your bug sounds like something new.

If you keep your old xulstore.json file (you can rename it xulstoreOLD.json) when creating a new one, when you compare the files between one associated with the problem and one that works normally, do you notice any specific differences?

I use the program WinMerge for this kind of comparison, although it can be a bit hard to follow when a file is just one long line...


more options

To start with, the bug appears without any media in fullscreen mode.

However, it only appears, when changing from any other (non-Firefox) program in "maximized" mode to Firefox. If the window of the other program is not "maximized", then Firefox stays in the "maximized" mode when changing to it.

Concerning the xulstore, I do not have an example of a working one. The only thing I noticed is that after making Firefox maximized, the 5th entry in the xulstore file "sizemode": is always "maximized" (I guess this is how it should be). After triggering the bug (which resizes the window) and while the window is still resized, the entry reads "sizemode":"normal". This is the only difference occurring under the bug. Of course, one can also change the "screenX" and "screenY" variables by shifting the resized window around. But the "sizemode" seems to be automatically set to "normal" by the bug.

The problem also only seems to appear when changing to Firefox by hovering over the task bar and then selecting one of the appearing thumbnails of the tabs. It does not occur under program change by Win+Tab.


more options

Have you noticed any popup or pop-under windows opening? Wondering whether that might change the sizemode. ??

I suggest filing a bug:


more options

Nope, there have been no pop-ups or pop-unders. The window just resizes.

I submitted the bug to bugzilla now (

Until there is a solution, I guess it might be a temporary solution to keep the window in "normal" mode and resize it such that it almost covers the entire screen.


प्रश्न पूछें

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.