GNOME Bugzilla – Bug 347188
'Close' results in Ekiga completely hidden when using XFCE
Last modified: 2007-04-12 07:16:35 UTC
Please describe the problem: When using XFCE on Dapper (Xubunutu) if you 'Close' rather than 'Quit' Ekiga disappears from gui, never to be seen again. You can not bring the window back up.... even though it is still running. It even remains hidden if you accept an incoming call. Only action is to quit XFCE or go to the command line and kill Ekiga. Simon Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Hmmmm... I use xfce myself, and the issue seems to be you don't have a systray available, but for some reason ekiga doesn't realize it makes it invisible :-/ Workaround : use a systray! I'll probably not work on it before I port ekiga to use GtkStatusIcon (ie: a newer gtk+).
I've started working a bit on the GtkStatusIcon migration. The bad part is that calling contextual menus seems to be OS-dependant... I've been doing a simple systray to see how the whole thing works, but won't be able to code the OS-dependant part.
Well, look at how GmTray does it : we do have working code for this.
*** Bug 350505 has been marked as a duplicate of this bug. ***
Hi, could you please try the (still incomplete) patch attached to bug 361139, and tell me if it resolves the problem ?
I don't think so. For that to work, it would be needed to have the implementation of a function that tells if the tray is currently embedded into the system tray of the desktop. I don't see that being implemented in your patch.
Hum... Sorry, I thought at first this could be resolved just by using a fd.o compliant tray icon like GtkStatusIcon. I didn't see he was using no system tray at all.
The GmTray api has a gboolean-returning function to check if we managed to embed in a tray. This is currently unimplemented. Search for "FIXME" in the code, and you should find the problem.
I've looked for FIXME and functions using a gboolean and couldn't find it, even looking at the history of gmtray.h, gmtray-common.c, gmtray-x11.c. GtkStatusIcon can handle requests for the embedding status, and I'll add the extra function to check for that, but I won't be able to do it for the win32 backends. I'll correct this when the GtkStatusIcon backend will be commited.
You're right : I didn't put it in GmTray but in src/gui/statusicon.cpp : gboolean gm_statusicon_is_embedded (GtkWidget *widget) { return TRUE; /* FIXME */ } Sorry to have misguided you! :-/
*** Bug 412896 has been marked as a duplicate of this bug. ***
Let me see if I can make things go forward in the coming weeks...
I committed a fix : notice that it is fixed in trunk, so you'll see the change only when compiling ekiga 3.0, or when using a snapshot. And if you use gtk+ 2.10.