| Summary: | When I disable fonts in Font Management it also deletes the font files | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | tango2x |
| Component: | kcm_fontinst | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | mail, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.5 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
tango2x
2021-05-24 18:59:39 UTC
Cannot reproduce with current git master on top of Fedora 34. Disabling fonts adds them to /etc/fonts/disabledfonts.xml as expected, but does not delete them from /usr/share/fonts/. My bug report is still valid a year later. Font Management in Plasma Preferences keeps removing from the filesystem the font files I disable. KDE Plasma: 5.24.5 KDE Frameworks: 5.94.0 Qt: 5.15.4 Wayland I'm giving up. I won't disable a font in Font Management anymore, I will add the font to /etc/fonts/disabledfonts.xml by hand instead. I can reproduce, but this might be intended behavior doing something unexpected. (Arch Linux, tracking git main branches) - Take the font C059 for example, which exists in /usr/share/fonts: find /usr/share/fonts -name '*C059*' # => four file paths - Go to kcm_fontinst, right click on C059, Disable, confirm, authenticate - The files are no longer present - Go back to kcm_fontinst, right click on C059, Enable, confirm, authenticate - The files come back Looking at kfontinst/dbus/FontInst.cpp, this seems to just be how it was implemented: by actually moving the files away to some other location. |