Bug 416789 - Missing comma after font name in generated GTK configuration files causes the wrong font to be applied in GTK applications.
Summary: Missing comma after font name in generated GTK configuration files causes the...
Status: RESOLVED DUPLICATE of bug 380980
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: 5.17.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-26 15:00 UTC by Can Aksu
Modified: 2020-01-26 15:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
gtk3 configuration file. Relevant line is number ten. (646 bytes, application/x-wine-extension-ini)
2020-01-26 15:00 UTC, Can Aksu
Details
gtk2 configuration file. Relevant line is number 7. (652 bytes, text/plain)
2020-01-26 15:01 UTC, Can Aksu
Details
the correct gtk2 configuration file (262 bytes, text/plain)
2020-01-26 15:11 UTC, Can Aksu
Details
the correct gtk3 configuration file (374 bytes, application/x-wine-extension-ini)
2020-01-26 15:12 UTC, Can Aksu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Can Aksu 2020-01-26 15:00:53 UTC
Created attachment 125437 [details]
gtk3 configuration file. Relevant line is number ten.

SUMMARY
When a font with a space in its name is selected, missing comma after font name in generated GTK configuration files causes the wrong font to be applied.

STEPS TO REPRODUCE
1. In font settings, select a font that contains a space in its name e.g. Roboto Condensed. In 5.17.90, it will be applied to GTK.
2. Open a GTK application.

OBSERVED RESULT
GTK applications display Roboto font.

EXPECTED RESULT
GTK applications display Roboto Condensed font.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, using Kde-Unstable repository.
(available in About System)
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0

ADDITIONAL INFORMATION
Putting a comma after the font name and before the font size fixes the problem.
Comment 1 Can Aksu 2020-01-26 15:01:49 UTC
Created attachment 125438 [details]
gtk2 configuration file. Relevant line is number 7.
Comment 2 Can Aksu 2020-01-26 15:04:55 UTC
It seems that I uploaded files that were generated by Lxappearance which I used to fix the issue. Will upload the correct files.
Comment 3 Can Aksu 2020-01-26 15:11:21 UTC
Created attachment 125439 [details]
the correct gtk2 configuration file
Comment 4 Can Aksu 2020-01-26 15:12:07 UTC
Created attachment 125440 [details]
the correct gtk3 configuration file
Comment 5 Can Aksu 2020-01-26 15:17:31 UTC

*** This bug has been marked as a duplicate of bug 380980 ***