Søg i 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.

Læs mere

Window size not remembered perfectly

more options

Hello, I have the same issue that Ferento posted about here 11 months ago: https://support.mozilla.org/en-US/questions/1355904

When starting a new firefox instance, it starts the window with the same size and position as the last instance had. However, when the last size stretched from top of the screen to the bottom, a new instance will always appear slightly shorter than the height of the screen, leaving a small gap between the bottom of the browser window and the bottom of the screen. The remembered size works perfectly for sizes less than the height of the screen.

The xulstore.json file is not corrupt, as I've tried removing it and altering it, resulting in the same issue. I have also tried changing the window height inside the xulstore.json file to larger than the screen size, and found that it get's cropped to slightly less than the window height, same as my issue above. This has led me to believe that when firefox starts a new instance, the size is cropped so that it doesn't extend past the screen borders. This is good, but the size it gets cropped to is clearly bugged, unless it's intended to crop to less than screen size.

I use a window manager that lets me easily snap windows to each other as well as to the screen borders, so firefox always leaving a slight gap when it starts drives me mad as I have to manually resize it every time.

I use windows 10, firefox 106.0 (64 bit), however I experience the same issue with both firefox developer edition and firefox nightly.

Hello, I have the same issue that Ferento posted about here 11 months ago: https://support.mozilla.org/en-US/questions/1355904 When starting a new firefox instance, it starts the window with the same size and position as the last instance had. However, when the last size stretched from top of the screen to the bottom, a new instance will always appear slightly shorter than the height of the screen, leaving a small gap between the bottom of the browser window and the bottom of the screen. The remembered size works perfectly for sizes less than the height of the screen. The xulstore.json file is not corrupt, as I've tried removing it and altering it, resulting in the same issue. I have also tried changing the window height inside the xulstore.json file to larger than the screen size, and found that it get's cropped to slightly less than the window height, same as my issue above. This has led me to believe that when firefox starts a new instance, the size is cropped so that it doesn't extend past the screen borders. This is good, but the size it gets cropped to is clearly bugged, unless it's intended to crop to less than screen size. I use a window manager that lets me easily snap windows to each other as well as to the screen borders, so firefox always leaving a slight gap when it starts drives me mad as I have to manually resize it every time. I use windows 10, firefox 106.0 (64 bit), however I experience the same issue with both firefox developer edition and firefox nightly.
Vedhæftede skærmbilleder

Alle svar (3)

more options

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 

Greetings, James

more options

techguy150 said

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 Greetings, James

And then do what? I've been to this directory already as you can see if you read my question

more options

Oh hell, the invisible yet visible gap between programs and the frame of your screen. It's a problem with Windows, not Firefox. Even Windows-own programs do not open at the exact same position again. This is just one of the things that perfectly worked in Windows 7 but got broken (on purpose) in Windows 1x.

Afaik there is no solution for this and probably never will be. The only thing you can do is use something like FancyZones (part of the PowerToys) that let's you set window sizes and position zones and drag you programs to these zones. Works like a charm.