LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK_DEBUG set but ignored because gtk isn't built with G_ENABLE_DEBUG (https://www.linuxquestions.org/questions/slackware-14/gtk_debug-set-but-ignored-because-gtk-isnt-built-with-g_enable_debug-4175669784/)

Bindestreck 02-17-2020 06:58 PM

GTK_DEBUG set but ignored because gtk isn't built with G_ENABLE_DEBUG
 
Since gtk+3-3.24.14-x86_64-1.txz upgrade in latest current, I can no longer use GTK3 Inspector like this;

Code:

gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
GTK_DEBUG=interactive any_gtk3_app


EdGr 02-17-2020 07:20 PM

I am still on last week's -current, but the change appears to be a consequence of switching to Meson.

I think it is better to leave the GTK 3 debug features disabled. You can always build a private version for debugging.
Ed

Bindestreck 02-17-2020 07:24 PM

Quote:

Originally Posted by EdGr (Post 6091242)
I am still on last week's -current, but the change appears to be a consequence of switching to Meson.

I think it is better to leave the GTK 3 debug features disabled. You can always build a private version for debugging.
Ed

Why do you think so?

EdGr 02-17-2020 07:31 PM

Quote:

Originally Posted by Bindestreck
Why do you think so?

The ability to peek into a program's internals opens up potential security holes.

It is not difficult to build a private GTK 3 and install it in ~/.local I have done that for debugging.
Ed

Bindestreck 02-17-2020 07:32 PM

GTK3 inspector is a huge feature, that helps you create or inspect GTK3 themes, especially for us that creates themes and do this on a regular basis.

It is a letdown for all Slackware users doing this.

EDIT1:

I can see in the configuration that a flag called "--enable-introspection" exist, maybe it is enough just to enable this one?

EdGr 02-17-2020 07:36 PM

Quote:

Originally Posted by Bindestreck
GTK3 inspector is a huge feature, that helps you create or inspect GTK3 themes, especially for us that creates themes and do this on a regular basis.

The inspector is very useful for developers. For everyone else, it is a potential attack surface.
Ed

volkerdi 02-17-2020 07:42 PM

Thanks, I'll have that fixed in the next update batch.


All times are GMT -5. The time now is 05:33 PM.