I'm running Ubuntu Hoary with kernel 2.6.9 and X.org 6.8.1 without the composite extension. I have GTK+ version 1.6.0 installed with Xfce 4.2.99.2 (RC2) compiled with the installer. I'm using the systray and taskbar plugins (expands to 100% width) in the panel. When starting a new Xfce session with either Rox Filer or Nautilus as the pinboard/filemanager, any applications that start up with a tray icon do not appear in the systray. Space is allocated for the icon, however, the space is empty (blacked out). This occurs with Gaim and the xfce calendar apps (and maybe much more) which both startup with icons in the system tray. The empty "blacked" out regions handle click events as normal (i.e. brings up right-click context menu). NOTE: This also occurred with 4.2.99.1 (RC1) but not with the 4.0.x series. I have not downgraded my GTK version to 2.4.x to rule out changes to GTK from 2.4->2.6. Reproducible: Always Steps to Reproduce: 1. Start an XFCE session with Gaim/Xfce Calendar (or any program that can put an icon in the system tray) 2. Logout saving the session 3. Log back in opening saved session Actual Results: Systray plugin in panel provides spaces for the icons for Gaim and Xfce Calendar but the spaces are empty or "blacked" out. Expected Results: The icons should have appeared I will upload a screenshot shortly.
Created attachment 124 Screenshot of the emptry regions of the systray plugin in the panel
Hmm, probably an issue between Xfce and gtk 2.6. Does the same thing happen when you use the system tray in the taskbar? And the systray in gnome?
This does not happen in Gnome. However, I am running Gnome 2.9.x development series so any changes in GTK 2.6 may have been reflected in the new version of gnome-panel. I haven't tried this with the systray in the Xfce taskbar, yet. I'll test that tonight when I'm at my home pc.
There is a known problem with RC and system tray (see #577, #578) Please test with the given version here: http://www.xfce.org/~olivier/packages/xfwm4-4.1.99.3.tar.gz Anyway, nothing "major", really.
Oliver, This package worked for me: http://www.xfce.org/~olivier/packages/xfwm4-4.1.99.3.tar.gz I no longer see this bug. Feel free to mark this as fixed or a dup. Excellent work on Xfce.
I think I spoke too soon. I just rebooted my machine and both the Gaim and Xfce Calendar icons were again "blacked" out. I logged out and logged back in, and then the Gaim icon was normal but the Xfce icon was not. I logged out again and both were "blacked" out. I noticed now too, when I try to close my session, the screen gets shaded and the dialog box comes up asking me if I want to close, reboot or shutdown. I select cancel, the icons are redrawn and are now displayed! So, now it looks like I am getting mixed results now. Before, they would always be "blacked" out.
More testing: When the systray is in xftaskbar4 this does NOT occur. I removed the systray from the panel and added it twice. The first time, there was a small blacked out region but the icon was there (see screenshot below). It seemed like a portion of the background color was not painted. The second time, the entire background and image was blacked out. I set the taskbar plugin to not expand to full screen. I added the systray to the panel and the icons were blacked out. I removed the taskbar plugin totally from the panel and the icons were also backed out. So, logging out of the session and restarting is not the only way to reproduce this. Without xftaskbar4 running, you can see this bug by simply adding the systray to the panel. If you have applications that sit in the system tray (i.e. Xfce Calendar/Gaim), you can see the regions blacked out where the icons should be.
Created attachment 125 Adding systray plugin to the panel This screenshot shows what happened when I added the systray plugin to the panel. (xftaskbar4 was not running)
I'm also experiencing this, among other rendering issues with the systemtray plugin. It started happening when I upgraded to GTK 2.6. I tried rebuilding xfce using GTK 2.6 but the results are the same. Could it actually be a bug in GTK?
With the following gtk 2.4.13 on the Gentoo Linux distribution, the problem doesn't exist. Like you, I have tested the xfce 4.2rc3.
I think this is a problem with propagating expose events to the XEMBED client (sorry for the technobabble). The icons often seem to return when changing themes or taskbar settings.
My guess is it's related to the taskbar plugin set to expand to full screen. I did not look at the code of the plugin, but the couple of times I tried it, I got some really odd resize side effects, like the taskbar width changing with variable amplitude until it stabilize.
I believe that I turned off the "Expand to fullscreen" mode on the taskbar plugin and the icons were still not displayed properly. Then I removed the plugin totally from the panel and it still was happening.
Assuming this is fixed in the current version (4.4) since no replies were added since 2005-01-06...