-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (11) . 

BeShadowed

   0.8a  

KDE Improvement

Score 88%
BeShadowed
zoom


BeShadowed
zoom


Minimum required   KDE 4.x
Downloads:  926
Submitted:  Mar 15 2010
Updated:  Feb 14 2011

Description:

*** THIS IS COMPLETELY OUTDATED ***

Current versions of KWin have a dfferent shadow system since 4.7
This is only kept for legacy reasons.

DO NOT USE IT ON THOSE.



Since the Oxygen decoration paints it's own shadows, the shadow plugin got pretty stepchilded.

a) it's horribly imperformant (if I play a video it's causing ~2/3 of the kwin cpu load...)
b) it's broken with XRender & translucency
c) it could use some more options ;-)
d) The heavy exponential shadow is maybe nice, but neither realistic (real shdows cast rather sharp borders), nor effective (most of the HUGE shadow is so much translucent that you can hardly see anything of it...)

So I started to work on it.
Not much of a help for oxygen, but most other decorations (QtCurve has deco shadows as well), consistent and (hopefully) less artefact prone ;-P

Ultimately this should go back upstream but testing outside the release cycle won't hurt - i assume :)

Version 0.1 performance is up to decoration shadows for one window (heavy repaints in a video) but doesn't scale as good, there also might be artefacts left (didn't see any though) but good enough for a first version, i hopefully can speed up things even more




Changelog:

0.8a
----
- git master GL support, nothing else (notice that kwin 4.7 will have a revamped shadow system anyway)

0.8
----
- fix popup clipping when no desktop window is in use (corner case)
- fix XRender shadows for tiny windows

0.7
---
- add property support to force shadows
- add launcher script to run chromium with this property
- add flag for translucent decorations (aurorae, oxygen) to fix "corner" artefact (will be autodetected with 4.5, but not "implemented" yet)

0.6
---
- fix skip conditions (override property, undecorated ARBG windows)

0.5
---
- fix remaining artefact (with fading windows that exceed the screenarea)
- avoid some useless shadow paints with translucent windows (though quite a corner case)
- add new shot to show off tronhalo mode ;-)

0.4
---
- fix tiny window shadows better ;-)
- fix property system*
- optionally skip maximized windows (on by default, makes sense depending on your desktop setup)
- skip fullscreen windows (e.g. when not redirecting)

* the shadows are supposed to support a _KDE_SHADOW_OVERRIDE property - but they didn't ;-P
set with e.g.:
xprop -f _KDE_SHADOW_OVERRIDE 32a -set _KDE_SHADOW_OVERRIDE 1
unset with:
xprop -f _KDE_SHADOW_OVERRIDE 32a -remove _KDE_SHADOW_OVERRIDE

0.3
----
- even more performance ;-)
- Halo mode
- "fixed" shadow painting for tiny windows and large fuzzyness

0.2
----
++performance;
--artefacts;
* custom colors for active windows (but using plain QPalette::Shadow as default for both and the moment - we'll have to use sth. like additive painting for _real_ halos -> 0.3 ;-)




LicenseGPL
(Sources)
Send to a friend
Subscribe
Other  Artwork  from thomas12777
Report inappropriate content



goto page:  1  2  3  4 

-
.

 QtCurve shadows

 
 by CraigD on: Mar 15 2010
 
Score 50%

The shadow code in QtCurve is a direct copy from the Oxygen decoration - with a few tweeks on the colour settings.

The only reason for the QtCurve shadow code (which is turned off by default), is so that the active window can have a different coloured shadow to inactive ones.

Could this plugin not also have this option? Must admit that it would make more sense in a generic (and not decoration specific) plugin.

If you do, then - as per QtCurve - I think it should use the predefined colour settings. e.g. focus colour, active window titlebar colour, etc - and not a specific colour value. So that the shadow colour follows the user's colour scheme.


Reply to this

-

 Re: QtCurve shadows

 
 by thomas12777 on: Mar 15 2010
 
Score 50%

yes, makes sense for esp. dark setups where the "shadow" is more kind of a "halo" ;-)


Reply to this

-
.

 Shadows as they should be!

 
 by koral on: Mar 16 2010
 
Score 50%

I've tried BeShadow and I'm really really really happy about the result. Finally shadows are *faster*!

This plugin looks *lots* better than Oxygen's shadows, since any windowed element (popups, launch notifications & co) cast shadows.

