Bug 509271 - Document preview asks for Okular for KDE 5 despite both having latest versions of Okular and okularpart installed
Summary: Document preview asks for Okular for KDE 5 despite both having latest version...
Status: REPORTED
Alias: None
Product: KBibTeX
Classification: Applications
Component: General (other bugs)
Version First Reported In: 0.10
Platform: EndeavourOS Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-08 12:16 UTC by james.isaacs.31415
Modified: 2025-09-08 12:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description james.isaacs.31415 2025-09-08 12:16:28 UTC
SUMMARY

Bibliography entries with local PDFs are not showing in the document preview panel. The error message shown is

    Don’t know how to show mimetype ‘application/pdf’.

    Please install Okular for KDE Frameworks 5 to make use of its PDF viewing component.

    Okular for KDE 4 will not work.

I have 
kbibtex Version: 1:0.10.0-7 
okular Version: 25.08.0-1
okularpart5 Version: 23.08.5-3

mimetypes for PDF in file associations are set for Okular as the application and Okularpart as the embedded application.

PDFs open without any issue in Okular, even using KBibTex's 'Open in external program' option - the problem seems restricted to okularpart.

STEPS TO REPRODUCE
1.  add a local PDF to a bibliography entry
2. attempt to view in Document Preview panel

OBSERVED RESULT

Error message as above

EXPECTED RESULT

Preview of the PDF

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.15.6-arch1-1 (64-bit)

ADDITIONAL INFORMATION