Bug 432540 - starting fonts kcm writes config
Summary: starting fonts kcm writes config
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-05 14:57 UTC by Harald Sitter
Modified: 2024-07-09 18:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2021-02-05 14:57:39 UTC
On a new installation starting the fonts kcm writes a (wrong) config right away because of the preview image provider. 

It shouldn't write a config unless something was changed.

It also most certainly should revert properly to the original state (= no config).

#2  0x00007f70184221b1 in KXftConfig::apply (this=0x7ffdc5055930) at ../kcms/fonts/kxftconfig.cpp:302
#3  0x00007f701840fea6 in PreviewImageProvider::requestImage (this=0x3c258c0, id="0_1.png", size=0x7ffdc5055b58, requestedSize=...) at ../kcms/fonts/previewimageprovider.cpp:111