Bug 237684

Summary: Window shadows bleed through Gnome right click menus
Product: [Plasma] kwin Reporter: James Roe <roejames12>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Firefox (GTK) right click menu, windows shadow bleeding through

Description James Roe 2010-05-15 01:43:30 UTC
Version:            (using KDE 4.4.3)
OS:                Linux
Installed from:    Ubuntu Packages

Hello,

When you have window shadows enabled in KWin, the shadows bleed through the right click menus when using Gnome (GTK) applications, such as GTK based Firefox. This appears to have no difference whether right click menu transparency is on or off. I have not observed this happening to QT4 based applications, however I haven't tested them to see if this was true. I am using the KWin style Bespin, although I don't believe this has any effect on the problem.
Comment 1 James Roe 2010-05-15 01:44:30 UTC
Created attachment 43593 [details]
Firefox (GTK) right click menu, windows shadow bleeding through
Comment 2 Thomas Lübking 2010-05-15 01:55:54 UTC
- what other effects do you have enabled?
- XRender or OpenGL backend?
- is this related to the windows "keep above" state
- does this replacement "fix" it
http://kde-look.org/content/show.php/BeShadowed?content=121607
Comment 3 James Roe 2010-05-15 02:03:46 UTC
Effects enabled:
Fade, Highlight Window, Login, Logout, Minimize Animation, Shadow, Slide, Sliding Popups, Taskbar Thumbnails, Thumbnail Aside, Translucency, Dialog Parent, Dim Screen for Administrator Mode, Box Switch, Present Windows.

Backend:
OpenGL. Keep Window thumbnails, only for shown windows. Disable functionality checks is off. OpenGL mode, Texture from pixmap. Texture filter, bilinear. Enable direct rendering is on, and everything else below that is off.

This is not related to the windows keep above state, or any other state, other than normal, but I suspect this will still happen in other states too.

And I'll get back to you on beshadowed.
Comment 4 James Roe 2010-05-15 02:07:45 UTC
I forgot to note, that I run Gnome-settings-daemon on startup to allow GTK based apps to take their normal Gnome "look" states, buttons and all that.
Comment 5 Martin Flöser 2010-05-15 11:18:01 UTC
could this be a duplicate of bug #164084?
Comment 6 Thomas Lübking 2010-05-15 13:43:40 UTC
probably more to whatever caused comments #17 & #19 (the original report mentions the keep above state)
Comment 7 James Roe 2010-05-15 18:43:15 UTC
The bug report looks exactly the same as mine, except for the one small thing is that I don't need to put the window on any explicit state other than normal. That, and my right click menu on QT4 based apps doesn't bleed through, even on keep above state. (It MAY have to do with me using Bespin, and the menus of that, I'm not sure, as my style is different than the author of the other bug report)

I still haven't had time to test out what beshadowed does for me.. :(
Comment 8 James Roe 2010-05-15 18:46:58 UTC
Using Oxygen did not reproduce the problem for me in QT4 apps, not even in GTK based apps. It looks to me as if oxygen is drawing it's own shadow however, so I'm pretty sure this is why, since it isn't using the window shadow Kwin plugin.
Comment 9 Martin Flöser 2010-05-23 16:32:17 UTC
I'd say it's a duplicate

*** This bug has been marked as a duplicate of bug 164084 ***