Closed Bug 165467 Opened 22 years ago Closed 22 years ago

New window does not respect Dock position

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stf, Assigned: saari)

Details

Attachments

(1 file)

It seems that if a window is enlarging itself via JavaScript window.moveTo(0,0); window.outerHeight = screen.availHeight; window.outerWidth = screen.availWidth; that each new window that's opened after that is smaller at the bottom, just as if a space is left for the Dock. But that reduction does not check the Dock position/anchor (Left,Bottom,Right) it's always the bottom which is reduced. What's strange is that the Maximize (Green + button) is always giving a full screen window, without taking care of the dock. In summary, either care about the dock and its real anchor point everywhere or don't care at all nowhere, which is probably the best solution.
Stephane, can you attach a testcase?
Attached file max window by JS
Max window via JS
See also bug 130872, "Always create new windows within screen boundaries" (Mac OS 9 only?).
WFM. Zooming the window maximizes the size of the window so that it does not get behind the Dock, regardless of where the Dock is, ahem, docked. Also, the testcase (JS maxed window) works as expected. Tested in build 2002101804 on OS 10.2.
WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: