Comment 7 for bug 1436553

Revision history for this message
luke (lukefromdc) wrote :

Has compiz - 1:0.9.12.1+15.10.20150805-0ubuntu1 been tested with GNOME apps that use client side decoration, WITHOUT any Ubuntu patches that remove CSD and restore normal server side decoration and running by itself without Unity running?

This version does not fix anything for me in gtk3.17 except of course the Metacity 3.16 or later issue. I tested both Ubuntu's packages and my custom build in the Debian Unstable that is now my main system with the same results. I can force popup window transparency in anything I build myself but this does not help GNOME's CSD applications.

There is a rough workaround that allows use of CSD applications, forces square corners and you have to align the mouse with a 1px margin to resize but it works and splits out menu popup windows to get normal shadows. You do get a shadow around a CSD apps-ouside the black margin. Setting that to zero means no resize except from the header bar, so it must be set to 1 and a 1px black border is added to the shadow.

These two sections in a gtk theme will do it, but you still cannot have round corners:

 .window-frame.csd {
 border-radius: 7px;
 border-width: 2px;
 margin: 1px;
 box-shadow: 0 2px 2px 3px alpha(black, 0.5);
}

.window-frame, .window-frame.csd.popup, .window-frame.csd.message-dialog {
 border-radius: 7px;
 border-width: 2px;
 margin: 1px;
 box-shadow: none;
 /* This shadow will appear on cairo-dock popups if you use it, the workaround
 is to create a file called menu.css in ~/config/cairo-dock/current_theme, copy
 the above lines into it, and change the shadow to all zeroes and an alpha of 0.0 */
}

I will continue to follow and test this but for normal use will keep my one-off build of the previous version of compiz with the patches that DO fix all of this.