-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 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 
--
-
 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
--
-
 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    Open-PC.com   
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (8) . 

BeShadowed

   0.7  

KDE Improvement

BeShadowed
zoom


BeShadowed
zoom


Depends on  KDE 4.x
Downloads:  444
Submitted:  Mar 15 2010
Updated:  May 1 2010
Score: 
score89%89%score
 89% good
bad   good

Description:

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:

ehe... sorry. now the proper file :-\

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 apps from thomas12777



goto page: prev   1  2  3 

-

 KDE 4.5

 
 by AlejandroNova on: Jun 7 2010
 

Will you add KDE 4.5 support? Thanks in advance ;).


Reply to this

-

 Re: KDE 4.5

 
 by thomas12777 on: Jun 7 2010
 

hmm? my latest trunk compilation is slight older than the 4.5 beta, but beshadowed compiled w/o problems. (the effect API version increase, so you cannot use an effect compiled for 4.4 on 4.5)

please mail me a make output (make 2>&1 | tee make.log)


Reply to this

-

 Re: Re: KDE 4.5

 
 by AlejandroNova on: Jun 7 2010
 

It's short enough to be published here.


[ 0%] Built target kcm_kwin4_effect_beclock_automoc
[ 14%] Building CXX object CMakeFiles/kcm_kwin4_effect_beclock.dir/beclock_config.o
/home/faeris/Descargas/beclock-kwin-fx/beclock_config.cpp:28:28: error: kephal/screens.h: No such file or directory
/home/faeris/Descargas/beclock-kwin-fx/beclock_config.cpp: In constructor 'KWin::BeClockConfig::BeClockConfig(QWidget*, cons$
/home/faeris/Descargas/beclock-kwin-fx/beclock_config.cpp:88: error: 'Kephal' has not been declared
make[2]: *** [CMakeFiles/kcm_kwin4_effect_beclock.dir/beclock_config.o] Error 1
make[1]: *** [CMakeFiles/kcm_kwin4_effect_beclock.dir/all] Error 2
make: *** [all] Error 2


Reply to this

-

 Re: Re: Re: KDE 4.5

 
 by thomas12777 on: Jun 7 2010
 

that's a compile log from beclock.
in that case you're missing kephal headers (and library)

i don't see why it should not be present (unless you need to install some extra dev package, it's usually part of kdebase/workspace - just like kwin) but if you're not using several monitors, you could just skip it (i'll add a cmake flag for later versions)


Reply to this

-

 Re: Re: Re: Re: KDE 4.5

 
 by AlejandroNova on: Jun 7 2010
 

You must be right. Until recently BeShadowed was spitting similar error messages. But I now tried to compile BeShadowed and compiled with only a warning, so my bad.

I don't know why I don't have that file, because kdebase-workspace-devel was installed.

Thank you for your time! ;)


Reply to this

-

 KDE 4.5 Errors

 
 by Atermoon on: Jun 14 2010
 

This looks really promising, and even more considering how slow the kwin shadow plugin is, however I can't get it to compile on KDE 4.5.

Here's the output: http://pastebin.com/EDq9RcDQ

Thanks.


-- -.-- ... .. --. -. .- - ..- .-. .
Reply to this

-

 Re: KDE 4.5 Errors

 
 by thomas12777 on: Jun 14 2010
 

that's not about KDE 4.5 - you lack two headers from Xorg (Xfixes.h & Xrender.h)

ensure you've installed the xorg-dev package and (in case you already had that) look out for possibly additional xorg related dev packages (like "xorg-extesions-dev" or whatever...)


Reply to this

-

 Re: Re: KDE 4.5 Errors

 
 by Atermoon on: Jun 14 2010
 

Wow, thanks for the fast reply! Installing xorg-dev did the trick. Got a couple of warnings but that was it, it works just perfect.

I'd like to give you some feedback but I just can't think of anything that can be improved right now - awesome job!

Thanks again :)


-- -.-- ... .. --. -. .- - ..- .-. .
Reply to this

-

 Very nice

 
 by MountainX on: Jul 3 2010
 
MountainXMountainX
Home
-
Dave Mountain
United States of America, a place with no mountains
Last visit Jul 3 2010
0 Friends
0 Groups

Other contents
Send a message
Add as friend
More info
--

Thanks for all your great work. I would not want to use KDE without Bespin and shadow effects. :)


Reply to this

-

 Compile error

 
 by linuxfever on: Jul 24 2010
 

Hello, I get the following error during compilation:

....
Scanning dependencies of target kwin4_effect_beshadowed
[ 80%] Building CXX object CMakeFiles/kwin4_effect_beshadowed.dir/kwin4_effect_beshadowed_automoc.o
[100%] Building CXX object CMakeFiles/kwin4_effect_beshadowed.dir/beshadowed.o
/home/giorgos/Desktop/beshadowed-kwin-fx/beshadowed.cpp: In function ‘bool KWin::contains(Atom, QByteArray)’:
/home/giorgos/Desktop/beshadowed-kwin-fx/beshadowed.cpp:571: warning: comparison between signed and unsigned integer expre
Linking CXX shared module lib/kwin4_effect_beshadowed.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [lib/kwin4_effect_beshadowed.so] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_beshadowed.dir/all] Error 2
make: *** [all] Error 2

