! 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 !
Icons disappear from notification area
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Christoph Wickert editbugs 2011-01-03 23:45:40 CET
Created attachment 3322 
Screenshot of the notification area

I have a problem with all xfce4-panel 4.7.x releases: Icons are disappearing from the notification area, but the apps are still running and the right click menu (if the icon has one) still works.

In this screenshot the missing icon on the right is gnome-power-manager and the one on the left is unknown. The space on the left disappears when I run 'xfce4-panel -r', so this seems to be the shrinking problem from bug 6892 (which is supposed to be fixed in 4.7.7). but the gnome-power-manager icon does not come back and the free space does not go away ether.
Comment 1 Christoph Wickert editbugs 2011-01-04 17:55:21 CET
Some more info:
- Changing the panel to maximum size doe not help.
- Different panel sizes (width) did not help ether.
- Compositioning was enabled.
- Disabling compositor did not help, instead *all* icons were gone and did not come back until I restarted the panel. gnome-power-manager icon remained invisible.
- Killing and restarting gnome-power-manager did not help ether.

Icons in the screenshot from lext to right
 1. Nothing?
 2. bluetooth-applet from gnome-bluetooth
 3. gigolo
 4. invisible gnome-power-manager
 5. gtrayicon
 6. korgac from korganizer
 7. ???, disappeared after panel restart
 8. nm-applet from NetworkManager
 9. parcellite
10. pidgin
11. rhythmbox
Comment 2 Nick Schermer editbugs 2011-01-04 22:13:25 CET
http://foo-projects.org/~nick/packages/xfce4-panel-4.7.7git-43a9ee4.tar.bz2

Run the tarball with PANEL_DEBUG=systray and attach the output in this bug.
Comment 3 Nick Schermer editbugs 2011-01-10 14:36:53 CET
*** Bug 7066 has been marked as a duplicate of this bug. ***
Comment 4 Nick Schermer editbugs 2011-01-10 14:43:45 CET
Well I can reproduce this too, but didn't had the time to debug xfce4-power-manager, however i did write a small test tool that uses gtk_status_icon_get_visible, which seems to work fine.

So I think somewhere xfce4-power-manager is not properly handling the tray icons.
Comment 5 Nick Schermer editbugs 2011-01-10 14:45:25 CET
Created attachment 3333 
test visiblility changes
Comment 6 Christoph Wickert editbugs 2011-01-10 15:10:25 CET
I'm sorry, I didn't have the time to test the debug stuff yet, however...

