After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591189 - the space in the systray is not freed
the space in the systray is not freed
Status: RESOLVED DUPLICATE of bug 340110
Product: epiphany
Classification: Core
Component: Downloads
2.27.x
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-08 23:30 UTC by Nezmer
Modified: 2009-08-10 09:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot fom Awesome Wm (75.31 KB, image/png)
2009-08-08 23:33 UTC, Nezmer
  Details
[PATCH] downloader-view.c: hide the tray icon before unref (619 bytes, patch)
2009-08-10 07:53 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Nezmer 2009-08-08 23:30:44 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 .
Comment 1 Nezmer 2009-08-08 23:33:46 UTC
Created attachment 140240 [details]
Screenshot fom Awesome Wm

 Look at the systray after 6 downloads completed & 1 still in progress .
Comment 2 André Klapper 2009-08-09 14:54:21 UTC
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?
Comment 3 Nezmer 2009-08-09 15:32:41 UTC
"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 .
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2009-08-09 16:16:18 UTC
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).
Comment 5 Nezmer 2009-08-09 22:26:33 UTC
"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]
Comment 6 Diego Escalante Urrelo (not reading bugmail) 2009-08-10 07:46:50 UTC
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 ***
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2009-08-10 07:53:47 UTC
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(-)
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2009-08-10 07:54:37 UTC
The patch, for reference.
Comment 9 Nezmer 2009-08-10 09:04:23 UTC
I can confirm the workaround works .
Thank you Diego .