Closed Bug 63056 Opened 24 years ago Closed 23 years ago

Sawmill/Virtual WM: All windows appear mostly off-screen

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID
mozilla0.9

People

(Reporter: keith, Assigned: keith)

Details

(Whiteboard: [sawfish])

All windows appear mostly off-screen, up and to the left.  I cannot see the
contents and since the title bar is off-screen I cannot move the window.  This
makes Mozilla completely unusable.  A recent build appears to fix this for the
initial screen specifying the profile, however once a profile is chosen, then
the first browser window appears mostly off-screen.
Please remember to include build ID in bug-reports.
Reporter: Please inform about build ID.

Also: Which window manager are you using?
If it has settings for "remember window placement" or "position":
Can you test disabling that. Then start mozilla afresh, and re-enable the
window-manager setting. If that changes anything for subsequent restarts of
mozilla: Please add a comment about it here.
CC'ing me
i think this was a bug in an old build...
This happens with build 20001216 and also was happening with many other builds 
over the past week or two.
over to XPApps
Assignee: asa → vishy
Component: Browser-General → XP Apps
QA Contact: doronr → sairuh
keith, what window manager are you using? i haven't seen this when using either
afterstep or sawmill...
I'm using SawMill with Gnome desktop on a RedHat 6.0 system.
I will check my window manager settings later tonight when I have access to the 
computer.
waiting to hear more before confirming. 
I am using Sawfish window manager.  I disabled the feature to automatically
remember window positions, however the first window continues to appear up and
to the left.
Keith have you tried deleting your mozilla profile? Does that fix the problem?
try a new profile (./mozilla -profilemanager). Does that exhibit this as well?

also, removing your localstore.rdf from your profile might fix this.
I recently reinstalled Red Hat 7.0 and before setting up my window manager to
control window placement this seemed to happen with mozilla windows.  That was
about 10 days ago.  Should I mention this?

As I remember, all the window appeared mostly off screen and always to the right
of the screen.  I had four virtual desktops.

My screen set up (at the time) was four virtual screens two wide and two high,
which means that these windows might have been trying to center but getting it
wrong because of the virtual window space.  Hmmm.

I'm running Red Hat 7.0 on Linux and also use Sawmill.  However, I've since
changed the default setting for sawmill dramatically and no longer see this problem.
I just went and created a new user login, started X, installed mozilla
(2000123106) and tried to get this to work.  (All the defaults would have been
reset.)

I can't see this problem this time.  I was using an older build last time.  My
only suggestion is that what ever was causing this was build related.

Sorry
So shall I go ahead and mark this WORKSFORME?
i will, unless it's still occurring... :)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
I remove my ".mozilla" directory completely, run mozilla, and the first dialog
asking me about what profile to use appears mostly off-screen upwards and to the
left.  It still happens with build 20010107.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
More info: When it starts up, I get a bunch of "RegSelf" messages, followed by
the following:

Registering plugin 0 for: "*","All types",".*"
Move window by 511.5,383.5
Marking NEW as per comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is anyone looking into this?  This has been a problem for me for over a month
and I cannot use Mozilla on Linux because of it.  Isn't anyone else having this
problem?
Priority: -- → P1
we need much more info.  [also, priority is for the bugowner/manager, severity 
is for the public, but critical means crasher]

please include details:
architecture [x86?]
kernel [linux 2.2.16 ?]
x11 server [xfree 86 3.3.6?]
window manager [everyone seems to be using sawfish?]
wm version [-1?]
please read all current sawfish bugs [bug 61762, ...]
i presume there's an x window message debugger [xv?] please include logs
please continue to include buildids
Severity: critical → major
Priority: P1 → P3
architecture: x86
kernel: redhat 2.2.12-20
x11 server: xfree 86 3.3.5-3
window manager: sawfish
wm version: 0.30.3
please check bugzilla for other sawfish bugs.
Whiteboard: [sawfish]
I looked at all other bugs that had 'sawfish' in either the summary, description
entries or status whiteboard and none seem to be remotely like this one.
In bug 67845 aron@eazel.com make a comment about one offscreen window:
The nullplugin window resizes to larger-than-screen when he windowclass in
sawmill is set to open all mozilla windows maximized. This is the only window
that behaves that way for him.

67845 is a dup of the missing windowclass bug, but the comment about that one
window is interesting. The nullplugin is a GTK window, i believe? It doesn't
resemble other mozilla windows, isn't skinned by moz but by GTK theme in Gnome.

