Bug 343561

Summary: kde-gtk-config fails to set fonts properly
Product: [Applications] systemsettings Reporter: perrantrevan
Component: kcm_gtkAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: ake.svedin, aleixpol, bugseforuns, nate, roby.secchi, wsdfhjxc
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.0
Sentry Crash Report:
Attachments: .gtkrc2.0 by kde-gtk-config
.gtkrc-2.0 by gtk-chtheme

Description perrantrevan 2015-01-30 08:47:53 UTC
I choose the oxygen-gtk theme and Oxygen-Sans Sans-Book font, size 14.

However, gtk apps continue to use the default Sans Regular font, size 10.

I have to use gtk-chtheme to successfully set the gtk theme, and the resulting .gtkrc themes-2.0 are clearly different.

Reproducible: Always

Steps to Reproduce:
1. In System Settings go to Application Style-->Gnome Application Style (GTK)
2. Choose oxygen theme and Oxygen-Sans font
3. Start gtk application to see that font choice has not been applied

Actual Results:  
Font is Sans Regular size 10 instead of chosen font.

Expected Results:  
It should have the user's chosen font.

kde-gtk-config-frameworks 5.2.0-1 (Archlinux <extra>)
Comment 1 perrantrevan 2015-01-30 08:49:54 UTC
Created attachment 90807 [details]
.gtkrc2.0 by kde-gtk-config
Comment 2 perrantrevan 2015-01-30 08:52:09 UTC
Created attachment 90808 [details]
.gtkrc-2.0 by gtk-chtheme
Comment 3 Roberto Secchi 2015-11-05 16:52:25 UTC
hi, try to change this:
{
	font_name="Oxygen-Sans Sans-Book"
}

in this:
{
	font_name="Oxygen-Sans normal"
}
Comment 4 Aleix Pol 2015-11-05 16:55:29 UTC
*** Bug 354839 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2019-08-24 13:12:11 UTC
*** Bug 398768 has been marked as a duplicate of this bug. ***