Bug 1382840 - GtkSourceView widget ignores desktop-wide text scaling factor
Summary: GtkSourceView widget ignores desktop-wide text scaling factor
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtksourceview3
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-07 20:44 UTC by Fabio Valentini
Modified: 2018-05-15 22:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-15 22:15:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 774248 0 None None None 2016-11-11 08:54:43 UTC

Description Fabio Valentini 2016-10-07 20:44:28 UTC
Description of problem:

Since GNOME 3.22 the GtkSourceView widget (as used in gedit, gnome-builder, etc.) ignores the text scaling factor set in the "org.gnome.desktop.interface.text-scaling-factor" gsettings key.

As a result, all text is scaled properly, except in the GtkSourceView widget, which is much too big (in my case). Setting the font size to something like 8pt manually is not really acceptable, because most fonts seem to lose readability at sizes that small. In contrast, scaling bigger font sizes down doesn't seem to have that negative optical impact.


Version-Release number of selected component (if applicable):
gtksourceview3-3.22.0-2.fc25.x86_64
gtk3-3.22.1-1.fc25.x86_64

Comment 1 Eric Work 2016-12-28 05:07:01 UTC
This same problem happens in meld which also uses gtksourceview.  In my case since the font scaling is set to 1.5 the fonts are too small.  I resolved the problem by increasing the font size 1.5x to match the rest of the desktop.  It's an easy workaround in my case but still inconsistent with the rest of the desktop.

Comment 2 Fedora End Of Life 2017-11-16 19:04:48 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fabio Valentini 2017-11-16 22:01:42 UTC
A fix for this regression is still being discussed upstream.

Comment 4 Fabio Valentini 2018-05-15 22:15:35 UTC
It looks like this has been fixed upstream, and gedit on fedora 28 displays the correct font size - so I guess I'll close this bug :)


Note You need to log in before you can comment on or make changes to this bug.