Closed Bug 42035 Opened 25 years ago Closed 25 years ago

[X11] browser windows are opened too small, then resized

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: fosterd, Assigned: pavlov)

References

Details

This appeared in 2000060820. When a new browser window is opened, the size is set to 200x200 pixels. Then mozilla resizes the window to the correct size. This is a problem because the window manager is free to place the original window anywhere a 200x200 window will fit, including to the left or bottom of the screen. If the window is over there, most of it will end up offscreen when mozilla resizes it. Solution: put the correct size in the WM hints before mapping the window.
Confirmed on Linux 2000060908 (M17). Windows are mostly offscreen because of the self-resizing behavior.
pav, wanna take a look at this one?
Assignee: asa → trudelle
Status: UNCONFIRMED → NEW
Component: Browser-General → XP Toolkit/Widgets
Ever confirmed: true
QA Contact: doronr → jrgm
Assignee: trudelle → pavlov
Keywords: nsbeta3
Target Milestone: --- → M21
I have seen the first part of this, but 'm not seeing any windows appear partially offscreen, is there more info needed to reproduce that? assigning to pavlov, nominating for nsbeta3
I am seeing both problems in icewm and windowmaker.
also described in bug 42119 and bug 42141. seems the behaviour is slightly different under various WM's but the result basically the same - parts of new window draws outside visible area. In my case (Gnome/sawfish 0.28) it's the top of windows being cut, new moz-windows being placed with top frame, menus and navigation field out of reach.
umm this can be related to bug 41724 - see mscott's comment there.
*** Bug 42141 has been marked as a duplicate of this bug. ***
been a couple of days without new builds in ftp, but testing with 2000-061201 it seems this bug is gone again: Likely fixed by mscott's fix for bug 40164
confirm that i'm not seeing this with the 2000061201 builds
I don't see the behaviour, but something is still fishy: $ xprop #click on mozilla [...] WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified size: 200 by 200 I'm pretty sure I have my window manager set up to ignore PSize, which is why I'm not seeing the problem. but someone else's window manager might not.
I'm still getting this behavior on 2000061214 (M17). The windows open mostly or partly offscreen. You can visibly see that the window starts as a small square, then resizes itself to a larger size. Also, I don't have the same window hints that you do. This is all I have, with the above build on Linux with XFree86 4.0 and the Sawmill WM. WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, 0
Please ignore my last comment (about 061201); that was an M16 branch. the bug is still here in 061214.
*** Bug 42192 has been marked as a duplicate of this bug. ***
*** Bug 42536 has been marked as a duplicate of this bug. ***
*** Bug 42119 has been marked as a duplicate of this bug. ***
Linux 2000061809. This occurs with the Enlightenment WM as well. I think the priority should be made higher, since the edges of the screen often appear in awkward places, making it impossible to drag the Mozilla browser back onto the desktop. You will annoy a lot of Linux users if this isn't fixed.
Fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Thanks a bunch, verifying...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.