[Xfce-bugs] [Bug 15690] Miniature view in Workspace switcher is transparent

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Jul 13 23:42:00 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15690

Simon Steinbeiss <ochosi at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ochosi at xfce.org

--- Comment #6 from Simon Steinbeiss <ochosi at xfce.org> ---
@Theo: If you read the pager code closely you'll see that the theme code you
mention shouldn't have anything to do with the problem. Furthermore it's
possible you're seeing a bug different from the OP's, but I'll test.

To sum things up:
The panel sets the background color of plugin buttons to "transparent" by
default, because that's how the panel's color can "shine through" on them.
The pager widget tries to get the panel's background color to set it for the
widget (apparently it does custom cairo drawing and therefore relies on the
background color of the widget):
https://git.xfce.org/xfce/xfce4-panel/tree/plugins/pager/pager.c#n298

So I would guess the Marcel is seeing a race condition where either
1) the "style-updated" signal fired too early (leading to unsuccessful querying
the panel's color values, hence the widget remains transparent or even black)
2) or the "style-updated" signal didn't fire at all under some circumstances.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list