I changed the X and Y to be 0 and the width and height to the size of the content area of the pane (1022x737) instead of my monitor, and replaced "maximized" with "normal".
Now when I open firefox with that ~/.mozilla it works as it should.
Now the really strange part... When I tried changing just the sizemode to normal, and leaving the 4 numeric settings shown above as is... it was still buggy (fullscreen).
Could other people try changing these settings to various values in metacity and compiz and see what happens?
OK, I looked through the diff between my working and buggy ~/.mozilla/firefox/ folders.
I first discovered that deleting my ~/.mozilla/ firefox/ xxx.default/ localstore. rdf fixed firefox (and deleted my toolbar customizations).
Then I searched through that file and found the bit that was causing problems:
<RDF:Description RDF:about= "chrome: //browser/ content/ browser. xul#main- window" "maximized" />
screenX="-1"
screenY="-15"
width="1024"
height="768"
sizemode=
I changed the X and Y to be 0 and the width and height to the size of the content area of the pane (1022x737) instead of my monitor, and replaced "maximized" with "normal".
Now when I open firefox with that ~/.mozilla it works as it should.
Now the really strange part... When I tried changing just the sizemode to normal, and leaving the 4 numeric settings shown above as is... it was still buggy (fullscreen).
Could other people try changing these settings to various values in metacity and compiz and see what happens?