Launchpad has imported 7 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=14577.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-08-03T21:19:26+00:00 Schnitzeltony wrote:

Created attachment 7858
Screenshot

When compositing is disabled, icons within notification area are not
drawn properly.

A good test case is Gnome's network-manager-applet: Do disconnect and
connect again -> the green 'balls' and their shadows remain visible (see
screenshot attached). Have checked: Enabling compositor works without
issues.

It took me a while to trace this down to xfce4-panel/systray: A look
into systray.c made me aware: In systray_plugin_box_draw() and
systray_plugin_box_draw_icon() there are checks that look to me as if
icons are not redrawn if compositing is not enabled - but I am no expert
and not sure my suspicion is correct.

Maybe it is same issue as reported in
https://bugzilla.xfce.org/show_bug.cgi?id=14397

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/0

------------------------------------------------------------------------
On 2018-08-07T01:47:07+00:00 Andreldm-2 wrote:

I'm almost certain it's a dup of Bug 14438, but let's keep this open for
now, I would like to be sure that people working on panel (Simon, Sean?)
are aware of your analysis.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/1

------------------------------------------------------------------------
On 2018-09-24T18:09:46+00:00 Schnitzeltony wrote:

Found interesting GNOME stories:

* GNOME tray ICON is missing background [1]
* The problem mentioned here was found at GNOME too [2].
* A GTK patch [3] that came in with gtk 3.24.0 (Side note: GNOME docs still 
mention explicitly that 'background of NULL means that the window will inherit 
its background from its parent window' [4] - which definitely not true anymore)

Looking at the xfce4-panel's code in plugins/systray/systray-socket.c /
systray_socket_realize (GtkWidget *widget) I think:

* As soon as GTK >= 3.24 is installed, background for systray will not be 
painted anymore
* Looking again at the patch [3] gives me an idea why some users had the 
problem and some not with GTK < 3.24: Those with depth of icon == depth of 
parent window were fine. Others already saw missing background (and uncleaned 
'leftovers').

Hope that helps - although I get the feeling a fix not trivial...
    
[1] https://gitlab.gnome.org/GNOME/gtk/issues/1280
[2] https://gitlab.gnome.org/GNOME/gtk/issues/1319
[3] 
https://gitlab.gnome.org/GNOME/gtk/commit/01d1bc3c75fd0eff5665f5b9c690c5e1e6c65f13
[4] 
https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-set-background-pattern

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/2

------------------------------------------------------------------------
On 2018-10-09T19:33:19+00:00 Jeremy M wrote:

I would like to confirm downgrading to gtk3-3.22 and the icon problem
isn't present. Tested on a few workstations that have had this problem
since the gtk3 package update on ArchLinux.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/3

------------------------------------------------------------------------
On 2018-10-17T20:34:35+00:00 Simon Steinbeiß wrote:

@Andreas: Your analysis seems sound, but to be honest this seems to be
an issue within Gtk+3, I'm not sure how we can properly work around this
in the panel reliably and without introducing ugly hacks.

This may not sound encouraging, but I'm tempted to wait for Gtk+ devs to
fix this in their toolkit...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/11

------------------------------------------------------------------------
On 2018-10-17T20:35:26+00:00 Simon Steinbeiß wrote:

*** Bug 14438 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/12

------------------------------------------------------------------------
On 2018-10-17T21:02:38+00:00 Simon Steinbeiß wrote:

*** Bug 14397 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1797417/comments/13


** Changed in: xfce4-panel
       Status: Unknown => Confirmed

** Changed in: xfce4-panel
   Importance: Unknown => Medium

** Bug watch added: Xfce Bugzilla #14397
   https://bugzilla.xfce.org/show_bug.cgi?id=14397

-- 
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