Gajim 2.0.1 no show systray menu
OS: Archlinux, Gajim: 2.0.1, xfce4-panel: 4.20.3
After switch Gajim to use GTK4, menu is provided via DBus and this not work in XFCE.
Details in Gajim repo: https://dev.gajim.org/gajim/gajim/-/issues/12165
OS: Archlinux, Gajim: 2.0.1, xfce4-panel: 4.20.3
After switch Gajim to use GTK4, menu is provided via DBus and this not work in XFCE.
Details in Gajim repo: https://dev.gajim.org/gajim/gajim/-/issues/12165
changed the description
added 5. Notification Area / Status Tray label
I'm afraid there's not much we can do here. The SNI is displayed correctly, but libdbusmenu fails to populate the menu:
wrapper-2.0[41028]: Child is realized, but doesn't have a GTK Widget!
wrapper-2.0[41028]: Got new menuitem signal, which means they want something
wrapper-2.0[41028]: that I simply don't have.
The first warning in particular comes from this piece of code:
/* Called when the child is realized, and thus has all of its
properties and GTK-isms. We can put it in our menu here. */
static void
child_realized (DbusmenuMenuitem * child, gpointer userdata)
{
#ifdef MASSIVEDEBUGGING
g_debug("Root child realized");
#endif
g_return_if_fail(DBUSMENU_IS_GTKMENU(userdata));
DbusmenuGtkMenu * menu = DBUSMENU_GTKMENU(userdata);
DbusmenuGtkMenuPrivate * priv = DBUSMENU_GTKMENU_GET_PRIVATE(menu);
GtkWidget * child_widget = GTK_WIDGET(dbusmenu_gtkclient_menuitem_get(priv->client, child));
if (child_widget != NULL) {
gtk_menu_shell_append(GTK_MENU_SHELL(menu), child_widget);
gtk_menu_reorder_child(GTK_MENU(menu), child_widget, dbusmenu_menuitem_get_position_realized(child, dbusmenu_client_get_root(DBUSMENU_CLIENT(priv->client))));
} else {
g_warning("Child is realized, but doesn't have a GTK Widget!");
}
return;
}
Maybe there's something to do on the client side to get things in order when it passes through this code, but at our level I think there's not much we can do.