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 760572 - Inspector highlights "random" widgets
Inspector highlights "random" widgets
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Debugging
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-01-13 09:26 UTC by Timm Bäder
Modified: 2016-01-14 04:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timm Bäder 2016-01-13 09:26:18 UTC
This can be observed by e.g. adding somethinf like

if (object)
  g_message ("Selected: %s", g_type_name (G_TYPE_FROM_INSTANCE (object)));

into on_selection_changed in inspector/object-tree.c.

When starting the inspector using crtl+shift+d, I get for example the following output for gtk3-widget-factory:

Gtk-Message: Selected: GtkApplication
Gtk-Message: Selected: GtkApplication
Gtk-Message: Selected: GtkApplicationWindow
Gtk-Message: Selected: GtkApplicationWindow
Gtk-Message: Selected: GtkFileChooserDialog
Gtk-Message: Selected: GtkFileChooserDialog
Gtk-Message: Selected: GtkMessageDialog
Gtk-Message: Selected: GtkMessageDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkDialog
Gtk-Message: Selected: GtkShortcutsWindow
Gtk-Message: Selected: GtkShortcutsWindow

Although I have not selected any of those of course.