GNOME Bugzilla – Bug 774893
Application font sizes scaling gets clamped to 1.00 when starting GtkInspector
Last modified: 2016-11-28 13:19:45 UTC
Interestingly enough, in 3.22 (tested with a Wayland GNOME session), if I start the GTK inspector from any application, I will notice the font sizes shifting. That's because I set the system's font scaling in gnome-tweak-tool to "1.15", and it seems like GtkInspector starts and applies a default value of "1.00" instead of reading the user's global setting...
The code that initialized the font scale slider says: /* There is no backend agnostic way to get the default value, so use 1.0 */ update_font_scale (vis, 1.0, TRUE, TRUE); so, as far as the code is concerned, this is intentional. I guess somebody could work out the backend-dependent way of getting the current value, and plug that in there...
Just for reference, this is the fix: https://git.gnome.org/browse/gtk+/commit/?id=1af817e2549fd7c676fd3ff23f0d2bc5ac18432a