Bug 408415 - kcm_fonts unable to change previous exclude range
Summary: kcm_fonts unable to change previous exclude range
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-07 11:00 UTC by Fabian Vogt
Modified: 2019-06-12 07:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2019-06-07 11:00:10 UTC
1. Remove ~/.config/fontconfig/fonts.conf and .config/kcmfontsrc for a clean start
2. kcmshell5 kcm_fonts
3. Anti-aliasing: Enabled, Exclude range enabled and save
4. Change "to 15pt" to "to 14pt" and save
5. Now fonts.conf contains duplicated entries for antialias exclusion
6. Disable exclude range again and save
7. Exclude entry remains in fonts.conf
Comment 1 Bhushan Shah 2019-06-12 07:01:55 UTC
Git commit 08ec9a036bf5b3ee102938ad332f624adc1060b9 by Bhushan Shah.
Committed on 12/06/2019 at 07:00.
Pushed by bshah into branch 'Plasma/5.16'.

Replace the excludeRange mode setting when already available

Summary:
Instead of appending a new entry.
Related: bug 244857

Test Plan:
- remove fonts.conf
- start fonts kcm
- enable exclude range
- save
- see config is added only once
- modify config
- save
- see config is replaced and not added again
- disable exclude range
- save
- see config is totally removed.

Reviewers: fvogt

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21748

M  +5    -1    kcms/fonts/kxftconfig.cpp

https://commits.kde.org/plasma-desktop/08ec9a036bf5b3ee102938ad332f624adc1060b9