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 733965 - Add a way to debug GActions
Add a way to debug GActions
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkApplication
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-07-30 09:46 UTC by Cosimo Cecchi
Modified: 2014-08-02 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkActionHelper: add some debugging output (5.21 KB, patch)
2014-07-30 10:11 UTC, Allison Karlitskaya (desrt)
committed Details | Review
GtkMenuTrackerItem: introduce action debugging (4.17 KB, patch)
2014-07-30 10:28 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Cosimo Cecchi 2014-07-30 09:46:16 UTC
Many times I spend hours trying to figure out why my GActions in a menu are grayed out; we should add a debug flag that prints out some useful information about GActions.
Comment 1 Allison Karlitskaya (desrt) 2014-07-30 10:11:35 UTC
Created attachment 282006 [details] [review]
GtkActionHelper: add some debugging output

Introduce a new debug category "actions" and write some messages from
GtkActionHelper about if we can find the actions or not.

We will probably soon want to add some similar messages to
GtkMenuTrackerItem.
Comment 2 Allison Karlitskaya (desrt) 2014-07-30 10:28:51 UTC
Created attachment 282007 [details] [review]
GtkMenuTrackerItem: introduce action debugging

Add some action debugging output for GtkMenuTrackerItem as well...
Comment 3 Lars Karlitski 2014-07-30 13:45:38 UTC
Review of attachment 282006 [details] [review]:

Cool, thanks.
Comment 4 Lars Karlitski 2014-07-30 13:47:44 UTC
Review of attachment 282007 [details] [review]:

Ok.
Comment 5 Matthias Clasen 2014-08-02 22:26:57 UTC
Attachment 282006 [details] pushed as 16e0285 - GtkActionHelper: add some debugging output
Attachment 282007 [details] pushed as edeb1a0 - GtkMenuTrackerItem: introduce action debugging