I hope this will replace the old shadow code, and if performance (already good) is improved, even better!


Reply to this

-
.

 Suggestion: x-panded shadows

 
 by koral on: Mar 16 2010
 
Score 50%

Google image search for "philips aurea".

This will be really CPU intensive (or GPU shader offloaded ;-) but the concept is to cast colors from the edges of a window instead of a shadow. Colors should be casted if the "value" is high.

If this can be done, it could produce really cool graphics effects, maybe too much :D


Reply to this

-

 Re: Suggestion: x-panded shadows

 
 by thomas12777 on: Mar 16 2010
 
Score 50%

"ambilight (tm)" should not be _that_ expensive at all (perfect parallel O(n) for a "minor" outer region, like 2*w*h*16, to scan average colors in arbitrary blocksizes and then paint blending vertices), but:

this is designed for the pretty specific "bright content in dark surrounding" case, i.e. you need:
a) a dark wallpaper
b) a dark window frame
c) bright content for active windows
d) dimming for inactive windows

-> it's more topic for a specific "show-off" effect (as the majority of users would never use such setup, no matter what cool it looks like ;-)


Reply to this

-

 Compile error

 
 by mpeti on: Mar 18 2010
 
Score 50%

It fails compiling on my system, debian testing with kde 4.3.4 and Qt 4.5.3

details:
http://pastebin.com/Va8u8saJ


Reply to this

-
.

 Re: Compile error

 
 by thomas12777 on: Mar 18 2010
 
Score 50%

the code derives from the 4.4 plugin, 4.3 support is not guaranteed

i could workaround this particular issue by either feature restriction or performance cost, but that does not guarantee it works with 4.3 then :-(

(i recommand to update KDE, but given the quality of the original plugin, tell me if you really, really, really need 4.3 support :)


Reply to this

-

 Re: Re: Compile error

 
 by mpeti on: Mar 19 2010
 
Score 50%

Ops, my fault. I didn't checked the version numbers, I wait for kde 4.4 in testing.


Reply to this

-
.

 Update area glitch.

 
 by koral on: Mar 19 2010
 
Score 50%

In my crazy shadow configuration (v-offset:2, fuzziness:32, active-size:30) when the shadow is drawn over a very small element (like the application startup notification or other 16x16 smallwindows) there is some problem in the update area.

It's only a matter of enlarging the
exposed area I hope.


Reply to this

-

 Re: Update area glitch.

 
 by thomas12777 on: Mar 19 2010
 
Score 50%

not crazy, nicely lifted ;-)

i can confirm the issue, but no: it's unfortunately not that trivial :-(

with the current painting the shadow size of the entire window needs to be twice as big as the fuzzyness, or you get shaped borders - this is neither what the code thinks when it transforms the damage region, nor what you configured.

i'll try to fix the painting, so that you can have heavily fuzzy shadows on tiny windows w/o freaking around with the shadow size :)


Reply to this

-

 Re: Update area glitch.

 
 by thomas12777 on: Mar 19 2010
 
Score 50%

good news: i fixed the painting
bad news: with your setup, tiny windows won't cast a "visible" shadow at all (due to the high fuzzy degree, as only the other area is painted)

we'll have to see how to deal with this (e.g. either adjust size or opacity to the window size...)


Reply to this

-
.

 Re: Re: Update area glitch.

 
 by koral on: Mar 20 2010
 
Score 50%

Wow, tested and works great!
no more problems, oh wait, I got a glitch in creator... let me test it:
done, it works :D
I'd say, replace the KDE shadow plugin with yours, much better performance, much better results!


Reply to this

-

 Re: Re: Re: Update area glitch.

 
 by TheRob on: Mar 23 2010
 
Score 50%

+1


\\\\\\\"life sucks, get a f***ing helmet alright!\\\\\\\" -Denis Leary
Reply to this

-

 Great

 
 by squall38 on: Mar 24 2010
 
Score 50%

This is awesome, it pretty much *fixed* compositing performance on my Geforce6. Thanks a ton!

I noticed however that many Plasma-related popup windows (like kmenu) show an additional shadow the first time I open them (afterwards they look fine).


Reply to this

-

 Re: Great

 
 by thomas12777 on: Mar 24 2010
 
Score 50%

yupp - apparently the _KDE_SHADOW_OVERRIDE property type was actually supposed (what makes it hard to set via xprop)

i'll add support for both property types ;-)


Reply to this

goto page:  1  2  3  4 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.