! 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 not alway correctly shown in systray when using autohide panel
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Yves-Alexis Perez editbugs 2009-04-08 05:56:36 CEST
Hey there,

I have a bug report from a Debian user reporting that icons from QT apps don't show correctly in the systray for 4.6.0 panel.

They do show up, but not completely. A tiny screenshot is attached at the original bug report, you can see it there: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=systray.png;att=1;bug=523018

It seems the size is not computed correctly, or something like that. The reporter says he can reproduce with:

wpa_gui (qt4)
amarok (qt4)
skype (don't know)

and that it works with X-Chat (gtk).

If you need any more info, please ask and I'll forward them to the initial reporter.

Cheers,
Comment 1 Yves-Alexis Perez editbugs 2009-04-09 05:39:15 CEST
Downstream user reported that if a GTK icon is present in the systray along with QT ones, they are all displayed fine, too.

He added two screenshots (working/notworking):

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=29;filename=working.png;att=1;bug=523018
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=29;filename=notworking.png;att=2;bug=523018

Cheers,
Comment 2 Nick Schermer editbugs 2009-04-09 20:00:54 CEST
well technically we ask the icon for its size, but allocate a size suitable for the panel. If the icon implementation does not obey the allocation it's not our problem. Looks like this is the case.
Comment 3 Yves-Alexis Perez editbugs 2009-04-25 16:34:32 CEST
Hmhm, it seems it might not be related to QT. The user manages to reproduce it even with GTK stuff, and managed to cook a somewhat reproducible test case:

* create a new horizontal panel at the bottom of the screen with
> 	* full length
> 	* fixed position and
> 	* auto hide = on.
> * add the tasklist plugin.
> * add the  notification area so it is at the outer right of the panel
> * edit the preferences of the notification area and disable "show frame"
> 
> start gajim or wpa_gui and there is no icon, resp. there is only a very
> small portion of the wpa_gui icon visible. 

I used gajim and, indeed, the notification area stays empty. Starting empathy fix the problems (both icons appear fine).

So I'd be for an application problem anyway, but…
Comment 4 Yves-Alexis Perez editbugs 2009-10-16 22:51:30 CEST
Ok, this bug still exists, and it definitely looks like a corner case in some weird area, imho :/
Comment 5 Akos Ladanyi 2009-10-25 21:33:18 CET
Created attachment 2634 
Notification area with missing VLC and Skype icons
Comment 6 Akos Ladanyi 2009-10-25 21:34:17 CET
I'm seeing this with Xfce 4.6.1 under Xubuntu 9.10. For me it happens with QT based applications only (VLC, Skype). I attached a screenshot.
Comment 7 Akos Ladanyi 2009-10-25 21:51:22 CET
I forgot to mention two things:
  1. for me it happens without autohide too
  2. the background of the missing icons changes its colour quite randomly (so it is not always like on the screenshot)
Comment 8 pablo 2010-01-02 02:07:34 CET
Hi. I see there has been no activity for a couple of months in this bug, but I'd like to contribute to it by saying that I'm also suffering it. I'm on Xubuntu 9.04, xfce4-panel 4.6.0. I'm no expert, but I've observed several things:

Since I installed the system, months ago, Opera icon didn't show well in the notification area, looking garbled, half-cut, plain invisible, or taking the background from my neighbouring "notes" applet. And this under any configuration whatsoever of the panel (auto-hide, freely movable, any width). But, besides that, no major problems. And even that wasn't a big issue because the icon "worked", despite not showing well. And the different upgrades I've made haven't changed it. The rest of the icons of any application I've started worked well.

BUT!!
But two days ago I've installed, in the same system, a parallel Kubuntu desktop. And _since then_ I'm experiencing exactly the same bug reported here. Several icons (so far: Opera, Skype, Pidgin, one of my Wine programs) randomly don't show up in the notification area, regardless of frame, or configuration of the panel. I mean: changing these settings (from frame to no frame, from autohide to no hide, from fixed to movable, or vice-versa) can make them show up (or disappear!) temporarily, but anything, a simple sneeze, can make them disappear (or show up!) again.
But, well, my main point is: this bug must be somehow related with the presence or absence of certain libraries in the system, as I didn't experience it before installing the bunch of kde packages.
Comment 9 Yves-Alexis Perez editbugs 2010-01-02 12:00:04 CET
(In reply to comment #8)
> BUT!!
> But two days ago I've installed, in the same system, a parallel Kubuntu
> desktop. And _since then_ I'm experiencing exactly the same bug reported here.
> Several icons (so far: Opera, Skype, Pidgin, one of my Wine programs) randomly
> don't show up in the notification area, regardless of frame, or configuration
> of the panel. I mean: changing these settings (from frame to no frame, from
> autohide to no hide, from fixed to movable, or vice-versa) can make them show
> up (or disappear!) temporarily, but anything, a simple sneeze, can make them
> disappear (or show up!) again.
> But, well, my main point is: this bug must be somehow related with the presence
> or absence of certain libraries in the system, as I didn't experience it before
> installing the bunch of kde packages.

It might  be interesting to have the complete list of installed/upgraded packages during that Kubuntu install. I know it might be tricky, but until someone has identified the culprit there's no much we can do I guess.
Comment 10 pablo 2010-01-03 00:55:38 CET
Created attachment 2760 
List of installed packages starting from which the bug showed up

Sorry I didn't upload this lsit before! I'm just a novice. Anyhow, I suppose that if I could identify the culprit, I could become a developer myself. ;-)

Attached is the list of packages I installed with my kubuntu-desktop, starting from when the bug showed up in my system.

Good luck!
Comment 11 pablo 2010-01-03 01:24:04 CET
Created attachment 2761 
List of packages installed, starting from which the bug appeared in my system

Hope this list is more useful, as it includes versions of the packages installed. All of them new in my system. No upgraded ones.
Comment 12 pablo 2010-01-10 06:44:08 CET
Update (just in case somebody's working on this):

Ok, now here's what happened: At the same time I installed those packages stated above, and to which I attributed the appearance of the bug in my system, I uninstalled network-manager-gnome. Now I've installed again NM-gnome and the bug has disappeared. So, maybe its occurrence in my system didn't have anything to do with the packages installed, but with the uninstalled one. Which, on the other hand, would make sense, as NM-gnome places an icon in the panel...
Comment 13 Nick Schermer editbugs 2010-12-28 20:57:58 CET
Should be fixed in ad5a85c (xfce4-panel-4.7.7 once released) please reopen if the bug is still reproducible with this panel.
Comment 14 Nick Schermer editbugs 2010-12-29 21:13:00 CET
Snapshots for testing: http://foo-projects.org/~nick/packages/xfce4-panel-4.7.6git-c37dd16.tar.bz2 or wait for xfce4-panel-4.7.7.

Bug #5200

Reported by:
Yves-Alexis Perez
Reported on: 2009-04-08
Last modified on: 2010-12-29

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Attachments

Additional information