On Wed, 2005-05-11 at 17:45 -0400, Luke Schierer wrote:
> Warren asked that we, as gaim, outline how we expect window
> management to be handled, focusing on new windows & urgency, as per
> the long discussions in #gaim over the last 2 or 3 days, in light of
> metacity's move from causing gaim to always steal focus to having
> windows pop under.
> I wrote up the following as an inital draft, please comment.
> I do not expect everyone will entirely agree, and I certainly am not
> attempting to cover every case, whole specs have been written on this
> sort of thing. I just want a basic idea of what we are looking for,
> what other window managers are providing for us that metacity
> currently is doing in a substandard (compared to other linux window
> managers) way.
> Naturally, the microsoft solution is not necessarily right or wrong,
> but is, rather, utterly irrelevent to this discussion.
> * window focus should only be transfered from one window to another by th=
e direct action of the user.
> * The WM does not know when a new window is user initiated or not.
> * The application that requests the new window does know
> * In the case of new application launch, this yields a useful result: yo=
u can start several things
> in the background (or on login) and not have your focus jerked around =
as they start.
> * new windows should be created at the top level unless specifically requ=
ested otherwise by the starting
> application. Placement should reflect some overall policy of the WM, p=
referably a policy that the
> user understands and can predict. Remembering previous placement is a =
reasonable, but not required,
> part of said policy.
> * Applications which currently have focus should be able to determine if =
a window said application has
> created gets focus or not. It should be able to do so without changing=
the level at which the window
> is created.
> * Applications which do not have focus should not be able to pull focus f=
rom another application in a
> way that the user cannot disable or modify. Changes to individual appl=
ications at a source code
> level should not be necessary for this behavior.
I agree will all of this, but would like to add that I am of the opinion
that creating new windows on anything but the top level is more annoying
than them taking focus. When you start an application, or open a new
window, or the application creates a window that wasn't initiated by the
user, you want to be able to see it and take care of it. But if it is
displayed on a lower level, then you won't necessarily see it created,
especially if your "taskbar" is set to autohide. Now you have to go and
dig for said window, instead of alt-tab back to the window from which
the focus was stolen from.
Anyways, that just my two cents.
Gary Kramlich <grim@...>