LWN.net Logo

Hints

Hints

Posted Dec 14, 2005 14:19 UTC (Wed) by Ross (subscriber, #4065)
In reply to: KDE = Joy by nix
Parent article: GNOME v. KDE, December 2005 edition

That hint doesn't really mean to do that, it just means the window is associated with another application window and that it is likely to be short-lived. In fact, some window managers don't disable controls on transients. Many do, but there is no requirement that they work that way.


(Log in to post comments)

Hints

Posted Dec 14, 2005 20:16 UTC (Wed) by nix (subscriber, #2304) [Link]

The vast majority that provide any decorations at all disable them on transients: in fact, given the common use of transients for things like pop-up help bubbles, any wm that didn't disable decorations on them would be unbearable to use.

Hints

Posted Dec 14, 2005 23:45 UTC (Wed) by zblaxell (subscriber, #26385) [Link]

Pop-up help bubbles (and menus and drag+drop handles and other weird window cases) usually use override_redirect, not wm_transient.

I don't see a reason why transients (even real transients like dialog boxes) should not be organized or decorated differently--in fact, I think that's usually a good idea. The thing I insist on is that I retain the ability to arbitrarily move, size, raise and lower them (including the often-denied privilege of restacking a dialog window behind its parent, and independently minimizing parents and transients), regardless of decoration or initial position.

I do see many cases where the transient windows *themselves* are often a bad idea, but that's application misdesign that a window manager can't fix.

I've used truly hintless window managers (ones that don't move the keyboard focus from parent to transient and place the transient randomly, so I have to aim at the appropriate window with the mouse cursor for every single transient) and hintful window managers (ones that respect all of the hints to the letter and even impose restrictions of their own). If these were the only choices (thankfully they're not) then I'd pick the hintless WM, because it's at least possible to sensibly arrange windows with the hintless WM, even if I have to do a lot of extra work manually.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds