Re: X11 Beta 3 & Window size/resize
Re: X11 Beta 3 & Window size/resize
- Subject: Re: X11 Beta 3 & Window size/resize
- From: "Dave Williss" <email@hidden>
- Date: Tue, 2 Sep 2003 08:50:46 -0500
> I've encountered similar problems in other X11 servers on earlier macs,
> and I'm sure it's not unique to macs.
>
> I've no doubt the root problem lies with the application, but that's
> not much help to the poor user who encounters a window that's far too
> large to fit on the screen, with the resize / close buttons offscreen.
>
> I'd suggest / request as a feature a menu option / key combination that
> pops up a dialog allowing either killing the window or specifying a
> size (full screen as the only option would be acceptable). Or even one
> that simply allows repositioning the window so the window controls are
> within the currently viewed portion of the display. (I don't know how
> to specify that precisely, as I'm not really that familiar with X11
> terminology, but I hope the intent is clear -- make it possible to do
> something sensible with such a window, even if the only sensible thing
> to do is to terminate the application and close the window -- rebooting
> doesn't seem the right answer, and that was all I figured out to do on
> my OS 8.5 system when I ran into the problem).
>
We ran into the same problem. The main problem here is that the Quartz
window manager only has resize on the lower-right corner of the window.
Most X window managers (and MS Windows for that matter) allow you
to resize a window by dragging ANY edge.
A simple work-around that we found is to tell the user to "maximize" the
window. Then the resize gadget can be seen and you can resize it.
The other problem is how window size and position get reported when
using quartz-wm. When the user closes a window (or the application exits)
we record the position of the windows so that they can be restored to the
same location. We get the location via XQueryGeometry which gives the
upper-left corner of the window not counting the title bar and borders.
However, when we then try to place the window at the same location, it
puts the upper left hand corner of the title bar there. The net effect is
that
every time you run the program, the windows creep down the screen by
another 22 pixels.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.