Bug 239980

Summary: blur effect doesn't work for regular application windows
Product: [Plasma] kwin Reporter: Bart <bartek>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bart 2010-05-29 15:18:26 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The blur effect in 4.5beta 1 seem to blur only background of plasma panels, lancelot, plasma notifications, but it doesn't blur the background of semi transparent windows of applications (for instance konsole or other elements, that are set transparent through kwin effect 'Translucency').

Reproducible: Always

Steps to Reproduce:
Activate translucency & blur kwin effects. Configure some windows (for instance dialogs to have some transparency). Call:
kdialog --msgbox "This dialog should have blurred background"




I'm using kde4.5beta1 from opensuse unstable repo, on a notebook with nvidia 8600gt (driver version 195.36.15).
Comment 1 Thomas Lübking 2010-05-29 15:30:56 UTC
see comment #1 in bug #238141 for an explanation.
Comment 2 Bart 2010-05-29 17:42:20 UTC
Oh I see... so basically the blur also needs some support from style (qtcurve in my case) and/or running applications? I suppose that we can expect that till final release oxygen theme will support it (qtcurve to follow, which would be awesome, as it could also resolve a problem with gnome/gtk apps), but if I would like to patch some of the stuff I use (which is not that actively maintained or popular - like calibri notifications or smooth tasks applet) what sort of stuff should I add "code wise". I just glanced on the sources of blur effect and plasma panel - am I right, that just setting up net_wm_blur_region property with proper values (or calling Plasma::WindowEffect::enableBlurBehind ) will do the trick ?
Comment 3 Thomas Lübking 2010-05-29 18:19:46 UTC
setting the netwm hint should be sufficient.

i don't think it makes sense for clients to set the region for windows with a global translucency
imho the client rect should be blurred or not in this case (depending on some setting) as should the entire rect (including the deco) in case the deco doesn't propagate argb usage or shadows - just my 2¢, though
Comment 4 Martin Flöser 2010-06-10 21:10:05 UTC
As it's intended to not blur all windows, but that the window sets the hint, this is a wontfix. Sorry