Closed Bug 288390 Opened 20 years ago Closed 19 years ago

Window tiling partially covers title bar

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.0

People

(Reporter: snowingsafari, Assigned: mikepinkerton)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050324 Camino/0.8+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050324 Camino/0.8+ When opening multiple windows, they would as expected, tile to the right and down, however new windows would partially cover the lower third of the previous window's title bar, obscuring lower parts of the title bar text, the minimize button, and maximize button. Reproducible: Always Steps to Reproduce: 1. Open one window 2. Open another new window Actual Results: new window overlaps the lower third of the previous window's title bar Expected Results: A new window should appear one full title bar down. Mac OS X 10.3.8
hrm, i guess apple changed this, we used to do what they did.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Camino1.0
i did this: RgnHandle titleBarRgn = ::NewRgn(); ::GetWindowRegion((WindowRef)[[self window] windowRef], kWindowTitleBarRgn, titleBarRgn); Rect titleBarBounds; ::GetRegionBounds(titleBarRgn, &titleBarBounds); ::DisposeRgn(titleBarRgn); const int kWindowStaggerOffset = titleBarBounds.bottom - titleBarBounds.top; but all i get is an empty region. what am i doing wrong?
fixed. i tried to find the title bar height with code, but just couldn't do it, even with carbon apis. oh well, set the fixed offset to 22px, the height of the standard title bar.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.