Closed Bug 246117 Opened 20 years ago Closed 19 years ago

'Full Screen' does not support Xinerama

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED EXPIRED

People

(Reporter: msowka, Assigned: bugzilla)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+

When the 'Full Screen' view is activated the browser spans both the desktops in
the Xinerama screens. As far as I remember Firefox behaved correctly in previous
versions.

Reproducible: Always
Steps to Reproduce:
1. Start Firefox in a Xinerama setup
2. Hit F11
3.

Actual Results:  
Browser maximized across both desktops.

Expected Results:  
Should limit itself to one desktop. ;)
I'm using Firefox 0.9.1

I can reproduce this bug in KDE (3.1.2) but not in Fluxbox (CVS). KDE is
xinerama-aware but lets maximized windows take up all the desktops. Fluxbox
restricts them to one desktop. 
Therefore I'd suggest you to check a WM like fluxbox. Version 0.9.9 and CVS have
some issues (that I'm currently patching) with maximizing, but it won't spawn
the all your desktops. Don't forget --enable-xinerama when compiling.

If that runs as I expect, I'd pass this bug to your WM.
I get the same results using OpenBox.  F11 will span both monitors.  I posted
this question to the OpenBox mailing list and they had this to say:

"This is a bug in firefox, it isn't using the _NET_WM_FULLSCREEN protocol,
just making its window large."
I am not sure if this is a related bug, but my problem is with incorrect window
sizing and orientation when I attempt to maximize a Firefox window on Fluxbox
with Xinerama enabled.

I'm running Fluxbox 0.9.10-r3 with Xinerama on Gentoo Linux with kernel
2.4.26-r9 (the r modifiers are Gentoo specific, FYI). My left monitor is
1280x1024, while my right monitor is my laptop screen at 1024x768. Firefox
version is Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041004
Firefox/0.10.1. X version is xfree-4.3.0-r7, with DRM version xfree-drm-4.3.0-r7.

When I first launch Firefox, the resultant window spans part of both desktops in
approximately the horizontal centerpoint of both screens. Oddly enough, the menu
bar and a bit of the window below are not visible, because the window placement
is slightly above the top of my left screen. I can maximize the window using a
keyboard command; it will then maximize and orient itself properly on the left
(larger) screen. If I move the window with or without resizing it to my right
(smaller) screen and attempt to maximize it again, instead of resizing and
orienting to fit the smaller screen, it maximizes to the incorrect initial size
and orientation as described at the beginning of this paragraph. If I
subsequently attempt to maximize the incorrectly placed window using the same
keyboard command, it will size and orient itself properly on the left (larger)
screen.

Comment: It is likely that the initial size and orientation of the first window
at startup are a result of my usually keeping Firefox on my right screen; when
it starts up, it attempts to maximize itself, which then shows the incorrect
behavior.

I used to run Mozilla on this laptop, and still have it installed [version:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922]. Its windowing
behavior on the same machine was absolutely correct.

Reproducible:
Always

Steps to Reproduce:
1. Launch Firefox.
2. Observe incorrect window placement.
3. Execute window manager command MaximizeWindow
4. Window will maximize properly to the larger screen.
5. Move (w/ or w/o resizing) window to smaller screen.
6. Execute window manager command MaximizeWindow
7. Window will maximize to incorrect position spanning part of both screens.
8. Execute window manager command MaximizeWindow
9. Window will maximize properly to the larger screen.

Actual Results:
If window is on smaller screen, executing MaximizeWindow will result in
incorrect window size and orientation. If window is on larger screen, executing
MaximizeWindow will result in correct window size and orientation.

Expected Results:
Executing MaximizeWindow should result in the window filling the screen on which
it is currently located.

Please feel free to move this comment to a new or different bug, if my issue is
unrelated.

Thanks.
Forgot to add this information to my previous comment:

Using F11 (Full Screen view) causes the same window size/orientation problem
that I see when I execute MaximizeWindow. I think that the problem is not with
F11, but with an underlying interaction between Firefox and the window manager.
blocking for bug 236647 (general Xinerama support).
marking 236354 as duplicate.
Blocks: multimon-win
*** Bug 236354 has been marked as a duplicate of this bug. ***
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
I upgraded KDE yesterday from 3.4-something to 3.5.0.  After restarting, firefox (1.5) no longer fullscreens to one xinerama screen only, which is my preferred behaviour.  I want to use either F11 or a KDE "fullscreen without borders" hotkey to expand firefox to cover an entire screen.  When I fullscreen today, it covers both my screens.  
Fedora Core 4, X.Org version: 6.8.2
I have no idea whether this is a KDE, Xorg or firefox bug, but they seem to be incompatible wrt xinerama fullscreen after my upgrade to KDE 3.5.0.
You need to log in before you can comment on or make changes to this bug.