I can't reproduce by following the exact instructions given here, but see the exact same symptoms by following these steps:
Way to reproduce:
1. Make sure Metacity is the window-manager (ie. disable desktop effects)
2. Open firefox
3. Reduce the window size to cover only a part of the desktop.
4. Open up another window, for example your home folder, and place it on part of the screen that is currently not covered by firefox
5. Maximize firefox
6. Restart firefox
7. Unmaximize firefox. It will return to the size decided in 3).
8. Click the other window opened in 4) to switch focus to it.
9. Click the firefox window. Focus returns to firefox, but in the same time it changes the "unmaximize size" to cover the whole screen. The size from 3) is now forgotten.
This is on Ubuntu 8.10, metacity 2.24.0, Firefox 3.0.6
For what it is worth, it seems that it works as it should on Debian Lenny with metacity 2.22.0, Iceweasel 3.0.6. When I try there Iceweasel does not resize at step 9, and does not forget its "unmaximize size".
I can't reproduce by following the exact instructions given here, but see the exact same symptoms by following these steps:
Way to reproduce:
1. Make sure Metacity is the window-manager (ie. disable desktop effects)
2. Open firefox
3. Reduce the window size to cover only a part of the desktop.
4. Open up another window, for example your home folder, and place it on part of the screen that is currently not covered by firefox
5. Maximize firefox
6. Restart firefox
7. Unmaximize firefox. It will return to the size decided in 3).
8. Click the other window opened in 4) to switch focus to it.
9. Click the firefox window. Focus returns to firefox, but in the same time it changes the "unmaximize size" to cover the whole screen. The size from 3) is now forgotten.
This is on Ubuntu 8.10, metacity 2.24.0, Firefox 3.0.6
For what it is worth, it seems that it works as it should on Debian Lenny with metacity 2.22.0, Iceweasel 3.0.6. When I try there Iceweasel does not resize at step 9, and does not forget its "unmaximize size".