Package: libgtk-3-0
Version: 3.4.2-2
Severity: wishlist

I was having strange black boxes in evolution ; after reporting to upstream, the bug was closed as a duplicate of :
https://bugzilla.gnome.org/show_bug.cgi?id=671437

That bug reports ends by a developer cherry-picking a gtk+ change from another branch into the 3.4 branch :
http://git.gnome.org/browse/gtk+/commit/?h=gtk-3-4&id=72feb95edb6ab8c3fac27c0c32afeb2b2f61bd1c

It was applied after 3.4.3 so probably won't be in your packages by default -- could you add it anyway? Here is a quilt patch to do that ; I tested it and it fixes the issue.

Thanks,

Snark on #debian-science
From: Alexander Larsson <[email protected]>
From: Alexander Larsson <[email protected]>
Subject: [PATCH] Handle transparent colors better in GtkStyle emulation
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=671437

It is in fact http://git.gnome.org/browse/gtk+/commit/?h=gtk-3-4&id=72feb95edb6ab8c3fac27c0c32afeb2b2f61bd1c

--- a/gtk/deprecated/gtkstyle.c
+++ b/gtk/deprecated/gtkstyle.c
@@ -673,7 +673,7 @@
       break;
     }
 
-  if (color)
+  if (color && color->alpha > 0.01)
     {
       dest->pixel = 0;
       dest->red = CLAMP ((guint) (color->red * 65535), 0, 65535);

Reply via email to