GNU bug report logs -
#31884
26.1.50; Wrong icon in gtk tooltips
Previous Next
Reported by: Carlos Pita <carlosjosepita <at> gmail.com>
Date: Mon, 18 Jun 2018 18:25:02 UTC
Severity: minor
Tags: fixed, patch
Found in version 26.1.50
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Searching through the icon browser I would say that the icon in the
screenshot has stock name action-unavailable or
action-unavailable-symbolic. I grepped emacs code for these names and
couldn't find them, so I assume they're set by gtk on response to a
requested "unavailable action" (go figure). Now, the gtk code that
creates the tooltip seems to be replacing the original icon+label box
with just a custom label:
0 g_object_set (G_OBJECT (widget), "has-tooltip", FALSE, NULL);
1 x->ttip_widget = tooltip;
2 g_object_ref (G_OBJECT (tooltip));
3 x->ttip_lbl = gtk_label_new ("");
4 g_object_ref (G_OBJECT (x->ttip_lbl));
5 gtk_tooltip_set_custom (tooltip, x->ttip_lbl);
6 x->ttip_window = GTK_WINDOW (gtk_widget_get_toplevel (x->ttip_lbl));
I'm unable to see here how an icon is being set at all.
This bug report was last modified 6 years and 332 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.