Open Bug 624125 Opened 14 years ago Updated 2 years ago

Window restored on smaller screen switches to fullscreen mode

Categories

(Core :: XUL, defect)

x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: hendrik, Unassigned)

References

Details

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.
Version: unspecified → 1.9.2 Branch
Version: 1.9.2 Branch → unspecified
Just hit this. You can find the location in localstore.rdf where sizemode="fullscreen", and set it back to "normal", which (other than deleting the file entirely) seems to be the only way to address this in thunderbird.
Also affects Thunderbird 17. I think Thunderbird shouldn't ever go to fullscreen, since there is no way to restore the normal view besides editing the localstore.rdf file.
Balthazar Rouberol added the following comment to Launchpad bug report 196058:

I'm on Gnome Shell 3.6.2, using Thunderbird 17. Modifying the localstore.rdf inplace did not help: Thunderbird kept resetting the values. However, renaming localstore.rdf to localstore.rdf.old and rebooting TB solved this issue for me, as suggested in https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/196058/comments/21

A brand new localstore.rdf file was created, without the "fullscreen" setting.

-- 
http://launchpad.net/bugs/196058
Same here,
and lot of documentation here : https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/196058

Solution to get out of blocked state here :
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/196058/comments/13
(replace "fullscreen" with "normal" and adapt coordinates and sizes)
but this probably doesnt prevent the blocked situation to come back.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.