Bug 225654 - Shadows are not disabled even when that option is unchecked in "Desktop Effects"
Summary: Shadows are not disabled even when that option is unchecked in "Desktop Effects"
Status: RESOLVED DUPLICATE of bug 198704
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 19:04 UTC by Alvaro Manuel Recio Perez
Modified: 2010-02-05 19:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Manuel Recio Perez 2010-02-05 19:04:59 UTC
Version:           desconocido (using 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.31-19-generic

I stated my KDE session with compositing effects enabled. After unchecking the "Shadows" option in "Desktop effects" and clicking "Apply" the shadows are still drawn on every window.

The "Shadows" option doesn't seem to control shadow rendering at all. Kwin should honor that setting.
Comment 1 Christoph Feck 2010-02-05 19:08:50 UTC
If you use Oxygen window decoration, the shadows are rendered as part of the window decoration for performance reasons. Please disable shadows in the window decoration configuration.
Comment 2 Alvaro Manuel Recio Perez 2010-02-05 19:23:01 UTC
Thanks Christoph. You are right, I'm using Oxygen so that should be the problem.

Anyway, I can't see an option to disable shadows in Oxygen. The only way is setting is size to 0? When I disable the "Active window glow" the shadow of the active window is still drawn but now is black (as for the rest of windows).

I would also like to add that even if it's for performance reasons, having an option in "Desktop effects" that doesn't seem to work can be confusing for a novice user. I guess it's not easy to solve this but is an ugly wart.
Comment 3 Hugo Pereira Da Costa 2010-02-05 19:28:38 UTC
@Alvaro
yes, setting size to 0 is the only way to disable oxygen shadow. We realized too late (due to kde4.4 freeze) that one might have an option for that.

As for having both a decoration shadow and a kwin shadow effect, the thing is that not all windows have decorations, so that even when using oxygen style, the kwin effect is used here and there (for Menu shadows, and tooltips, for instance). 

Ultimately we'd like to have _all_ shadows handled by decorations (if only for consistency), and dump the kwin effect, but this requires a lot of changes (some of them inside Qt)
Comment 4 Martin Flöser 2010-02-05 19:32:40 UTC

*** This bug has been marked as a duplicate of bug 198704 ***
Comment 5 Alvaro Manuel Recio Perez 2010-02-05 19:40:09 UTC
Thanks for your comments, Hugo. That was really fast. :-)

I think I understand the implications of such a change. I wish you the best
luck if/when you decide to undertake them. Thanks for your work!