Quote: Originally Posted by registerme
Well I have firefox open on both monitors (I drag the tab I want to watch to the secondary screen). I close the tab / new window when I'm finished watching and if I close / open a new firefox instance, it reopens on the secondary screen, even tho the main screen-firefox was closed the latest. And even if I move it back to the main screen, it still opens on the secondary monitor sometimes.
Sometimes it takes a while for Firefox (or IE for that matter) to exit RAM - the window might be gone, but FireFox is still running..... so, Firefox might not be closing in the order that you think it is.
Anyway, I tried for hours to reproduce what you described - but Firefox always opened on the last screen that it was closed from. I even tried playing some flash streams in the second monitor in the hopes that I could get flash and the plugin app to hang and reproduce what you see at time - but it never happened.
The location of the last Firefox window closed is written to in "C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles\<random>.default\localstore.rdf
". I thought that I had a solution for you - add the read only file attribute to that file and Firefox would not be able to change it. Sadly, Firefox was able to delete and recreate the file.
It appears that Firefox can get around everything I can think of to prevent it from changing that file. (e.g changing NTFS ownership and denying everything but read permissions). Maybe other forum members have a suggestion on how to lock that file.
What I can suggest - is to use a script to automatically delete that file after Firefox closes. That should place next new Firefox window in the default location - like a fresh install.