(In reply to comment #4)
> So I think somewhere xfce4-power-manager is not properly handling the tray
> icons.

I was talking about gnome-power-manager and not xfce4-power-manager.

Can you give me some more info about the invisible-tester? How do I compile it and what to do with it then?
Comment 7 Nick Schermer editbugs 2011-01-10 15:22:31 CET
Store the file as main.c, add a new file Makefile and insert the lines in the comment of main.c, then run make in that directory and start ./main.
Comment 8 Christoph Wickert editbugs 2011-01-10 15:35:25 CET
I'm sorry, I still don't understand what you are trying to tell me. How do I create the Makefile? I'm sure it needs more then just two "include" lines.
Comment 9 Nick Schermer editbugs 2011-01-10 15:45:39 CET
Sorry, Makefile should contains this:

all:
	gcc -Wall -Werror -O0 -g -ggdb -pipe \
	`pkg-config --libs --cflags libxfce4util-1.0` \
	`pkg-config --libs --cflags gtk+-2.0` \
	main.c -o main
Comment 10 Christoph Wickert editbugs 2011-01-10 16:00:07 CET
Created attachment 3334 
Log output of PANEL_DEBUG=systray xfce4-panel
Comment 11 michael.ball 2011-01-11 19:42:34 CET
*** Bug 7084 has been marked as a duplicate of this bug. ***
Comment 12 Robby Workman editbugs 2011-01-13 22:49:49 CET
*** Bug 7091 has been marked as a duplicate of this bug. ***
Comment 13 Nick Schermer editbugs 2011-01-23 14:38:14 CET
I think db9f6f5 should fix most of the issues.
Comment 14 michael.ball 2011-01-23 22:59:33 CET
I've just compiled from the latest git commit, and I'm still seeing the same issue.

All the icons are visible when the 'show frame' option is set, otherwise the leftmost icon is invisible.
Comment 15 Nick Schermer editbugs 2011-01-23 23:07:07 CET
Could you attach the output of "PANEL_DEBUG=systray xfce4-panel > ~/panel-7057.log"?
Comment 16 michael.ball 2011-01-24 00:41:18 CET
Created attachment 3412 
Log file

Requested log file. Applications in systray:

transmission
nm-applet
hplip (HP printer control panel)
empathy
Comment 17 Nick Schermer editbugs 2011-01-24 13:41:44 CET
Could you make a screenshot of the problem, because the icon allocation in the log seems to be correct.
Comment 18 michael.ball 2011-01-24 19:56:13 CET
Created attachment 3415 
screenshot of systray

Systray without Empathy running. Running icons in systray:

hp-systray (invisible)
nm-applet
transmission
Comment 19 michael.ball 2011-01-24 19:57:08 CET
Created attachment 3416 
screenshot of systray with empathy

Screenshot of systray with Empathy running. Icons:

empathy (invisible)
hp-systray
nm-applet
transmission
Comment 20 michael.ball 2011-01-24 19:57:45 CET
Created attachment 3417 
systray with border

Systray with border set. All icons are visible.
Comment 21 Nick Schermer editbugs 2011-01-26 14:33:44 CET
Without frame, does changing the max-icons size properly help in the preferences dialog (lower it until the icons start to shrink and increase until they stop growing)?
Comment 22 michael.ball 2011-01-26 15:09:10 CET
Not exactly. The current panel height is set to 24. If I set the icon size to anything above 20, all the icons disappear. If the icon size is set to 20 or less, all but the leftmost icon is visible. There isn't an icon size I can set it to where all icons are visible.
Comment 23 Nick Schermer editbugs 2011-01-31 15:19:40 CET
*** Bug 7219 has been marked as a duplicate of this bug. ***
Comment 24 ria_freelander 2011-01-31 15:34:24 CET
(In reply to comment #22)
> Not exactly. The current panel height is set to 24. If I set the icon size to
> anything above 20, all the icons disappear. If the icon size is set to 20 or
> less, all but the leftmost icon is visible. There isn't an icon size I can set
> it to where all icons are visible.
This behaviour exists only with some themes (most, but not all). For example, all icons visible with Clearlooks, but not visible with elementary. Visibility of icons changes, if theme has not simple panel background (has background with gradients)
Comment 25 michael.ball 2011-01-31 15:45:25 CET
(In reply to comment #24)
> (In reply to comment #22)
> > Not exactly. The current panel height is set to 24. If I set the icon size to
> > anything above 20, all the icons disappear. If the icon size is set to 20 or
> > less, all but the leftmost icon is visible. There isn't an icon size I can set
> > it to where all icons are visible.
> This behaviour exists only with some themes (most, but not all). For example,
> all icons visible with Clearlooks, but not visible with elementary. Visibility
> of icons changes, if theme has not simple panel background (has background with
> gradients)

If it helps, I'm using a Murrine theme. I haven't tested it with other theming engines.
Comment 26 ria_freelander 2011-01-31 17:00:09 CET
(In reply to comment #25)
> (In reply to comment #24)
> > (In reply to comment #22)
> > > Not exactly. The current panel height is set to 24. If I set the icon size to
> > > anything above 20, all the icons disappear. If the icon size is set to 20 or
> > > less, all but the leftmost icon is visible. There isn't an icon size I can set
> > > it to where all icons are visible.
> > This behaviour exists only with some themes (most, but not all). For example,
> > all icons visible with Clearlooks, but not visible with elementary. Visibility
> > of icons changes, if theme has not simple panel background (has background with
> > gradients)
> 
> If it helps, I'm using a Murrine theme. I haven't tested it with other theming
> engines.

I try it with Murrine, Equinox and Aurora engines. But I think that no dependency from engine, depends only from panel background, that theme provides. (test with 2 different Equinox engine themes. One has bug, one not)
Comment 27 Bajusz Tamás 2011-02-28 11:08:44 CET
I had same problem on my old radeon card driven box (no notification icons at all), but adding nomodeset kernel param to my grub entry solved it.
Comment 28 ChmOOrecK 2011-03-10 12:33:23 CET
Setting xthickness attribute for *Panel* classes in gtkrc for murrine theme makes icon disappear, at least in my case. Everything above 0 makes it visible again.
Comment 29 Mathias Brodala 2011-04-09 10:10:52 CEST
I can confirm this bug too, now that I’ve upgraded the panel to 4.8.

One note: the only icon which is visible here without the border setting is the only one which is not based on GtkStatusIcon but on EggTrayIcon instead.
Comment 30 Nick Schermer editbugs 2011-04-16 14:09:54 CEST
Pushed a fix to master and 4.8 branch for this. Please give it a shot:

http://git.xfce.org/xfce/xfce4-panel/patch/?id=323e0abfbe3a00b7961311098877db4a139c6788
Comment 31 Nick Schermer editbugs 2011-04-16 20:27:18 CEST
*** Bug 7214 has been marked as a duplicate of this bug. ***
Comment 32 ChmOOrecK 2011-04-19 22:02:57 CEST
(In reply to comment #30)
> Pushed a fix to master and 4.8 branch for this. Please give it a shot:
> 
> http://git.xfce.org/xfce/xfce4-panel/patch/?id=323e0abfbe3a00b7961311098877db4a139c6788

patch fixes bug for me on, gentoo amd64
Comment 33 Nick Schermer editbugs 2011-06-29 19:40:13 CEST
*** Bug 7778 has been marked as a duplicate of this bug. ***
Comment 34 noel 2020-02-23 11:23:21 CET
Regression in panel 4.14.3, this is happening again.

Bug #7057

Reported by:
Christoph Wickert
Reported on: 2011-01-03
Last modified on: 2020-02-23
Duplicates (6):
  • 7066 Artifact in notification area
  • 7084 Notification area does not display first icon in list
  • 7091 Black box in notification area
  • 7214 System notification area icons are shaking and the area itself disappears when border is disabled.
  • 7219 Some themes cause no icons with no frame (with frame correct)
  • 7778 NetworkManager icon not shown without systray border

People

Assignee:
Nick Schermer
CC List:
11 users

Version

Attachments

Screenshot of the notification area (10.08 KB, image/png)
2011-01-03 23:45 CET , Christoph Wickert
no flags
test visiblility changes (739 bytes, text/x-crsc)
2011-01-10 14:45 CET , Nick Schermer
no flags
Log output of PANEL_DEBUG=systray xfce4-panel (2.39 KB, text/plain)
2011-01-10 16:00 CET , Christoph Wickert
no flags
Log file (4.62 KB, text/plain)
2011-01-24 00:41 CET , michael.ball
no flags
screenshot of systray (10.79 KB, image/png)
2011-01-24 19:56 CET , michael.ball
no flags
screenshot of systray with empathy (9.17 KB, image/png)
2011-01-24 19:57 CET , michael.ball
no flags
systray with border (9.45 KB, image/png)
2011-01-24 19:57 CET , michael.ball
no flags

Additional information