
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A set of patches against KDE 3.1 and KDE CVS to kwin and the Window Decorations kcontrol module to enable Windows- or Mac OS X-styled drop shadows under the active window.
They're based heavily on David Sansome's and noonespecial's work. Have a look at
http://www.kdelook.org/content/show.php?content=5063
http://www.kdelook.org/content/show.php?content=4922
and marvel at their mad eye candy skills.
This should work with any window decoration, but irregularly shaped ones such as Keramik and ModSystem may look a bit weird.
Like most of the dedicated Shadow Coders (ooh, sounds dramatic ;) ) before me, I used a well-known fake translucency technique to draw the drop shadows, which are subject to rendering errors, update desyncs, and the whole doubtful business.
If you have any code or suggestions to contribute, please let me know.
Have fun!
18 years ago
0.3.1:
- thanks to Piotr Szymanski, a patch is now available for KDE 3.1!
0.3:
- enabled click passthrough for Windows-style drop shadows
- fixed shadow stacking order. In other words, shadows of newly focused but not
raised windows (i.e. wheel scroll or right-click in inactive window) no longer
overlap any windows above it. See 2nd screenshot for an example
- fixed XMMS random crash on startup
- fixed crash when drawing shadow around very small windows (such as XMMS in shade mode)
For a compelte changelog, see the CHANGELOG file in the archive.
18 years ago
0.3.1:
- thanks to Piotr Szymanski, a patch is now available for KDE 3.1!
0.3:
- enabled click passthrough for Windows-style drop shadows
- fixed shadow stacking order. In other words, shadows of newly focused but not
raised windows (i.e. wheel scroll or right-click in inactive window) no longer
overlap any windows above it. See 2nd screenshot for an example
- fixed XMMS random crash on startup
- fixed crash when drawing shadow around very small windows (such as XMMS in shade mode)
For a compelte changelog, see the CHANGELOG file in the archive.
python_double
18 years ago
Report
pepillo
18 years ago
which color-scheme is that? looks really cool to me.
Report
Deciare
18 years ago
I might post it to KDE-Look as a separate entry later.
Report
Goamaus
18 years ago
greetz,
Mona
Report
foobar3
18 years ago
could someone make an rpm, please.
Report
felipe
18 years ago
Could it be possible to patch the stable 3.1 sources instead? I have them on cdrom and it should be more simple to try and experiment with them =)
Of course just if the changes are compatible with the stable release...
Report
felipe
18 years ago
viva Debian!
felipe
Report
WhitePanther5000
18 years ago
Again, I'm not sure about this, but its worth a try.
Report
felipe
18 years ago
I applied the patch and all fine. I was blindly hoping it would compile but I realized there was no Makefile.cvs or anything similar.
I played with some auto-tools (auto[scan,header,conf,make]) but nothing... Please any idea? Am I supposed to download the entire kdebase module?!? nooo... :D
I would very glad if someone could eventually provide me with a binary release of just kwin... I'm on an "almost" standard debian/woody
Thank you
felipe
Report
Deciare
18 years ago
I'd suggest getting all of kdelibs and kdebase from CVS to be on the safe side. If you _really_ don't want to do that, I suppose you could get away with hitting Ctrl+C as soon as the main kdelibs and kdebase directories have been checked out. Also check out kdelibs/admin and kdebase/admin. make -f Makefile.cvs might work then.
Anyway, kdelibs + kdebase doesn't take too long to build from scratch. About 5 hours on my PIII/800. You should also build kdeartwork/kwin-styles (binary incompatibility again).
Report
foobar3
18 years ago
Report
felipe
18 years ago
Could I simply do that?
ciao
felipe
Report
mosfet
18 years ago
The main problem I see, and the reason why I haven't put much effort into things like this, is that with the shadow/transparency method I originally developed for Liquid and MegaGradient and was then adopted by KDE doesn't catch changes made to underlying windows. This is okay for popup menus, which aren't displayed for long, but is really rather bad for permanent windows. If a window is displayed for a long time chances are better that the underlying window will change contents and it will look bad. This is why with Liquid when you tear-off menus it shuts off the translucency.
I don't see any easy way around this except for Keith's translucency server, which has been promised for a long time. The other option is to use a transparent stipple. This works okay on high resolution displays but still takes up quite a bit of resources in spite of rather clever optimizations people have made because of the complex mask require.
Report
Version4
18 years ago
Report
thanatosnl
18 years ago
Report
Deciare
18 years ago
Report
Darkatom
18 years ago
I've not have enough time to compile the sources with this patch. Can you tell me if the shadows moves with the window?
Does the window shadow hide when the window is moved, as another window theme does?
Thank you!
Report
Deciare
18 years ago
The main differences between this and the modified Acqua decoration is that this works with most window decorations and allows you to click through the shadow to get at what's underneath.
Report
Oxidative
18 years ago
Report
Deciare
18 years ago
Report
Goamaus
18 years ago
-------------------------------
would be nice, if these files would be there, but I can find only client.h and options.h... I have KDE3.1 on Debian Sid
Report
jimmymallmann
18 years ago
Report
Goamaus
18 years ago
Report
davidsansome
18 years ago
I've got some new code coming soon (next week probably) which fixes the shadows being drawn above other windows, and gives the option of putting shadows on all windows (not just the active one). You could probably add a seperate "Advanced" box to configure this in the kontrol center.
Anyway, well done :-)
Report
Deciare
18 years ago
Another good addition would be the ability to pass clicks through the shadow to the widget that's under it (i.e. a drop shadow of a window just above the taskbar won't prevent you from clicking on the taskbar buttons). I haven't been able to do this, but I got the shadow to remove itself when clicked so that a second click will get you what's under it. I need a way to simulate clicks at the pointer's current global X Y coordinates...
Report