Bug 451121

Summary: kfontviewpart.rc not found for kfontview
Product: [Applications] kfontview Reporter: Luke-Jr <luke-jr+kdebugs>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: kde, travneff
Priority: NOR    
Version: 5.23.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luke-Jr 2022-03-04 08:05:02 UTC
kfontview fails to find kfontviewpart.rc, thus menu options defined by the KPart are unavailable.
The file is installed to /usr/share/kxmlgui5/kfontinst/, but kfontview is looking for it in/usr/share/kxmlgui5/kfontview/ instead.
Comment 1 Andrew 2024-12-21 11:59:35 UTC
I had same:
    kf.xmlgui: cannot find .rc file "kfontviewpart.rc" for component "kfontviewpart"

kfontview looks here (in this order):
    ~/.local/share/kxmlgui5/kfontviewpart/kfontviewpart.rc
    /usr/share/kde-settings/kde-profile/default/share/kxmlgui5/kfontviewpart/kfontviewpart.rc
    /usr/local/share/kxmlgui5/kfontviewpart/kfontviewpart.rc
    /usr/share/kxmlgui5/kfontviewpart/kfontviewpart.rc

but the actual file is here:
    /usr/share/kxmlgui5/kfontview/kfontviewpart.rc

Fixed by:
    ln -s /usr/share/kxmlgui5/kfontview /usr/share/kxmlgui5/kfontviewpart

This also fixed this issue:
    https://bugs.kde.org/show_bug.cgi?id=446207
Comment 2 Nick Burger 2024-12-23 13:57:23 UTC
CONFIRMED both the problem and the fix

Manjaro LTS Kernel 6.6.65-1
KDE Plasma 6.2.4 on X11
KDE Frameworks 6.8.0
Qt 6.8.1

(In reply to Andrew from comment #1)
> Fixed by:
>     ln -s /usr/share/kxmlgui5/kfontview /usr/share/kxmlgui5/kfontviewpart