After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136288 - JavaScript fails to resize window
JavaScript fails to resize window
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 331304 425880 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-05 15:30 UTC by Morten Brix Pedersen
Modified: 2009-08-21 22:23 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Morten Brix Pedersen 2004-03-05 15:30:42 UTC
On the URL:

   http://www.skrumpen.dk/

When you click the lock icon in the upper-right corner, the new epiphany
window just hangs.

In Mozilla 1.6, and Firefox 0.8, the new window gets resized to the correct
size and the window gets displayed.
Comment 1 Christian Persch 2004-03-05 16:40:48 UTC
This works in TestGtkEmbed, so it's a epiphany problem.
Comment 2 Marco Pesenti Gritti 2004-03-05 17:31:04 UTC
With current gtk api there is probably no way to make it work.
TestGtkEmbed way of implementing it doesnt allow to make the user to
make window smaller anymore and will not shrink the window when size
is decreased.
FWIW I heard rumors of next IE not allowing this.
Comment 3 Morten Brix Pedersen 2004-03-05 17:49:36 UTC
Even though the window resizing can't be implemented, shouldn't it at least show the 
contents of the window, instead of nothing?
Comment 4 Marco Pesenti Gritti 2004-03-05 18:35:31 UTC
Bah I think I misunderstood the problem. I'll look at it.
Comment 5 Marco Pesenti Gritti 2004-03-05 19:32:28 UTC
Well it was actually the problem I said before, that site js is evil ;)
The rendering problem is something with mozilla. Try to open the
login.php directly in mozilla itself and you will see it does weird
things.
Comment 6 Morten Brix Pedersen 2004-03-05 19:42:46 UTC
I'm not competent enough to make a decision on whether this is a bug
that should be fixed or not, or whether it should be forwarded to Mozilla.

The only thing I can say, is that the site works in Mozilla, FireFox,
Konqueror, Safari, Internet Explorer, Opera - but not in Epiphany.
Comment 7 Marco Pesenti Gritti 2004-03-05 19:49:00 UTC
The resize window problem _is_ an epiphany bug.
The web site javascript is wrong (and it gives bad results on mozilla
too, the window resizing is visible), but that's not very relevant

The rendering problem is in mozilla, as you can easily see from the
test I suggested, and we cant do anything about it (apart reporting a
bug).

If resizing would work it would hide the rendering problem (try to
resize the window manually).
Comment 8 spark 2004-03-06 13:36:34 UTC
Btw, Mozilla offers the pref dom.disable_window_move_resize which i
always have turned on along with dom.disable_window_status_change to 
prevent websites resizing/moving current windows and changing status
bar text because it's irritating. So perhaps we shouldn't allow resizing
anyway?
Comment 9 Christian Persch 2004-07-29 10:24:00 UTC
Same as galeon bug 67866 -> http://bugzilla.mozilla.org/show_bug.cgi?id=117756 .
Comment 10 Christian Persch 2004-08-23 15:17:49 UTC
-> Mozilla interaction
Comment 11 Christian Persch 2004-10-13 10:54:44 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 12 Reinout van Schouwen 2005-04-16 10:55:27 UTC
Could this be the same problem as what you can see in
http://www.trouw.nl/digitalekrant/today.html ? Click one of the articles, and
you see a popup window with an image of the article, but the image gets
distorted and no scrollbars are drawn. In Firefox, the window resizes itself to
the dimensions of the image.
Comment 13 Reinout van Schouwen 2006-01-14 00:11:03 UTC
Reproducing this in 1.9.4 with ff 1.5. Disregard comment #12.
Comment 14 Reinout van Schouwen 2006-04-27 08:57:16 UTC
*** Bug 331304 has been marked as a duplicate of this bug. ***
Comment 15 Diego Escalante Urrelo (not reading bugmail) 2007-04-04 05:38:57 UTC
*** Bug 425880 has been marked as a duplicate of this bug. ***
Comment 16 Diego Escalante Urrelo (not reading bugmail) 2007-04-04 05:40:01 UTC
Still happens on svn trunk. Updating version fields.
Comment 17 Daniel James 2007-05-18 01:14:42 UTC
Pleeease fix this if possible. I'm a web developer, I would definitely prefer to use epiphany over firefox, but javascript window resizes are important for some applications..
Comment 18 Patrik Linell 2008-06-24 17:28:04 UTC
Seeing this too since I updated to Ubuntu 8.04. Windows that used to be sized to conveniently show the information are now maximized (example: www.tv.nu; click one of the program links).
Comment 19 Javier Jardón (IRC: jjardon) 2009-08-12 21:46:47 UTC
You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you.

Can you please check again if the issue you reported here still happens in a recent version and update this report by adding a comment and adjusting the 'Version' field?

Again thank you for reporting this and sorry that it could not be fixed for the version you originally used here.

Without feedback this report will be closed as INCOMPLETE after 6 weeks.
Comment 20 Reinout van Schouwen 2009-08-12 22:04:55 UTC
Looks like this is fixed in 2.27.90 with the WebKit backend. Can anyone confirm?
Comment 21 Morten Brix Pedersen 2009-08-13 08:15:20 UTC
Unfortunately, I cannot check whether this bug still exists since I don't use Linux or Epiphany any more.

Should be pretty simple for others to reproduce it though (the original site HTML hasn't changed).
Comment 22 Gustavo Noronha (kov) 2009-08-21 22:23:15 UTC
Yep, this is fixed in 2.27.x (WebKitGTK+ doesn't have the problem).