Any ideas what is wrong? Thanks!


Reply to this

-

 Re: Compile error

 
 by thomas12777 on: Jul 24 2010
 

you appear to lack a (the...) OpenGL library... but that's unlikely :-\

try
ldd $(which kwin) | grep -i gl

and watch out for libGL, there should be sth. like
libGL.so.1 => /usr/lib/libGL.so.1

(otherwise i'd need to extend the configure script for to search for and conditionally disable openGL support. (it's just quite uncommon on a today desktop, there's usually at least mesa)


Reply to this

-

 Re: Re: Compile error

 
 by linuxfever on: Jul 24 2010
 

thanks for your reply. The output of the command is this:

libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fb670a81000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007fb66add6000)
libnvidia-glcore.so.256.35 => /usr/lib/libnvidia-glcore.so.256.35 (0x00007fb668678000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fb667901000)

it seems like I do have the GL library. The command "make" though fails...


Reply to this

-

 Re: Re: Re: Compile error

 
 by thomas12777 on: Jul 24 2010
 

errr stunning...
seems libGL was not propagated to ldconfig
if there was an installation problem, you can run "sudo ldconfig" to update cache & database

in doubt, just replace "GL" at the end of CMakeLists.txt:20 by "/usr/lib/libGL.so" that should do, but propagating GL to ld is the more "proper" solution...


Reply to this

-

 Re: Re: Re: Re: Compile error

 
 by linuxfever on: Jul 24 2010
 

thanks, doing "sudo ldconfig" did not help.

I changed the "GL" to "/usr/lib/libGL.so.1" and it worked. Thanks again!


Reply to this

-

 Re: Re: Re: Re: Re: Compile error

 
 by linuxfever on: Jul 24 2010
 

by the way, could you please tell me the names of thw widgets on the second screenshot?


Reply to this

-

 Re: Re: Re: Re: Re: Re: Compile error

 
 by thomas12777 on: Jul 24 2010
 

Humm?
The clock is BeClock (kwin plugin) and the sysinfo thing is conky - i don't use plasma :-)



-

 Compile problems

 
 by Contrast on: Aug 19 2010
 

I'm getting the following output when running make: http://pastebin.ca/1920057
I've already installed xorg-dev. Running KDE 4.5 on Kubuntu 10.04. Any ideas?


Reply to this

-

 Re: Compile problems

 
 by thomas12777 on: Aug 19 2010
 

Errr... on what kind of system are you compiling this?

It appears as if XRender isn't linked (what would mean it's ruled out in cmake) but the xrender code is compiled (ie. the definition is set).
Since this should both be driven by the same KDE cmake check there's sth. wrong ;-)

a) check whether you've XRender at all
ldd $(which kwin) | grep -i xrender
should paste sth. like
"libXrender.so.1 => /usr/lib/libXrender.so.1"
b) if you've xrender, you can likely just comment the check in CMakeLists.txt

if (X11_Xrender_FOUND)
target_link_libraries(kwin4_effect_beshadowed ${X11_Xrender_LIB})
endif (X11_Xrender_FOUND)

--> (add two "#")

# if (X11_Xrender_FOUND)
target_link_libraries(kwin4_effect_beshadowed ${X11_Xrender_LIB})
# endif (X11_Xrender_FOUND)

Notice that the check might fail because lXrender is not propagated to ld (see above, seems so.'s spreading broken -dev packages...)
you'll then have to replace ${X11_Xrender_LIB} by eg. /usr/lib/libXrender.so.1 (ie. the second part of the link you found by the command above) - but don't do this w/o real need
And in this case, maybe inform your distro as well :-\


Reply to this

-

 Re: Re: Compile problems

 
 by Contrast on: Aug 21 2010
 

That got it, thanks a lot.


Reply to this

-
.

 KDE 4.5 & Oxygen

 
 by traysh on: Aug 25 2010
 

Is it possible to use it with Oxygen windeco in KDE 4.5? It does not work for me, I see no shadows unless I enable the Oxygen "native" ones.


Reply to this

-
.

 Re: KDE 4.5 & Oxygen

 
 by traysh on: Aug 25 2010
 

Found it in the new oxygen-settings app!


Reply to this

goto page: prev   1  2  3 

Add commentBack




-
-
all messages
openDesktop.org Facebook App

Partners
Place Your Link Here!
online casino bonus
Online Roulette

-
Favorite Distribution 2010?
 Debian
 Gentoo
 SuSE
 Ubuntu
 Kubuntu
 Linux Mint
 Arch Linux
 Frugalware
 Fedora
 Mandriva
 PC Linux OS
 Other Distribution
 I'm a *BSD user
 Using Windows
 Using Mac OS X
 Other OS
 I don't use Computers and have asked another user to check this option for me.

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

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

Copyright 2003-2010 KDE-Apps.org Team  
All rights reserved. KDE-Apps.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.