Bug 367650 - ~/.fonts deprecation ; please install new fonts to $XDG_DATA_HOME/fonts ; ~/.local/share/fonts
Summary: ~/.fonts deprecation ; please install new fonts to $XDG_DATA_HOME/fonts ; ~/....
Status: REOPENED
Alias: None
Product: kfontview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-21 16:01 UTC by FabiB
Modified: 2024-08-30 16:04 UTC (History)
10 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 FabiB 2016-08-21 16:01:29 UTC
/home/$USER/.fonts is deprecated now. sadly kfontviewer still installs to it instead of the newer XDG standard path $XDG_DATA_HOME/fonts (or, if not set ~/.local/share/fonts)

please see: 
https://lists.freedesktop.org/archives/fontconfig/2014-July/005270.html <- [Fontconfig] ~/.fonts deprecation
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html <- XDG Base Directory Specification

Reproducible: Always

Steps to Reproduce:
1. open a fontfile with kfontview
2. click on install

Actual Results:  
it'll install the fontfile to ~/.fonts

Expected Results:  
should follow the new standard
Comment 1 Raghavendra kamath 2018-08-15 05:53:44 UTC
This is still happening on latest arch linux so this is not yet fixed. there is not explaination about how this bug got fixed or any commit message showing that this is fixed.

I am reopening this bug report.
Comment 2 Christoph Feck 2018-08-15 10:23:04 UTC
The history says that the bug reporter marked the bug as fixed, maybe because he was no longer interested in a fix.
Comment 3 Raghavendra kamath 2018-08-15 10:55:41 UTC
Ok,

I didn't notice the same email. 

Should I create a new bug or let this bug be open?
Comment 4 Patrick Silva 2019-03-25 20:02:12 UTC
Bug persists.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 5 Jan Bidler 2022-01-04 09:23:42 UTC
Bug persists.
I tried to fork plasma-workspace and fix it, but none of my changes were being picked up when I compiled it. Putting it out here though, in case it's useful for someone: https://invent.kde.org/miepee/plasma-workspace/-/commits/fontlocation-fix

Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 6 Shawn W Dunn 2024-02-01 16:01:20 UTC
This is still an issue, and causes problems with flatpak.

https://github.com/flatpak/flatpak/issues/5675