FF 22 not saving window size
When I use Firefox I have the top, bottom and left edges of the browser slightly off the screen so I can't see them. These edges are a few pixels wide but I find them distracting. I don't use the browser full screen as I have a couple of gadgets which I need to have visible running on the right side of the screen. It's Windows 7 Home Premium x64.
I now have a bit of a problem. Today I upgraded from Firefox 21 to FF 22, and try as I might, every time I start the browser now, all 4 edges of the browser are visible. I have to click and drag top, bottom and left edges slightly off the screen to get it back to the way I want. I only ever had to do this once in all previous versions of FF and when the browser was restarted it would remember the previous setting. The trouble now is that it's not remembering this.
Any ideas anyone? I've tried Troubleshooting Information -> Reset Firefox to its default state but it hasn't made any difference.
It sounds like a small thing, but as I'm using a 12-inch laptop every bit of screen real estate counts, and it is annoying.
Additional System Details
- Adobe PDF Plug-In For Firefox and Netscape 11.0.03
- IE Tab 2 Plug-in for Mozilla/Firefox
- Shockwave Flash 11.6 r602
- User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
This might be an intentional change. To test that theory, you could create a new Firefox profile. In addition to bypassing current themes, extensions, and custom settings, it should have completely fresh settings databases and a fresh cache folder.
This only takes a minute, and you can easily switch back to your normal profile. But resizing the window in the new profile, exiting, and starting will shed light on this problem.
Ready to go?
This article describes the steps to start up Firefox in the Profile Manager (you do have to fully exit Firefox first): Profile Manager - Create, remove, or switch Firefox profiles.
Tips on the Profile Manager:
- To avoid data loss, accept the proposed new profile folder location and do not point it to any existing folder that contains any files.
- You will return to the profile manager whenever you want to start up in a different profile.
- I recommend keeping the test profile around for future use, but if you do want to delete it, be careful not to delete a profile containing actual data. There's no Undo.
Will Firefox remember the desired window size in the new profile?
Modified by jscher2000
Thanks for your quick reply.
No, unfortunately it doesn't save the settings using the new profile :(
Why on earth would they make this intentional? It's really annoying.
Some users have difficulty with resizing a window where the lower frame is hidden behind the task bar?
Perhaps can add-on can solve this. (Many aspects of Firefox's appearance can be modified with style rules, but I'm not sure about the size of the window itself.)
As a short-term workaround, you could try this keyboard sequence to expand the window size downwards:
Alt+spacebar s down arrow Enter
To reverse that:
Alt+spacebar s down arrow up arrow Enter
I'm not actually having difficulty resizing the window, it's just the fact that I *have* to resize it every time I start FF as a result of whatever it is that they have changed in FF22. If it's maximized the window borders disappear, but as I need the gadgets, maximizing isn't an option.
Thanks for clarifying. I assumed you had to do this repeatedly during your session with new windows. If Firefox only forget the desired position/size between sessions, I think I'll set this aside and see whether someone else has a good solution before doing further research.
Sorry for any confusion, but thanks for the advice anyway :)
Final question - why do you think this may be an intentional change? what purpose would it serve?
It's not an uncommon problem here that the window position information in localstore.rdf (a settings file) becomes corrupted resulting in the window actually being completely off the screen. It could be that to resolve that issue, any values that place any part of the window off the screen are adjusted to prevent that. But that's just a guess. I'm sure the answer can be found in the bug tracking system somewhere.
You can check for problems caused by a corrupted localstore.rdf file.
Try to disable hardware acceleration in Firefox.
- Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
This is not a corrupt localstore issue, it seems to be a new Firefox feature to prevent windows being opened offscreen at startup.
I have posted the following bug in reference using virtual desktop managers in Windows.
Is there any way to revert to the behaviour from previous releases?
Modified by islisis
Thanks for that islisis - this is driving me mad as because of the colour scheme I'm using I have a bright white border all around FF, which is annoying and distracting unless I drag the borders off the screen.
I (along with several friends and work colleagues) have reverted to v21 until this is fixed.
Hopefully it *will* be fixed.
2 versions later (24) and the window position issue is still not fixed. It would be nice to at least provide a behaviour regression option in new versions, since repositioning restored sessions is a major hassle.
Most likely this is an intentional change. It's normal behavior for applications to resize/reposition to the visible area of the screen if a previously saved position is out-of-bounds.
Probably not what you want to hear, but most applications work this way. It prevents a whole range of problems with windows in whole or in part being restored "off-screen", not in the least with extended desktops over multiple monitors, potential security issues with "hidden" windows running off-screen, etc.
IMHO this change is fixing something, not breaking something.