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 774893 - Application font sizes scaling gets clamped to 1.00 when starting GtkInspector
Application font sizes scaling gets clamped to 1.00 when starting GtkInspector
Product: gtk+
Classification: Platform
Component: Debugging
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2016-11-23 04:34 UTC by Jean-François Fortin Tam
Modified: 2016-11-28 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Jean-François Fortin Tam 2016-11-23 04:34:36 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...
Comment 1 Matthias Clasen 2016-11-23 18:28:27 UTC
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...
Comment 2 Emmanuele Bassi (:ebassi) 2016-11-28 13:19:45 UTC
Just for reference, this is the fix: