I can't install a font system-wide. Unlike previous reports of this problem (such as Bug 223107), I don't even get prompted for a root password. Reproducible: Always Steps to Reproduce: 1. Click "Add…". An "Add Fonts" file selector appears. 2. Specify the location of the font (say, /path/to/font.ttf) and click Open. A "Where to Install" dialog appears. 3. Click "System" Actual Results: 4. An "Installing" dialog appears with a progress bar. After a few seconds, the progress bar disappears, and is replaced by the following error message: Error Authentication failed. file:///path/to/font.ttf Expected Results: 4. I should have been prompted for the root password, and then the font should have been installed.
Which KDE version is this? What distribution and version? I've just tried with Kubuntu 12.04 on KDE 4.8.2 - and the install works fine. It sounds like something is wrong with your polkit set-up.
KDE 4.6.0 on openSUSE 11.4.
Can you perform other actions that use polkit/policykit? e.g. changing your kdm settings? (The 'Login Screen' module has an 'Apply' button with a key symbol - this is bacuase when you press 'Apply' you need to authenticate before the settings are updated)
The "Login Screen" module has an "Apply" button, but it has no key symbol and is greyed out. At the top of the window is the message "You are not allowed to save the configuration". Same with the "Date & Time" module.
So, this does sound like a system issue. As I said, I can install fonts - so I know the basic system works. You need to find, or install, something else that uses polkit/policy it and see if that functions properly. If it does, then the font installed has an issue, if not then it is an system problem.
I propose to close this bug.
Installing (and removing) system fonts is now working for me in KDE 4.14.9, except that I always get prompted for root authentication twice. Should I file a separate issue for this?
Git commit 7ebe57aa74cd99ff81c4d0be9f1423a47b94d64b by David Edmundson. Committed on 26/10/2015 at 22:32. Pushed by davidedmundson into branch 'Plasma/5.4'. Port KAuth return code error checking in fontinst Someone whilst porting had simply commented it out This causes the install dialog to freeze if there's a problem. Related: bug 344473, bug 345234 REVIEW: 125555 M +16 -15 kcms/kfontinst/dbus/FontInst.cpp http://commits.kde.org/plasma-desktop/7ebe57aa74cd99ff81c4d0be9f1423a47b94d64b
Git commit 335ad976ac9f11cd51a838a7ae7dcb38d948bfcf by David Edmundson. Committed on 29/10/2015 at 14:22. Pushed by davidedmundson into branch 'master'. Wait for async call starting helper to finish before checking the reply Otherwise the check is effectively useless. This meant in the case where the helper could not be started the job would never finish and clients would stuck idle or blocked. Related: bug 344473, bug 345234 REVIEW: 125859 M +15 -7 src/backends/dbus/DBusHelperProxy.cpp http://commits.kde.org/kauth/335ad976ac9f11cd51a838a7ae7dcb38d948bfcf
This still is a problem for me in Plasma 5.7.5