GNOME Bugzilla – Bug 685128
text-scaling-factor snaps to nearest 1/10th fraction
Last modified: 2018-01-24 15:05:49 UTC
Using gnome-tweak-tool to set text-scaling-factor causes the scaling factor to snap to the nearest 1/10th fraction. Example: Setting 0.875 (84/96) will cause the value to snap to 0.9 in the following way: 1. set 0.875 by typing 2. visually, a scaling factor of 0.875 is set 3. watch the value snap to 0.9 instantly 4. watch the visual effect snap to 0.9 when gnome-tweak-tool is closed or another category is selected within gnome-tweak-tool dconf does allow for a scaling factor with more decimals, it can be correctly set through dconf-editor. As to why this is usefull: GNOME hardcodes 96 DPI, users with non 96 DPI screens may want to use the scaling factor to match their LCD's native DPI. Setting a scaling factor representative of 84 DPI is currently not possible through gnome-tweak-tool. I would suggest to completely remove the snapping when a value is typed in.
I've manually adjusted tweak_font.py to reflect this: GSettingsSpinButtonTweak("org.gnome.desktop.interface", "text-scaling-factor", adjustment_step=0.001, digits=3, group_name=TWEAK_GROUP_FONTS), Originally: GSettingsSpinButtonTweak("org.gnome.desktop.interface", "text-scaling-factor", adjustment_step=0.1, digits=1, group_name=TWEAK_GROUP_FONTS), Maybe this level of precision is undesired, but it was required in my monitor's case. To reiterate, the issue was that I could set my desired scaling factor through dconf - but using gnome-tweak-tool to set other features would overwrite my manually set three digit value. Arguably more a user-case than an actual bug?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/25.