Closed Bug 211752 Opened 21 years ago Closed 21 years ago

Dual display - with window maximized on secondary display, new window opens partially offscreen

Categories

(SeaMonkey :: UI Design, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 174331

People

(Reporter: mozilla.org, Assigned: jag+mozilla)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5a) Gecko/20030620 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5a) Gecko/20030620 Mozilla Firebird/0.6

Phoenix is almost fully dual-monitor aware. When you open a new window (Eitehr
with N or File --> New Window)the new window opens on the same screen as the
current active window. If there is no current active window, it opens on the
last monitor that had a window.

That's all good... The problem comes in when you move your active window to the
second monitor (i.e. from the monitor with the menu bar to the one with no menu
bar). If you do that and then open a new window it opens parially off the screen.

If you move the window, and then maximize it (using the green dot) then the new
window opens on the screen maximized. If you click the green dot again to
un-maximize it... and then open a new window, it will open on the screen as
expected.

Reproducible: Always

Steps to Reproduce:
1. Launch Phoenix
2. If default browser window opens on main monitor (i.e. the one with the menu
bar) skip to step 4.
3. If the default browser window opens on your secondary monitor (i.e. the one
with no menu bar), do the following;
  3a) drag the window to the main monitor
  3b) Quit Phoenix
  3c) Relaunch Phoenix
  3d) Confirm default browser window opens on main monitor
4) Drag the default browser window to the second monitor. (Do not do anything
special to make sure it fit in the window... i.e. don't maximize it with the
green dot.)
5) Click N to open a new window
6) Note that window is off the screen
7) Close the new window with W
8) Maximize the default window using the green dot
9) Cick N to open a new window
10) Note that window is both on the screen and maximized
11) Close the new window with W
12) Un-Maximize the default window using the green dot
13) Cick N to open a new window
14) Note that window is both on the screen and un-maximized

Actual Results:  
New windows on secondary monitor appear partiall off the edge of the screen...

Expected Results:  
New windows should always resize to fit on the screen...
Here are two screen shots (too big to attach):

1) BEFORE new window... (just after I dragged browser to monitor 2)
http://www.jeffntom.com/misc/public/mozilla_org/default_window.jpg

2) AFTER new window
http://www.jeffntom.com/misc/public/mozilla_org/new_window.jpg
> 14) Note that window is both on the screen and un-maximized

Actually I just noticed this is NOT true... If you do this the new window is now
off the BOTTOM of the screen instead of the TOP.

...So it only works if the default window is maximizeed.
a) what happens if both monitors are the same resolution?
b) does this happen with trunk builds of Mozilla?

mostly for form's sake, can you get the latest build, install in a new directory
with a clean profile, and retest this, just to be sure before we confirm this.

tweaking summary and severity
Severity: normal → minor
Summary: Using dual monitors, new browser windows sometimes open off the edge of the screen... → Dual display - with window maximized on secondary display, new window opens partially offscreen
When setting both monitors to the same resolution, everything seems to work as
expected. So this does seem to solve the problem.

It seems the problem is that my main monitor is a higher resolution, and the new
window is always the same size as the other one... So if you drag a big window
to a monitor smaller than that window, that's what causes the problem.

I have Mozilla 1.5a (2003-06-20) and it does NOT do this. It behaves as expected
regardless of monitor settings.
Nope... I was wrong!

I tried Mozilla again and it does do the same thing in the right situation...
The trick is to make sure the browser window is bigger than the montor it is
dragged to.

So, this should be chaned to a Mozilla bug and not Phoenix.

Sorry!

(I really did check Mozilla it previously... I swear! :-> )
reassigning per comment 5
Assignee: blaker → jaggernaut
Component: General → XP Apps
Product: Phoenix → Browser
QA Contact: asa → paw
Version: unspecified → Trunk
Hasn't anyone else been able to confirm this yet?

*** This bug has been marked as a duplicate of 174331 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.