GNOME Bugzilla – Bug 591189
the space in the systray is not freed
Last modified: 2009-08-10 09:04:23 UTC
Please describe the problem: Hi , I thought this is a known bug but I did a fast search & didn't find it . As shown in the screenshot attached , the space the download-status icon occupies is not freed after the download is completed and the icon is gone . Steps to reproduce: 1. "Automatically download and open files" is enabled . 2. Download many files successively . 3. Watch the systray . Actual results: The screenshot will show this . basically the tray space occupied by the download icon is still occupied after the download completes & the download icon is gone . Expected results: the space in the systray freed after the icon is gone . Does this happen every time? yes Other information: Tested with Awesome WM .
Created attachment 140240 [details] Screenshot fom Awesome Wm Look at the systray after 6 downloads completed & 1 still in progress .
Do you refer to the notification area in the right corner? What kind of panel is that stuff at the bottom? Why is this an Epiphany bug?
"Do you refer to the notification area in the right corner?" Yes . "What kind of panel is that stuff at the bottom?" Awesome3 widgets on a statusbar http://awesome.naquadah.org/wiki/Widgets_in_awesome "Why is this an Epiphany bug?" I don't know for sure It is an Epiphany bug . I think It is an Epiphany bug because It's only triggered by Epiphany . No other program using the tray showed similar symptoms .
I see the same in the gnome-panel, can't remember if it's reported already though. And I think it's only in gecko not webkit (I recall some commit about this).
"I think it's only in gecko not webkit" Nope . I started following Epiphany from 2.27.3 release . I tested releases and built from git . I'm running the latest build from git:master now . I've only seen this problem with the webkit backend (It's the only backend I used) . Current setup : Epiphany : Built from git today . webkit : 1.1.12 libsoup : 2.27.5 The rest : latest stable releases 0x00000001 (NEEDED) Shared library: [libavahi-gobject.so.0] 0x00000001 (NEEDED) Shared library: [libavahi-common.so.3] 0x00000001 (NEEDED) Shared library: [libavahi-client.so.3] 0x00000001 (NEEDED) Shared library: [libgthread-2.0.so.0] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libX11.so.6] 0x00000001 (NEEDED) Shared library: [libSM.so.6] 0x00000001 (NEEDED) Shared library: [libICE.so.6] 0x00000001 (NEEDED) Shared library: [libxslt.so.1] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libxml2.so.2] 0x00000001 (NEEDED) Shared library: [libgconf-2.so.4] 0x00000001 (NEEDED) Shared library: [libstartup-notification-1.so.0] 0x00000001 (NEEDED) Shared library: [libnotify.so.1] 0x00000001 (NEEDED) Shared library: [libwebkit-1.0.so.2] 0x00000001 (NEEDED) Shared library: [libgtk-x11-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libgdk-x11-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libatk-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libpangoft2-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libpangocairo-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libcairo.so.2] 0x00000001 (NEEDED) Shared library: [libpango-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libfreetype.so.6] 0x00000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x00000001 (NEEDED) Shared library: [libsoup-gnome-2.4.so.1] 0x00000001 (NEEDED) Shared library: [libsoup-2.4.so.1] 0x00000001 (NEEDED) Shared library: [libgio-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libgmodule-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libgnome-keyring.so.0] 0x00000001 (NEEDED) Shared library: [libdbus-glib-1.so.2] 0x00000001 (NEEDED) Shared library: [libdbus-1.so.3] 0x00000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libglib-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libc.so.6]
I just committed ed31322a3790105797d56f453aaf220d7812d65a to master, to hide the icon before unrefing it. This is a bug in GTK+/gnome-panel apparently. Marking dupe of the GTK+ bug (that perhaps should be a panel one). *** This bug has been marked as a duplicate of 340110 ***
Created attachment 140304 [details] [review] [PATCH] downloader-view.c: hide the tray icon before unref Apparently due to a GTK+/gnome-panel bug (bug #340110), the status icon space is not freed in the notification area. The best work-around is to hide the icon before unrefing it. Bug #591189 --- embed/downloader-view.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
The patch, for reference.
I can confirm the workaround works . Thank you Diego .