Slashdot Mirror


Menu Shadows in GTK2

unmadindu noted that there is a now a gtk shadow patch which does what it says for GTK2 applications. You can see a screenshot, or another or yet another. And if you're lazy, here are some RPMs with the patch. One more piece of eye candy to brighten up your weekend.

2 of 259 comments (clear)

  1. Comments by big.ears · · Score: 5, Informative
    • This patch has been around for months. The latest bugfix release was two weeks ago. This didn't just happen, and I'm surprised to read it here as news.
    • For those of you who are waiting to get it into your distro, don't hold your breath. It is a self-proclaimed ugly hack that works reasonably well but will not be part of the main GTK. But, a similar hack is used for QT/KDE, which gives you an idea of where GTK hackers priorities are. You'll have to wait until true alpha transparency makes it into X for this done right.
    • Despite the many comments about this just being eye-candy, this probably benefits usability as well (like Anti-Aliasing). Shadow is an important depth cue, which helps segregate the menu from the background. This probably makes it slightly easier and faster to find the proper menu item (tens or hundreds of ms), which over a lifetime or across an organization can add up to some real money.
  2. Quit Trolling by erikharrison · · Score: 5, Informative

    You know, at this point it's probably not worth posting this, but . . .

    For all of you trolling out there about how GNOME should get off it's ass and fix this or that before resorting to implementing this sort of eye candy, or for those of you trolling that KDE had this first, a couple of facts:

    • This was not done by a GNOME developer, or is in any way part of the GNOME project. This was done by Olivier Fourdan, the head developer of the second most popular GTK+ based desktop environment, XFce [1].
    • Drop shadows in X11 are a hack, Qt or GTK+. Hack, hack, hack. No alpha blending.
    • Olivier know's it's a hack. And that is why he did it. It was fun. It was a side trek from his over a year of work on the GTK+ 2 rewrite of XFce. It will not be a part of the standard GTK+. It does class up my desktop however, so I like it.

    -Erik

    [1] Yes, there are DE's other than GNOME or KDE. XFce (xfce.org) is currently finishing up it's GTK+ 2 development branch, XFce4 (it's in BETA 2). ROX (rox.sf.net) just finished it's GTK+ 2 branch. Wanna good winning combo, to have the best of 3 worlds? Take GNOME, replace Metacity with XFce4's window manager (xfwm), replace Nautilus with ROX's file manager (ROX-Filer), and be amazed.