Created attachment 9050
patch that fixes the problem on my machine

> I've hacked systray_manager_set_visual function to use RGBA visual,
>  too (what gdk_screen_get_rgba_visual(screen) returns, if that's not NULL) 
> -- and I believe this is the right thing to do -- but  it confuses 
> systray_socket_new
> which sees that the visual supports alpha channel and thinks we have 
> compositing.

Well, apparently it was me who was confused: it seems that if visual
supports alpha channel we actually are compositing, even if it does not
happen on screen/wm level. But if so, we should not check that screen is
composited in systray_plugin_box_draw, so I removed that check; when
this check was present, icons were not drawn at all.

I'm attaching the patch with these two simple changes. Applying it to
xfce4-panel 4.14.0 fixed the issue on my machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1797417

Title:
  Background of system tray icons not drawn properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-panel/+bug/1797417/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to