I am still totally unable to reproduce this bug in any way, even when
windowclass is set to maximize all mozilla windows, but there may be another
explanation. Testing continues.
aron uses gtk+1.2.8-2 from helix, FWIW.
Release notes for sawfish 0.37-2 mention this line:
"--Fixed bug in random placement mode where windows could sometimes be placed
off-screen"

Reporter: Which window placement type are you using when you see the bug?
Here is my configuration specified in the "Placement" tab of the Sawfish
configurator (run from Gnome control-center):

Method of placing windows: best-fit
Method of placing dialog windows: centered on parent
I have none of the following options checked:
  - Ignore program-specified window placements.
  - Automatically remember window positions.
  - Automatically remember window sizes.
  - Automatically remember other window attributes.
Assignee: vishy → trudelle
Component: XP Apps → XP Toolkit/Widgets
Summary: All windows appear mostly off-screen → Sawmill/Virtual WM: All windows appear mostly off-screen
Might be virtual WM bug, might be sawmill bug.
Over to trudelle, who might want jag to take a look.
QA Contact: sairuh → jrgm
->danm, cc jag
Assignee: trudelle → danm
unable to reproduce, do these settings only change on restart?
this has worked for me for a long time now... keith, is this still a problem for
you with recent builds?
Assignee: danm → dr
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Yes, it's still a problem.  Interestingly enough I just tried it out with a
nightly build I just downloaded, yet the about screen shows it to be 20010318.
In any case, when I first install it cleanly, the first window comes up properly
centered, then when I choose the "New Navigator Window" menu option, the next
window appears up and to the left, partially off-screen.  Then when I exit
Mozilla, every time I start it up again, the first window is always up and to
the left, partially off-screen.
Keith: So I'm confused. Obviously it's a Mozilla problem, because if it were a
sawfish bug then all your windows would be appearing incorrectly. But it seems
as though you're the only one who can manage to reproduce this.

The only things I can think of, that you would want to check, is that you are
inadvertently remembering window placement, either through "matched windows" or
through some other means. Or sawfish has a mozilla-only bug, which I find unlikely!

Can you investigate this further? Maybe see if changing some settings helps, and
if so, which settings... Thanks for your help.
I'd like to chime in with a similar problem using Mozilla and sawfish. This is a
RedHat 7.0 system running XFree86 4.0.2 and Sawfish 0.35.

Not sure if the problem is exactly the same, though. In my case, the x and y
positions of a window appear to be correct, but the width and height extend to
the far right and bottom of the screen.

The problem doesn't happen on all windows. It's most apparent with popup windows
opened from Javascript, and it also just happened to me with the "Do you want to
convert your profile?" window. Not sure, but it looks like the bug is triggered
by a window (not) having certain features.

Also, I am quite certain it wasn't always like this. Perhaps I should try some
old nightlies.
I think the problem mentioned by a.haakmat@chello.nl in the previous comment is 
a different bug.  I've seen it as well.  It happens when small pop-up windows 
(usually advertisements) come up.  However it is an unrelated problem.
Keith - I just can't make this happen. I'll reassign this to you for the moment
so you can get some more info, since you seem to be the only one who can
reproduce this. Toss it right back to me if you manage to figure out exactly
what about your sawfish config is causing this -- then I can determine how we're
not playing well with the WM. Thanks.
Assignee: dr → keith
Status: ASSIGNED → NEW
This is probably due to a bug in sawfish itself. Turning off "remember window
positions" only stops sawfish from remembering new window positions. All the old
window positions are stored unchanged and still used.

This can be fixed by (IIRC, it's been awhile) deleting everything in
"~/.sawfish/sessions/*", although I don't know what else the session data is
used for, so you might lose other settings you want.

I don't recall it causing me any grief, though. (I had the same problem with the
"Do You Want to Covert Your Profile?" dialog, and most JavaScript popups.)

The real problem (besides sawfish still using the old positioning and sizing
information) is that sawfish can't differentiate between the various windows
that mozilla creates (browser, mail&news, dialog, etc.), so they are all given
the same size and position even though they are in fact different types of
windows.

Even then, when a page creates a new window with a specific size using
JavaScript, sawfish will ignore the requested size and make it the size of all
other browser windows. So, the whole "remember window position/size" feature
seems broken to me.
Thanks, Nicholas.  However, it wasn't the "sessions" subdirectory I had to
change but the "window-history" file, which I edited, removing the remembered
positions for the Mozilla windows.  After I did this, the problem went away. 
This bug can be closed now.
resolving "invalid" - thanks keith and nicholas! (keith, please verif)
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → INVALID
Verified that this is not a Mozilla bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.