Comment 44 for bug 99740

Revision history for this message
Jason Woofenden (jason210) wrote : Re: Firefox problems with desktop-effects

Saïvann Carignan,

Can you think of any reason why javascript should be able to request that the a window be places such that the top of it's content was even with the top of the screen? (And that request should be taken seriously by firefox?)

Metacity ignores this request because it is unreasonable. I think firefox shouldn't be sending unreasonable requests on behalf of javascript, especially if it confuses some window managers.

Firefox going fullscreen because of javascript is the result of BOTH of these:

1) Firefox requests unreasonable screen coordinates if javascript asks, including the set of coordinates specifically designed to trigger fullscreen mode.

2) Compiz and wmii (and probably others) support "legacy fullscreen support" which mean's they'll put a window into fullscreen mode if you request the exact coordinates that would have it cover the whole screen.

One of those has obviously gotta give. The one that seems more like the bug to me is firefox. The "legacy fullscreen support" is there on purpose. The javascript thing is yet another case of website authors tricking the browser into doing something it should not do unless the user requests it.