vinceliuice / Graphite-gtk-theme

Graphite gtk theme
GNU General Public License v3.0
1.01k stars 51 forks source link

[XFCE4] Fix Chromium browser trailing shadow bug and floating window icons #126

Open swomf opened 8 months ago

swomf commented 8 months ago

Issue

In XFCE4, the theme glitches with Chromium, causing the top right window icons to be outside of the window, as well as a trailing glitch whenever the window is moved. I tested Graphite, Graphite-Dark, and Graphite-Dark-compact.

(System specs: VirtualBox, fresh archinstall with XFCE4)

Graphite Graphite Graphite-Dark Graphite-Dark Graphite-Dark-compact Graphite-Dark-compact

Fix

Removing the following element in gtk-3.0/gtk.css fixed the issue.

diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css
index 5c8c562..445b87c 100644
--- a/gtk-3.0/gtk.css
+++ b/gtk-3.0/gtk.css
@@ -6252,7 +6252,6 @@ window.background.chromium {

 window.background.chromium decoration {
   background-clip: padding-box;
-  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 10px 18px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.12);
 }

 window.background.chromium entry,

Fixed Graphite fixed-Graphite Fixed Graphite-Dark fixed-Graphite-Dark Fixed Graphite-Dark-compact fixed-Graphite-Dark-compact

swomf commented 8 months ago

I could not replicate the Chromium trailing bug outside of VirtualBox, but the iconify/maximize/close icons still appear off of the screen and are still fixed by this change