Bug 436306 - "Font Management" KCM is broken: "The shared library was not found"
Summary: "Font Management" KCM is broken: "The shared library was not found"
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: 5.21.90
Platform: Neon Linux
: VHI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 437823 438279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-28 12:56 UTC by Patrick Silva
Modified: 2021-06-08 20:09 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22.1


Attachments
screenshot (102.03 KB, image/png)
2021-04-28 12:56 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-04-28 12:56:15 UTC
Created attachment 137979 [details]
screenshot

SUMMARY
Title says it all. See the attached screenshot please.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Nate Graham 2021-04-28 19:48:22 UTC
derp
Comment 2 Patrick Silva 2021-05-16 12:49:36 UTC
Same problem on Arch Linux running Plasma 5.22 beta.
Comment 3 Antonio Rojas 2021-05-30 07:55:42 UTC
Changing product, this is not neon specific
Comment 4 Antonio Rojas 2021-05-30 07:58:41 UTC
*** Bug 437823 has been marked as a duplicate of this bug. ***
Comment 5 Kishore Gopalakrishnan 2021-05-30 09:36:55 UTC
I did a git bisect, and this is the commit which causes this bug:

a8ec95411a9f618db09050a705fc77ff372094dc is the first bad commit
commit a8ec95411a9f618db09050a705fc77ff372094dc
Author: Ahmad Samir <a.samirh78@gmail.com>
Date:   Tue Mar 9 18:19:37 2021 +0200

    KCMs: put the kcm_* libs in builddir/bin/kcms/
    
    This matches the install location scheme QT_PLUGIN_DIR/kcms/, which makes
    it slightly easier to test stuff right from the builddir, without
    installation, by exporting QT_PLUGIN_DIR=builddir/bin/.
    
    Also install kcm_fontinst in QT_PLUGIN_DIR/kcms/, like the other KCMs.

 kcms/colors/CMakeLists.txt                | 1 +
 kcms/cursortheme/CMakeLists.txt           | 1 +
 kcms/desktoptheme/CMakeLists.txt          | 1 +
 kcms/feedback/CMakeLists.txt              | 1 +
 kcms/fonts/CMakeLists.txt                 | 1 +
 kcms/icons/CMakeLists.txt                 | 1 +
 kcms/kfontinst/kcmfontinst/CMakeLists.txt | 3 ++-
 kcms/lookandfeel/CMakeLists.txt           | 1 +
 kcms/style/CMakeLists.txt                 | 1 +
 kcms/translations/CMakeLists.txt          | 2 +-
 10 files changed, 11 insertions(+), 2 deletions(-)


Reverting this commit fixes the issue.
Comment 6 Bug Janitor Service 2021-05-30 16:08:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/905
Comment 7 Bug Janitor Service 2021-05-30 16:08:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/905
Comment 8 Ahmad Samir 2021-06-01 16:56:07 UTC
Git commit 81ae7f8e28389edcd08e247498c5ee9ad4977f83 by Ahmad Samir.
Committed on 01/06/2021 at 16:51.
Pushed by ahmadsamir into branch 'master'.

Fix kcmfontinst install destination

This reverts part of a8ec95411a9f6, KCModuleLoader can't load kcm_fontinst
if the library is installed in KDE_INSTALL_PLUGINDIR/kcms/; looks like that
only works for KCMs using QML.
FIXED-IN: 5.22.0

M  +1    -0    kcms/kfontinst/kcmfontinst/CMakeLists.txt

https://invent.kde.org/plasma/plasma-workspace/commit/81ae7f8e28389edcd08e247498c5ee9ad4977f83
Comment 9 Nate Graham 2021-06-08 18:59:47 UTC
*** Bug 438279 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2021-06-08 19:01:10 UTC
This was supposed to have been fixed in Plasma 5.22, but we just got a report from someone experiencing it on Neon with 5.22. Re-opening.
Comment 11 Nate Graham 2021-06-08 19:19:44 UTC
I asked some users in the Plasma telegram room and someone on Arch confirmed it.
Comment 12 Rik Mills 2021-06-08 19:56:46 UTC
Confirmed as still broken with Plasma 5.22 on Kubuntu
Comment 13 Ahmad Samir 2021-06-08 19:57:35 UTC
Git commit f90d4d5548dfe2d75e83b8da91af9be0e261286b by Ahmad Samir.
Committed on 08/06/2021 at 19:56.
Pushed by ahmadsamir into branch 'Plasma/5.22'.

Fix kcmfontinst install destination

This reverts part of a8ec95411a9f6, KCModuleLoader can't load kcm_fontinst
if the library is installed in KDE_INSTALL_PLUGINDIR/kcms/; looks like that
only works for KCMs using QML.
FIXED-IN: 5.22.1
(cherry picked from commit 81ae7f8e28389edcd08e247498c5ee9ad4977f83)

M  +1    -2    kcms/kfontinst/kcmfontinst/CMakeLists.txt

https://invent.kde.org/plasma/plasma-workspace/commit/f90d4d5548dfe2d75e83b8da91af9be0e261286b
Comment 14 Ahmad Samir 2021-06-08 20:09:12 UTC
This is my fault, I forgot to cherry-pick it to Plamsa/5.22; done now. :(