Slashdot Mirror


Not Just Eye Candy At Freedesktop.org

Jim Gettys writes "While Keith Packard's eyecandy at freedesktop.org, including drop shadows, translucent menus and windows with alpha channels is nice to look at, and in some ways useful, *much* more important is that the same facilities are useful for thumbnailing, screen magnifiers, and arbitrary transforms of applications on their way to the screen, just to name a few of the potential applications. So enjoy the eyecandy, but remember, too much candy can rot your brain. And if you want to avoid fattening your brain, you can come help us make this ready for prime-time, and work off the candy you ate and pitch in at freedesktop.org." For background, see this earlier Slashdot post about Freedesktop.org, and the brief description below.

An anonymous reader sums up this effort to revamp X: "The new X server features full support for transparency, and has window-level image compositing among other things. It allows applications to present alpha-blended content to the screen. A new X Visual was added to the server. At 32 bits deep, it provides 8 bits of red, green and blue along with 8 bits of alpha value. Applications can create windows using this visual and the compositing manager can take those contents and composite them right onto the screen. The X server project holds sources to build an X server separately from a full X distribution."

70 of 445 comments (clear)

  1. I'll have my eyecandy... by Black+Parrot · · Score: 3, Funny

    ...with a dash of syntactic sugar, thank you.

    --
    Sheesh, evil *and* a jerk. -- Jade
  2. Slashdot API by Anonymous Coward · · Score: 3, Funny

    Slashdot made the website translucent.

  3. So much for Xouvert... by sirReal.83. · · Score: 3, Insightful

    I don't get why the Xouvert folks didn't just pitch in on this effort. They're almost a month and a half behind their schedule.

    Oh well, I'm still getting what I want. Maybe soon they'll be able to add 3D support, as now it's just FB/VESA. Now I'm off to make some debs from the CVS.

    /me thanks fdo

    1. Re:So much for Xouvert... by xcomputer_man · · Score: 4, Informative

      The objectives of Xouvert and the freedesktop.org Xserver are different. Xouvert is intended to be an experimental "bleeding edge" branch of XFree86 with opportunities for developers to contribute easily and will remain in sync with XFree. Xserver on the other hand has no connection or relationship with XFree and is wholly an alternative (not a fork ... this code is based on Keithp's own XDrive server which has a brand new core, not XFree86, although some code is reused I believe). In other words they are in fact separate projects.

      I'm not sure exactly how the Xouvert folks respond to this, but I believe they are interested in eventually collaborating with this effort in the future, from, my discussions with a couple of them.

      And no, it's not just FB/Vesa. There are servers available for r128, mga, mach64, and a couple of older cards (S3 savage/trio and trident).

    2. Re:So much for Xouvert... by jonabbey · · Score: 2, Interesting

      Eww, a whole new server? I hope there's more code sharing against XFree86 rather than less.. it would seem a tremendous waste to have to reinvent and maintain that particular wheel.

      Even for someone as renowned as Keith.

    3. Re:So much for Xouvert... by xcomputer_man · · Score: 2, Informative

      Err correcting myself: Keith Packard's server was called KDrive, not XDrive.

    4. Re:So much for Xouvert... by po8 · · Score: 4, Informative

      In the long run, KDrive will become the standard: it's a much better server. KDrive does share much code with XFree86, but it has major cleanups and simplifications. It will need more driver support (though this is much simpler in the KDrive architecture) as well as 3D support before it is ready to take over, though.

      In the short run, the right answer is to fold the changes back into XFree86. This should be no big deal technically: there's nothing terribly KDrive-specific about them. Politically, it may be harder: the reason that Keithp was ejected from the XFree86 project was essentially for trying to change things. :-)

      The XFree86 DRI project server is on freedesktop.org, and will probably have these fixes well before the XFree86 core server. This server is likely the immediate future of XFree86 anyhow.

  4. Re:See OSX by ThisIsFred · · Score: 2, Funny

    So Microsoft can copy Apple, but X can't? That's not far at all.

    --
    Fred

    "A fool and his freedom are soon parted"
    -RMS
  5. Buggy system by YetAnotherName · · Score: 5, Funny

    Looking at screenshot number 3, I think the fellow's got a few bugs to work out.

    Bu-dum-chee!

    Thank you! Thank you! I'll be here all week! Try the buffet!

  6. But are they doing it right? by ArmorFiend · · Score: 4, Insightful
    A new X Visual was added to the server. At 32 bits deep, it provides 8 bits of red, green and blue along with 8 bits of alpha value. Applications can create windows using this visual and the compositing manager can take those contents and composite them right onto the screen.
    Can someone tell me, are they doing it the right way, or the all-software way? The right way uses the innate RGBA capabilities of the video card (probably through OpenGL) to do the compositing. The software way is good to have if the computer in question doesn't have a decent GPU, but if it also doesn't have a decent CPU, slowness is going to ensue.
    1. Re:But are they doing it right? by Anonymous Coward · · Score: 3, Informative

      They are doing it in a way, that X server doesn't know about implementation details. It may run in software, it may be implemented in hardware (using OpenGL for example). X server just doesn't care, it is job for Composition manager. It may do another things except alpha blending windows - for example capturing screen changes for vnc or screen recorders.

      I would post the link, but freedesktop is slashdotted.

    2. Re:But are they doing it right? by rogue_gambit · · Score: 5, Informative

      That will be up to the compositing manager. It can choose to do it all in software or use OpenGL if available.

      We will probably see a lot of window managers get composite managing built in, but there is also likely to be a few compositing only manager, which will work with your favorite window manager.

      So in the end it is up to the manager to uo decide how to do the compositing.

    3. Re:But are they doing it right? by ArmorFiend · · Score: 5, Interesting

      The article you cite is probably a case of a hardware fast path NOT being used, but being advertised by the API. Thus he was asking for hardware operation X, and getting a generic software operation X, which wasn't hand optimized for his particular options. In that case his hand optimized code might be faster by a lot. Such a case occurs fairly often in graphics.

      For a non-speculative example, OpenGL's glDrawPixels draws rasters from the lower left corner, whereas most UIs like to draw from the upper left. You can change it by calling glPixelZoom( 1.0, -1.0 ), but in many cases this knocked the gl driver from 1-1 pixel mapping into floating point transforms (basically it started using software to scale the image by some floating point value). A few phone calls to nvidia, 3dlabs, sgi, and intergraph later, and their drivers started special-casing for a -1.0 y pixel zoom, and our software sped up by a factor of about 1000.

      In the far future of Moore's law we will not have GPUs at all, merely CPUs with power to burn. So in that sense I agree with you that hardware is/will-be not needed. Now I haven't done any graphics programming since machines hit 1ghz, so that far future may be now. :)

    4. Re:But are they doing it right? by frantzdb · · Score: 2, Interesting


      In the far future of Moore's law we will not have GPUs at all, merely CPUs with power to burn. So in that sense I agree with you that hardware is/will-be not needed. Now I haven't done any graphics programming since machines hit 1ghz, so that far future may be now. :)


      Actually, from what people at SIGGRAPH kept saying, graphics cards are outpacing Moore's law. If that continues we'll have amazing vector processors and rasterizers with a dinky little CPU telling them what to do.

    5. Re:But are they doing it right? by jg · · Score: 3, Informative

      The bits never leave the X server.

      The current implementation is software only, and
      runs at usable speed.

      So I expect when we start using the alpha blending hardware, we'll run like a bandit...

  7. Image mirror of translucent X server by Anonymous Coward · · Score: 4, Informative

    Image saved before slashdotting, Here

  8. XVideo support? by Anonymous Coward · · Score: 2, Interesting

    Do translucent windows sitting on top of video playback work with accepatable speed?

    1. Re:XVideo support? by Anonymous Coward · · Score: 2, Funny

      Can anyone comment on this?

      I can, but not intelligently.

  9. enough with the candy! by mikeburke · · Score: 2, Funny
    So enjoy the eyecandy, but remember, too much candy can rot your brain. And if you want to avoid fattening your brain, you can come help us make this ready for prime-time, and work off the candy you ate and pitch in at freedesktop.org

    If translucent windows can "fatten your brain" (er..?) then is ratpoison the Atkins Diet? Someone else help me out with abusing this metaphor some more.

  10. Bashers should stop whining and stop contributing by FooBarWidget · · Score: 2, Insightful

    Slashdotters are always complaining about that X is slow/bloated/outdated/old/must be replaced/etc/etc. Yet X is slowly improving. Nonetheless, that doesn't stop people from complaining.
    Now that I've seen thousands of Slashdotters complain about X, and it seems alpha transparency is finally progressing, I can only conclude one thing:
    Don't listen to the whiners!

    Really, *all* those people do is whining and bashing, and *nothing else*. No constructive criticism, no suggestions - just whining and bashing. And while people are wasting times whining and bashing, real developers are making real progress.
    This is it. Slashdot has lost my respect. I will never listen to the whiners and bashers again.

  11. Grounds for a unified unix gui by ModernGeek · · Score: 2, Redundant

    I think it is time we make a more userfriendly, windowmanager-specific GUI for Linux/FreeBSD/etc that will be accepted by the masses and seen as "Linux", maybe make it official, this is the perfect grounds to get it accepted by the masses, making a unified interface for linux and other derivatives, then see if it is accepted. Make it like windows where all you see the whole time is the user interface, to make it better for the desktop world, some say that choice is good, and the ability to run programs remotely is good, but now days for the average desktop user, this is not very practical, and choice is becoming randomness since there is no standard user interface guideline for Linux. Lets make someone like MacOS X for x86, but based on Linux: fast, easy, etc. I could help with UI development, etc if anyone is interested in starting a project, I'm not much for coding though. Linux needs somthing original. I know, I posted this in the past, but I am wanting to get the word out.

    --
    Sig: I stole this sig.
    1. Re:Grounds for a unified unix gui by FooBarWidget · · Score: 4, Informative

      "and the ability to run programs remotely is good, but now days for the average desktop user, this is not very practical,"

      This is a complete non-issue. By default, X doesn't allow connections from outside so you can't use it unless you really *want* to use it.
      And local applications doesn't communicate using a TCP socket, but through shared memory and Unix Domain Sockets (which are as fast as shared memory, at least on Linux), so performance problems for local apps are gone.
      Network transparency doesn't stand in your way. It doesn't bother you. But when you need it, it's there.

      And you people should look beyond the home desktop. Think about the corporate desktop! A server serving hundreds of thin clients can save a lot of money. Many, many people today rely on X.
      Network transparency *does not* block desktop acceptance.

    2. Re:Grounds for a unified unix gui by gorilla · · Score: 3, Informative
      run programs remotely is good, but now days for the average desktop user, this is not very practical,

      However, given that it's a good design for a GUI program to communicate with the GUI layer using sockets, then you get the ability to run commands remotely almost for free, with the only extra work required being the security & authentication system.

    3. Re:Grounds for a unified unix gui by Slime-dogg · · Score: 2, Interesting

      I'd go and participate in E17. Enlightenment as a wm rocks, but E17 looks like it's got all of the desktop goodies + the fine wm.

      Judging by the amount of time they're spending, they could probably use the help.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
  12. Sounds good... by Fnkmaster · · Score: 2, Insightful
    Now can we make a decision about toolkit? I like choice as much as the next guy, but the choice is at the wrong level here. I NEVER want to see multiple mismatched, clashing toolkits on my screen at the same time. I want to have to *force* some compatibility layer to make such a beastly occurrence happen. Everything looks consistent and doesn't hurt my eyeballs or brain in Windows (well, Windows hurts my brain, but that's mostly when I'm trying to write raw Win32 code... ugh). Maybe I'm just in the same "more aesthetically aware user" category that composes the majority of Mac customers, and maybe nobody else cares about this, but I suppose the inability to get a consistent looking and feeling suite of apps in a Linux desktop (that actually does everything you need it to do) is a major reason some folks won't switch to desktop Linux.


    I mean, you have to use Mozilla or a Mozilla-derivative for web browsing (Konqueror is nice and all, but the last time I tried it extensively it still felt toy-like, and Mozilla is the cross-platform standard I am used to and want to use). But that forces you to use Gtk - so forget about KDE, you need to use GNOME. But now you have to use the awful mismatched GNOME apps. Then what about the OOo monstrosity? The toolkit, widgets, fonts, etc. don't seem to match anything else on the desktop. Why does this just never happen in Windows (even OOo doesn't exhibit these awful characteristics in Windows - yes, this is a rhetorical question, I understand the technical reasons and they all indicate major flaws in the X architecture to me)?


    Keith P, you are doing the right thing. I wish I had more time, I'd pitch in and help out with this project, since it might allow me to actually use X without clawing my eyes out some day (or coping with atrocious performance when you hack in all the eye candy on top).

    1. Re:Sounds good... by IamTheRealMike · · Score: 4, Informative
      Why does this just never happen in Windows (even OOo doesn't exhibit these awful characteristics in Windows - yes, this is a rhetorical question, I understand the technical reasons and they all indicate major flaws in the X architecture to me)?

      I take it you've not used Windows in the last few years then. Take a look at the menus and toolbars in Wordpad, Visual Studio, Office 2003, Windows Media Player and Encarta.

      What? They're all different? How dare those people not use the builtin toolkits - what are they thinking?

      I think that really you don't understand the Windows architecture (which is really quite similar to X except for no network transparency and a kernelized WM), otherwise you'd realise that multiple conflicting toolkits happen all the time there.

      This is even true of MacOS X. There are some well known incidents where it was shown that different apps in the MacOS X base distribution reinvented the same widget multiple times over.

    2. Re:Sounds good... by Dr.+Smeegee · · Score: 2, Funny
      And whether I code an app using Pythong/Tkinter or C/gtk it all fits into my theme.

      Guido in a thong. brrrr!

      Check your spelling for crying out loud! I nearly benastied myself!

  13. Eyecandy is important :-) by Space+cowboy · · Score: 4, Interesting

    ... I mean, look at Apple. They've built most of a business around being cool, sexy, and user-friendly. This is a triumvirate for the company, and with the unix-based OS-X, they'll be expanding into hardcore geek territory as well :-)

    I even wrote eyecandy (the visualisation applet) on hostip.info - it's a trade: I show you something pretty, you put in your city. Or not. Your choice, but hopefully the eyecandy helps sweeten the deal :-)

    Simon.

    --
    Physicists get Hadrons!
  14. Mmmm Candy! by Lumpy · · Score: 3, Funny

    So enjoy the eyecandy, but remember, too much candy can rot your brain.

    oh that reminds me of something.... oh yeah! THIS

    --
    Do not look at laser with remaining good eye.
  15. Re:ratpoison by nehril · · Score: 2, Funny

    oh man, this is probably the greatest usenet post I've ever seen.

    long live ratpoison!

  16. alpha blending in x vs wm by jd142 · · Score: 3, Interesting

    Since I can't get to the freedesktop site right now, I'm curious about the speed increase when the alpha blending is done by the X server instead of by the window manager. The one screen shot I did see(only because someone mirrored it) had gnome with semi-transparent windows. I'm not a gnome user, I use KDE and I know it handles transparent windows and menus. But how much faster and snappier will the response be with the transparency done at lower level?

    1. Re:alpha blending in x vs wm by Darren+Winsper · · Score: 2, Interesting

      Keep in mind that KDE doesn't do real transparency, it takes a screenshot at creation time and blends the images together. Thus, you can get menus that look out of place, such as when there's a periodically updating window behind the transparent object.

    2. Re:alpha blending in x vs wm by xcomputer_man · · Score: 4, Interesting

      The issue is not really the speed increase (although yes, it will be faster). The point is that this will give you *TRUE* alpha channel-enabled visuals. What KDE and a couple of other projects like the Enlightenment DR15/16 series have done in the past is a "pseudo-transparency" hack done by grabbing the root pixmap and using it to blend. By using a compositing manager and adding true 32bit ARGB visuals, a window can say exactly how transparent each pixel should be, and the compositing manager combines everything together to produce the final display. Semi-transparent windows are overrated: this gives you a LOT more potential for snazzy effects (for starts, how about shaped windows that have antialiased edges?).

    3. Re:alpha blending in x vs wm by praxim · · Score: 2, Informative

      KDE doesn't handle transparent windows. It fakes transparency by getting the content of the lower windows and using them as the background to higher-level ones. So you'll notice that if you have any kind of changing content underneath a transparent window, you won't see it update.
      It's not a matter of transparency being implemented at a lower level- transparency isn't really implemented at all at this point.

    4. Re:alpha blending in x vs wm by FooBarWidget · · Score: 2, Informative

      KDE doesn't do real transparency. It takes a screenshot of the underlying windows and then alpha blends the menu over that screenshot and draws the result to screen. If the contents of the windows below the menus change while the menu is still open, you'll see it.

    5. Re:alpha blending in x vs wm by hawkstone · · Score: 2, Informative

      But how much faster and snappier will the response be with the transparency done at lower level?

      I don't know the answer, but I can make an educated guess. A lot. And I mean a whole crapload faster.

      If the server does not support alpha, then the only way wm to blend things is to ask X politely for the background, do the compositing in software, and send it back to X to draw. In fact, in many cases the only "background" you can ask X for is the desktop background, which means that semi-transparent windows are an illusion that only works when windows do not overlap.

      If the server does support alpha, then the app simply says "draw me" in it's usual way, with some transparency information, and X does it, overlapping windows and all. The blending can even happen in hardware.

      Skipping all this sending of pixels and blending in hardware instead of software can easily speed things up by on order of magnitude or two.

    6. Re:alpha blending in x vs wm by jg · · Score: 2, Informative

      The blending is being done entirely in the X server.

      The speed with depend on whether the X server has hardware support for blending.

      The prototype doesn't; it is, however, fast enough to be useable even doing it all in software with a Vesa server, so I think we're ok on performance.

  17. Slashdotted by jargoone · · Score: 5, Funny

    For your viewing pleasure, I have obtained an ASCII-art mirror of the screen shots:

    ----------
    |* |
    |* |
    |* |
    | |
    |========|
    ----------

  18. Mirror Here by herrvinny · · Score: 3, Informative
    1. Re:Mirror Here by phaze3000 · · Score: 3, Informative
      --
      Blaming GW Bush for the Iraq war is like blaming Ronald McDonald for the poor quality of food.
  19. Am I the only one? by nizo · · Score: 2, Interesting
    Am I the only one who just uses plain ol' fvwm anymore? Since 60% of what I do is typing in a window, with another 30% surfing and 10% doing wordprocessing/gimping :-) do I really need a huge bloated eye-popping-candy-filled window manager?


    Don't get me wrong, if you have fast hardware and are trying to convert grandma from "some other environment" go for it, but for me personally I will take lean, mean, and quick any day of the week.

    1. Re:Am I the only one? by eyeye · · Score: 2, Interesting

      Agreed. I like to look at eye candy, once or twice - I might even spend 10 minutes going "ooooh" and pissing around with things but when I am working they will all get switched off if possible.

      I cant think of any eye candy advances (in windows XP, lol!) that help my productivity. Even looking at apples amazing new features doesnt impress me. The pseudo 3d user switching effect has already been done on a linux WM (when moving workspaces). Expose etc doesn't seem to give any more advantages than normal abilities - its just animated.

      Still... I'm not likely to start using ratpoison anytime soon :-o

      --
      Bush and Blair ate my sig!
  20. Re:See OSX by NotLad · · Score: 3, Insightful
    i should be more specific. the original post says "and in some ways useful" when refering to translucent menus and windows with alpha channels. the aqua interface (and many of the third party themes for OSX) use this extensively. I believe the following are the most useful.

    expose (application name display upon mouseover)

    thumbnailed snapshot of applications on the dock

    transparent terminal (though i prefer iTerm)

    shadow intensity indicating the front most app

  21. That's not eyecandy... by Anonymous Coward · · Score: 3, Funny

    THIS is eyecandy!
    Anyone know who this is?

  22. If people want things to look and work like Mac OS by Anonymous Coward · · Score: 5, Insightful

    I've noticed the look of the screenshots at this site. It seems so many people want things that look and work like Mac OS X in the freeware world nowadays. Then why are so many more people going with Gnome and KDE? Why don't more people just support the GNUstep people instead? I think NeXT and now Apple has proven the world won't fall apart if you use Objective-C instead of C++. If you go to the http://www.w3.org/ site you'll even see that the first web browser was written in Objective-C. Also, OpenStep exists as a standard so it sure will make easier to port commercial applications written in Cocoa to the Unix world.

  23. Re:How long before it hits XF86? by Deusy · · Score: 5, Informative

    I'm wondering how long before we see this in XFree86.

    It probably won't go into XFree86. The freedesktop.org X server contains a rewritten core and relies on many X extensions that the XFree86 project is really not embracing. Despite the good work the XFree86 team has done over the years, they have a long history of hesitation and, even worse, conflict with those that would take XFree86 in a non-standardised direction.

    I applaud the new efforts on freedesktop.org, especially by the evergreen Keith Packard, and this is what we need to see in the FLOSS world.

    X11 is one of the few areas where there is no real competition between projects. Linux vs. BSDs (vs. each other) or KDE vs. GNOME. It's healthy; it pushes the projects to higher levels of progress. Once freedesktop.org's X server is ready for mass consumption (hopefully not too long) then this 'lack of competition' changes.

    FLOSS will see a whole new world of graphical coolness as Window Managers and Desktop Environments add Compositing Managers to produce awesome effects using freedesktop.org's X server and the group of projects supporting it.

    The freedesktop.org X server intermingles with things like Cairo and lots of other exntensions. Conversely, XFree86 seems to fight any hopeful extensions.

    What will happen is that in a couple of years, many DEs and WMs will ship with a 'feature X requires freedesktop.org's X server and will not work with XFree86' and XFree86 will lose backing and momentum.

    The only downside to freedesktop.org's X server is that it will no longer run well on a 20mhz 486.

    Yeah, I don't care either. :)

    --

    Free Gamer - Free games list and commentary

  24. All that is missing by icebear.dk · · Score: 2, Interesting

    Hmm, this looks promising. Now all that is needed is for someone to write either a compatibility layer to bring the XFree drivers over to the freedesktop.org Xserver including GLX compatibility, make the Compositing Manager use OpenGL and eureka we have GPU based compositing.

    This is close to the features coming in Longhorn, where the windows are to be considered textures rendered by the GPU.

    Now my personal dream is still to see a combination of this and a high level protocol/server in which the applications and window managers send in calls where they ask for things like a button or a menu and include the data, while the rendering mechanism (the widgets) rest on the serverside (allowing for a central repository of widgetsets and almost guaranteed consistency of the UI). Custom widgets could then be implemented as either "server-side" extensions ala the scripts/executables that make up a webapplication or as client side components which are allowed to send drawing instructions to the server. It is intriguing to think about the possibilities of letting each window own a thread and socket connection (as in a modern webserver) to the application so that they can all update their own "scene" concurrently (almost anyway) and then the central compositor/renderer renders these changes from the existing application/windows tree.

    --
    A person is smart, people are deeply stupid
  25. Ok does this new X support my video card? by Adolph_Hitler · · Score: 2

    I do not care much about the new eye candy if I cannot use it and I do not really want software based hacks. Can this eye candy work with my ATI or Nvidia card?

    --
    People don't exist to serve systems, systems exist to serve people.
  26. Re:If people want things to look and work like Mac by Anonymous Coward · · Score: 2, Informative

    The first web browser was World Wide Web and written by Tim Berners Lee. Mosaic came out some years later.

  27. Re:No accelerated drivers?? by DreadSpoon · · Score: 3, Informative

    I don't think this is the issue anymore - the extensions used for this translucency don't require any driver changes, as RENDER (or any other rendering method/extension) can be used.

    Here's to hoping XFree86 gets these extensions. Having an X server that doesn't work that well for the hardware most people are using is going to limit how many people can use these new extensions... ;-)

  28. Well expert, since you know what to do, DO IT. by Adolph_Hitler · · Score: 2, Insightful

    You seem to have everything planned out, you have a roadmap, why don't you start working on it right now?

    --
    People don't exist to serve systems, systems exist to serve people.
  29. Translucency vs. transparency, and depth percept'n by HTH+NE1 · · Score: 5, Interesting

    I, for one, welcome our new alpha-channel enabled translucent overlords.

    It has translucency? I have yet to see that implemented. Everything I've seen so far is only varying levels of transparency. I'm only seeing alpha channel implemented, no options for a scatter channel which would define the degree of scattering of the image as it passes through a foreground image.

    Ah, I can't fault you. The site itself regularly misuses the term "translucent". Free lesson: if you can make out details, particularly able to read text, it is not translucent, it is transparent. Transparency is a continuum from completely transparent to opaque. Translucency is not part of that continuum. It is different, like looking through a frosted shower door, where you can get the sense of color and motion, but where details cannot be determined. Photons get scattered by the medium resulting in a loss of perceptable detail.

    I'd applaud a system that implemented a scatter channel for true translucency. Trying to read text while other text is showing through it is difficult. A moderate amount of translucent scatter applied would be less distracting.

    Now think, what if you could apply a visual blurring to windows that aren't in the foreground/under the cursor? Surely that could help focus the user on a task. (There'd need be some control to allow multiple windows be in perfect focus on occasion.) Simulated depth perception to enhance the window stacking model.

    --
    Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  30. Re:Who is going to build the composition manager? by AKAImBatman · · Score: 4, Interesting

    I think we need to talk to people from KDE, Enlightenment, Gnome, and all of these groups and as a combined effort build the first and default composition manager.

    That's what freedesktop.org is. It's a collaboration between GNOME and KDE to develop a set of interoperable standards. For example, you may have noticed that both KDE and GNOME can use the same ".desktop" shortcuts and that ".desktop" files have completely replaced the ".kdelink" files that KDE used to use. Now if GNOME would come up with some sort of (God forbid) STANDARD on how their foot menu works, we might even be able to automatically install icons. Right now, nearly every distro does something different with the way the foot menu works. At least KDE figured it out and has been standard from version to version.

  31. Re:If people want things to look and work like Mac by pohl · · Score: 2, Informative

    Getting over square brackets was very easy for me, especially since the corresponding semantics in Objective-C are much nicer for writing complex programs in fewer lines of code. The resulting return type from an [object message] expression is always the generic object type, and you are free to send the resulting object any message...if it won't respond to the message, it's quiet about it...even if that object is NIL. (Thank the maker!) Of course, if you want stricter type checking, you have that option too...but at least Objective C gets out of your way when what you really want is to be maximally expressive while being minimally verbose.

    --

    The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

  32. Re:How long before it hits XF86? by po8 · · Score: 5, Informative

    The only downside to freedesktop.org's X server is that it will no longer run well on a 20mhz 486.

    Yeah, I don't care either. :)

    Actually, KDrive runs better on a 20MHz 486 than XFree86. It's much smaller, and has things like a shadow frame buffer VESA mode that make it work well with pathetic graphics HW. I've used KDrive on an 8MB 386 to good effect.

    Of course, you won't want to use the fancy compositing managers on such a box, but at least you can have some kind of window system on it instead of just being stuck with console mode.

  33. Yes, they are. by penguin7of9 · · Score: 4, Informative

    X11 isn't like the stuff Microsoft or Apple churn out. Microsoft and Apple just hack something together, throw it out, and call it a "standard API". It's easy. It's quick to market. And it locks people into proprietary APIs and has all sorts of other problems.

    X11 is a protocol, not an implementation. As part of defining protocol extensions, people build a reference implementation of the protocol extension. It makes perfect sense to build the reference implementation in software. Hardware vendors and implementors can then build hardware accelerated versions of it and compare it with the software implementation.

    This approach has worked very well. It means that X11 has remained backwards and forwards compatible over more than a decade and that X servers have been able to take advantage of new hardware technologies as they have come out.

    Note that Apple is not using the "innate RGBA capabilities of the video card" to its fullest extent either. Furthermore, even good 3D cards may not do the right thing for 2D rendering--2D desktop rendering is not simply a subset of 3D rendering.

    1. Re:Yes, they are. by TrancePhreak · · Score: 3, Informative

      I forgot to mention... If MS just hacks stuff together, then why does Windows 3.1 software still work? Win95 software works on 95 and later, etc etc. You seem to have some lack of knowledge for what you're talking about.

      Also, in Win2K and XP, the selection rectangle has a filled in center that is alpha blended, if the video card supports it - it is done in hardware.

      --

      -]Phreak Out[-
  34. Re:Translucency vs. transparency, and depth percep by DreadSpoon · · Score: 4, Insightful

    And, of course, you can very well write a compositing manager to do this. That's the beauty of this extension set and architecture - the X server doesn't tell you how to render things. It just provides the means to let you do it. You could even swap composition managers on the fly, I'd imagine, or just tweak settings there-of, or whatever. Just like you can do with a window manager.

  35. Re:FreeDesktop != GNOME by fault0 · · Score: 2, Informative

    > the fact remains though that kde has been throwing hacks into their desktop for ages with no real substance.

    Fake transparency is certainly a hack, but the GNOME folks are as guilty as the KDE folks for using it. Both KDE and GNOME support fake transparency in their terminal apps. GNOME supports it in it's panel, and KDE supports it in it's menus. Other window managers even support fake transparency in their titlebars (like kahakai, afterstep). Tell me how again how KDE has thrown more hacks into their desktop versus others?

    > And as far as kde goes with adopting standards they tend to be very against taking any freedesktop work and using it although i guess they may have other reasons than "its the KDE way or no way" D-BUS comes to mind as one such standard.

    Uhm, there have been around fifteen standards put out by freedesktop.org. KDE has implemented nearly every single one. You provided one example (D-BUS), that isn't, but might I remind you that D-BUS isn't part of GNOME, or xfce, or ROX either. There has not been a firm agreement or disagreement on the KDE side to use D-BUS or not, because it could only be done in KDE 4.0, which is still a bit far off.

  36. they don't like the underlying technology by penguin7of9 · · Score: 4, Insightful

    Then why are so many more people going with Gnome and KDE? Why don't more people just support the GNUstep people instead?

    Easy: while a lot of people like the look of the Mac, they don't like the underlying technologies: DisplayPDF and Objective-C. Personally, I think those technologies are obsolete, inefficient, and cumbersome.

    I think adding transparency to X11 is a technically much better solution. It is language neutral and transport agnostic. It also has the virtue of being backwards compatible. And it doesn't require people to throw away their existing X11 software--there is a lot more X11 software than OpenStep or Apple software.

    X11 will also get server-side stored vector graphics based on SVG. Again, same functionality as DisplayPDF but more standards compliant and a better design.

    Also, OpenStep exists as a standard so it sure will make easier to port commercial applications written in Cocoa to the Unix world.

    In what sense do you believe OpenStep is a "standard"? Where are the standards documents? Where can you even get an implementation?

    It seems that right now, we have GNUstep and Cocoa, two similar but incompatible implementations, together with some copyrighted API documents.

    Note, incidentally, that few of the features that make the Macintosh API visually appealing (shadows, transparency, etc.) were pioneered by Apple, and historically were implemented without anything like Apple's software infrastructure.

  37. Hardware supported by these development versions? by John+Allsup · · Score: 2, Interesting

    In order to play with this X server, what hardware does one need (i.e. what hardware does the current CVS version support?)

    --
    John_Chalisque
  38. Re:Cascading menus... same old same old by bug-eyed+monster · · Score: 2, Interesting

    You're assuming the only choices are to present 5 commands at a time or to present all commands in one big long list. There are other ways, you can present a screen-full of commands divided into small groups, each group presented in its own section.

    Look at real menus in restaurants. Some restaurants have a lot of food choices, but the choices are presented under different sections, appetizers, soups, salads, noodles, etc. Once you find the right section, you can find your favorite food easily...

    Now think about those menus that go on for pages, you have to flip back and forth between pages just to find the proper section. Other menus are presented as one big page (double-sided perhaps), to find the proper section you quickly scan the large-type headings and take it from there, it's just as easy minus the page-flipping.

    Cascading menus are like multi-page restaurant menus. I'm saying that we now have enough space on the screen to present single-page menus (or perhaps 2-page).

    Another example, say you're looking for the shrimp-noodle soup but you're not sure which section it is in. For the multi-page menu, you have to flip flip flip to the soup page, check there, then flip flip flip to the noodles page, check there, and so on. For the single-page menu, you quickly scan for the possible sections and look in each, if the particular meal doesn't jump out at you, you still have all sections in front of your eyes so you can locate another meal that is close to what you want.

    This is like the preferences command. You never know if it's under File, Edit, or Tools, you have to visit each drop-down menu in turn. If all commands were presented in a single sectioned page, you'd have an easier time finding it. Furthermore, on subsequent visits, the visual clues of that particular menu help you remember where the preferences command is.

    Another example, toolbars became popular about 10 years ago. Why? because, on one hand it was a one-click deal, and the other hand they presented all the commands at once (divided into small groups of course). Their only problem: because of space limitations, they use icons which get to be cryptic. With today's bigger screens and faster cpus, we can pop-up a giant version of the toolbar but with text to make it more usable.

  39. Re:See OSX by NotLad · · Score: 2, Informative

    yes, linux had transparent terminals way before OSX(before it existed even...). it was one of my reasons for switching to linux way back when... i don't remember the thumbnailed apps in enlightenment, but i love the dock implementation, particularly when you have dock magnification maxed out. you get a nice clean representation of your app as you mouse over. how did it work in enlightenment?

  40. Why KDE and Gnome -reduce- bloat. by Balinares · · Score: 4, Insightful

    There, I would like to point out why something like KDE exists to -reduce- bloat, paradoxical as you may think it.

    First of all, a LOT of any given KDE app's functionality resides in the libs. Heck, you can write a simple Web browser in 10 lines of code... This means that to start that app you'll need to load all sorts of libs, which accounts for some of the ~25% more memory a full KDE desktop takes over WindowMaker, as the parent post points out.

    Only, and there's the tasty part, once the lib is loaded, it's loaded for all the apps that will ever use it. Ergo: the more code is shared by apps, the less bloat you get down the road.

    While this -does- mean you get a bit of an overhead at startup, any additional KDE app running takes up considerably less additional memory than a similar app re-coded from scratch.

    I routinely have 10 to 20 browser windows (tabbed and not tabbed) open at a given time, with a mail client, newsreader, IM app, music app, a variety of applets, an IDE and countless terms, and the system doesn't even flinch. Try doing that with as many GUI apps all reinventing their own wheel.

    Oh, and as for speed, turn off the eye candy and KDE runs all sweet on a simple Pentium (yes, I did try it).

    Note, I name KDE here because that's what I use most, but the same can be said for Gnome (to a lesser extent maybe; last time examined the Gnome architecture it encouraged custom code somewhat more, which is not a bad thing either, mind).

    --

    -- B.
    This sig does in fact not have the property it claims not to have.
  41. How about the Amiga Dropshadow program by red+flavor · · Score: 2, Interesting
    On the beloved Amiga, there was a dropshadow program that worked unlike any I've ever seen since.

    It actually took into account the stacking of windows, and would draw a shadow that represented the window's "height above desktop" - so a window that was on top of a large stack of windows would have a severely offset shadow, and one on the bottom of the stack would have a minimally offset shadow.

    Also - the shadow-casting onto windows beneath also took into account the relative height differences.

    The end result was an *amazing* feel of 3d, on a crappy old 7.14MHz 68000. We should definitely be able to do better on today's marvels.

  42. Re:Who is going to build the composition manager? by inc_x · · Score: 2, Informative
  43. Ummmm....Yummy Troll!! by reallocate · · Score: 2, Insightful

    Troll, indeed, but, I'll bite.

    RedHat hasn't said Linux is an impossibility on the desktop. They've said it isn't ready now. Of course, that's a judgement call, and presumably RedHat's judgement is strongly influenced by the fact that they haven't been making a profit selling shrink-wrapped RedHat in the consumer channels. (My totally insubstantiated guess is that no one, including Microsoft, makes money selling shrinkwrapped operating systems to consumers. Apple might clear a profit on their annual $129 OS X upgrade, but it's an exception because it is wedded to their hardware market.)

    Lots of folks apparently believe RedHat owes something to the Linux community and that they've done a nasty by dropping consumer sales. Well, I suppose they do owe something -- they didn't write all that code themselves. But, that's in the nature of the GPL, which stipulates that RedHat gets to pay off its GPL debt with source code, not by stubbornly staying with a profit-less product.

    RedHat is a business. Their obligation to make a profit and pay dividends to their stockholders takes precedence over any alleged loyalty to the Linux community.

    What they do with Fedora bears watching. I've been using it since Fedora Core was released and it really is "not bad". If Fedora turns into a really innovative kind of Linux, rather than an easily installed Linux with legible fonts, Good Things may happen.

    --
    -- Slashdot: When Public Access TV Says "No"
  44. Re:If people want things to look and work like Mac by tyrione · · Score: 2, Informative

    Your personal, subjective views on Objective-C without supporting materials does not add weight to your proclaiming your stance is fact.

    The syntax to Objective-C that draws from Smalltalk-80 flows grammatically and is quite self documenting.

    C++ on the other hand isn't designed to be self documenting and doesn't discourage poor grammar practices.

  45. Re:Dropshadow bug by spitzak · · Score: 2, Interesting

    This is true for sharp shadows. But for fuzzy shadows that are being shown here, the correct result from such a diffuse lighting source would be a lighter and wider shadow. It turns out that identical shadows are actually a pretty close emulation because the lightening and widening of the fall-off curve approximately cancel out, and there is obvious speed benefits of implementing them this way.

    A simple change to make it more realistic would be to increase the transparency based on the difference in Z. This would improve it far more than changing the width would.

    If the "compositing engine" has access to programmable OpenGL shaders there are hacks that can be done that will make very accurate diffuse shadows.

  46. Re:Am I missing something here? by ocelotbob · · Score: 2, Informative

    The problem is is that the current implementation of the features in KDE is very inefficient -- lots of hacks, etc to get "transparency" that doesn't work properly a lot of the time. The freedesktop project rocks because it places all of these functions in the compositing level, which means that any x app can use them, without relying on one specific windowmanager. There are lots of performance gains to be had with this new method, as all of the actions are handled once, at the server level, instead of on a toolkit-by-toolkit basis.

    --

    Marxism is the opiate of dumbasses