After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729794 - Client Side Shadows conflict with Server Side Shadows
Client Side Shadows conflict with Server Side Shadows
Status: RESOLVED DUPLICATE of bug 729721
Product: gtk+
Classification: Platform
Component: .General
3.12.x
Other All
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-05-08 07:28 UTC by jesusda
Modified: 2018-03-30 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ugly double shadow when using GTK 3.12 and COMPIZ (103.71 KB, image/png)
2014-05-08 07:28 UTC, jesusda
Details

Description jesusda 2014-05-08 07:28:21 UTC
Created attachment 276135 [details]
Ugly double shadow when using GTK 3.12 and COMPIZ

Hi!

The new GTK 3.12 version adds some stuff for display shadow under the windows.

This cause a great confiltc when using window managers with his own composition engine who adds shadows to windows.

I have found this nice article explaining the reasons to add client side shadows: http://blogs.gnome.org/mclasen/2013/12/05/client-side-decorations-in-themes/

Maybe it will be a good idea for bring users a better appearance, but it works only for GNOME3 and MUTTER users.

If user does not use Gnome3 or he uses another window manager (the majoriry of them), they will suffer this extrange behaviour:

Here, you can see Gedit with COMPIZ: http://www.pasteall.org/pic/show.php?id=70921

Using others Window Managers, some new gtk apps are totally ignored (no shadow, no decoration....) totally breaking the visual consistency.

I think it is not a good idea to add client side window decoration. The users must control what kind of desktop and window manager, and effects and decoration wants instead to let applications make his own look and feel, breaking the desktop and user experience consistency.


I have found a way to disable this shadows and extrange behaviour, editing the theme css files and adding:

.window-frame, .window-frame:backdrop {
box-shadow: 0 0 0 1px #8D8D8D;
margin: 1px;
border-radius: 1px 1px 0 0;
border-color: #8D8D8D;
}

.titlebar {
border-radius: 3px 3px 0 0;
}

So, the result is this: http://www.pasteall.org/pic/show.php?id=70919


Please, reconsider disable all client side decorations by default, and let the theme creators and users configurate the apps appearance for better integration.

Thank you and sorry me for my poor english. ;)
Comment 1 Matthias Clasen 2014-05-11 14:27:23 UTC
As you've found out, we already let the theme creators configure the applications appearance, including the shadows.
Comment 2 Daniel Boles 2017-08-24 23:03:31 UTC
(In reply to jesusda from comment #0)
> Please, reconsider disable all client side decorations by default,

Have you tried running with GTK_CSD=0 ? Of course, if the application developer added a custom titlebar, CSD is used even if the variable is set to false. But then, so it should be.
Comment 3 Nate Graham 2017-10-10 00:14:19 UTC
I've found that the gtk3-nocsd package solves my woes.
Comment 4 Daniel Boles 2018-03-30 11:34:20 UTC

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