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 685128 - text-scaling-factor snaps to nearest 1/10th fraction
text-scaling-factor snaps to nearest 1/10th fraction
Status: RESOLVED OBSOLETE
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-09-30 09:21 UTC by stefanwilkens
Modified: 2018-01-24 15:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description stefanwilkens 2012-09-30 09:21:01 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.
Comment 1 stefanwilkens 2013-10-04 12:28:51 UTC
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?
Comment 2 GNOME Infrastructure Team 2018-01-24 15:05:49 UTC
-- 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.