RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 998581 - Setting custom font for GTK(3) applications is not respected
Summary: Setting custom font for GTK(3) applications is not respected
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kde-settings
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Grulich
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-19 14:27 UTC by Vitezslav Humpa
Modified: 2017-08-08 11:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 11:37:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vitezslav Humpa 2013-08-19 14:27:28 UTC
Description of problem:
Setting custom font for GTK+ applications through Application Appearance module of SystemSettings gets ignored. No matter the font/size etc. I set, apps still  use the KDE font. Exception is that in case of GTK2 apps, the font is respected with secondary dialogs/preferences etc., but never inside the main window's interface. With GTK3 apps, font gets ignored in all places.

Version-Release number of selected component (if applicable):
KDE 4.10.4

Steps to Reproduce:
1. Start systemsettings, go to 'Application Appearance' module
2. Go to GTK+ Appearance page
3. Change the font under 'Use another font', apply

Actual results:
As described before

Expected results:
Font gets used for all GTK2/3 applications, including the main window UI's font

Additional info:
I've indeed tried restarting the apps as well as re-logging the whole session.

Comment 1 Daniel Vrátil 2013-10-01 16:52:45 UTC
Can you please confirm that file .gtkrc-2.0-kde4 exists and contains something like this?

style "user-font"
{
        font_name="Font You Have Selected"
}
widget_class "*" style "user-font"

gtk-theme-name="oxygen-gtk"
gtk-font-name="Font And Size You Have Selected"

Comment 2 Daniel Vrátil 2014-02-11 14:32:17 UTC
The tool shipped in RHEL7 only support changing settings of GTK2 applications.

I tried with Wireshark (a GTK2 app) and it seems to work for me with current up-to-date RHEL7.

kcm-gtk-0.5.3-14.el7
gtk2-2.24.22-5.el7

Comment 3 RHEL Program Management 2014-03-22 06:41:32 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Jan Grulich 2017-08-08 11:37:19 UTC
Given we dropped oxygen-gtk3 in RHEL this won't never be fixed.


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