Comment 17 for bug 196058

Revision history for this message
In , Hendrik van Antwerpen (hendrik-van-antwerpen) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)

When a Mozilla window (normal mode) is closed and later restored on a screen which is smaller than the windows saved size, the window is restored in fullscreen mode.

Reproducible: Always

Steps to Reproduce:
Pre: This test assumes a dual-monitor setup, where one monitor is smaller than the other.

1. Open a Firefox (Thunderbird behaves the same) window,
2. Drag it to the bigger screen and enlarge it. It should be bigger than the size of the smaller screen.
3. Close Firefox.
4. Open Firefox, make sure the window is created on the smaller screen (e.g. with the setting 'Create new windows on screen of mousepointer' in Compiz)
Actual Results:
Firefox opens the window in fullscreen mode, so the window has no window decoration.
NB. This fullscreen mode is not exactly the same as the Firefox fullscreen mode achieved by pressing F11. The menubar and location bar still show. Pressing F11 first puts the window in FF fullscreen mode (menubar and locationbar disappear). Pressing F11 again restores the window to normal mode.

Expected Results:
The window is created in normal mode and resized to fit within the screen it is created on. Preferrably respecting system toolbars on that screen.

Tested on Ubuntu 10.04 with GNOME, Xinerama and Compiz.

While the problem is easy to work around with Firefox, with Thunderbird there's no easy way to solve it. Editing or removing localstore.rdf is the only way to get it to behave normal again.