Bug 451121 - kfontviewpart.rc not found for kfontview
Summary: kfontviewpart.rc not found for kfontview
Status: REPORTED
Alias: None
Product: kfontview
Classification: Applications
Component: general (show other bugs)
Version: 5.23.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 08:05 UTC by Luke-Jr
Modified: 2024-12-23 13:57 UTC (History)
2 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 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