Bug 244857 - kcm_fonts: choosing "System Settings" for anti-alias does not revert the previous change made to user-level fonts.conf
Summary: kcm_fonts: choosing "System Settings" for anti-alias does not revert the pre...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: 4.9.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: rik
URL:
Keywords:
: 304665 325868 (view as bug list)
Depends on:
Blocks: 409793
  Show dependency treegraph
 
Reported: 2010-07-16 14:33 UTC by Marc Schiffbauer
Modified: 2021-09-02 12:41 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2010-07-16 14:33:48 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The Font AA setting in kcm_fonts is broken again.

Activating/Deactivating Font AA does work.

BUT: Setting it to "Systemsettings" will never revert the settings back. Its always left at the last state.

Reproducible: Didn't try

Steps to Reproduce:
* Know what your default system setting for font AA is.
* Activate / Deactivate font AA in kcm_fonts
* Set it to the opposite of you system default
* Now set it back to system default

Actual Results:  
Font AA setting will not get reverted to system default setting 
(~/.fonts.conf will not be deleted or the according settings will not be removed from it)

Expected Results:  
Lines added to ~/.fonts.conf by kde removed from the file again so that system settings will take effect.
Comment 1 Will Stephenson 2010-07-28 11:45:37 UTC
confirmed on openSUSE RC3 packages.
Comment 2 Jekyll Wu 2012-12-04 07:51:51 UTC
*** Bug 304665 has been marked as a duplicate of this bug. ***
Comment 3 Andrea Iacovitti 2014-07-15 14:27:01 UTC
*** Bug 325868 has been marked as a duplicate of this bug. ***
Comment 4 Bhushan Shah 2019-06-12 07:01:56 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 408415

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