! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Systray icons on session start do not appear
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Dave Wolovich 2004-12-21 16:32:01 CET
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.
Comment 1 Dave Wolovich 2004-12-21 16:34:02 CET
Created attachment 124 
Screenshot of the emptry regions of the systray plugin in the panel
Comment 2 Jasper Huijsmans editbugs 2004-12-21 16:39:25 CET
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?
Comment 3 Dave Wolovich 2004-12-21 17:02:01 CET
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.  
Comment 4 Olivier Fourdan editbugs 2004-12-21 19:04:16 CET
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.
Comment 5 Dave Wolovich 2004-12-21 23:37:24 CET
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.  
Comment 6 Dave Wolovich 2004-12-21 23:58:30 CET
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.  
Comment 7 Dave Wolovich 2004-12-22 00:17:48 CET
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.  
Comment 8 Dave Wolovich 2004-12-22 00:21:17 CET
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)
Comment 9 sweiss4 2004-12-31 08:30:34 CET
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?
Comment 10 Olivier Mondoloni 2005-01-04 13:52:09 CET
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.
Comment 11 Jasper Huijsmans editbugs 2005-01-05 15:46:56 CET
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.
Comment 12 Olivier Fourdan editbugs 2005-01-05 20:11:45 CET
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.
Comment 13 Dave Wolovich 2005-01-06 17:24:59 CET
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.  
Comment 14 Harold Aling 2007-02-15 20:32:40 CET
Assuming this is fixed in the current version (4.4) since no replies were added since 2005-01-06...

Bug #607

Reported by:
Dave Wolovich
Reported on: 2004-12-21
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information