Bug 475347 - Discover does not find Okular when searching for pdf
Summary: Discover does not find Okular when searching for pdf
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.27.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-10-07 23:55 UTC by Justin Zobel
Modified: 2025-11-14 13:19 UTC (History)
5 users (show)

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 Justin Zobel 2023-10-07 23:55:36 UTC
`appstreamcli search pdf` shows Okular.

However, searching for PDF in Discover does not show it.

It is in the appdata as shown https://invent.kde.org/graphics/okular/-/blob/master/shell/org.kde.okular.appdata.xml?ref_type=heads#L206

I believe it may be because it has several lines in the appdata and maybe Discover is only checking the first?
Comment 1 Nate Graham 2023-10-11 21:23:24 UTC
Can reproduce.
Comment 2 john.liptrot 2025-10-06 17:01:51 UTC
Duplicate? >>> https://bugs.kde.org/show_bug.cgi?id=499541
Comment 3 Justin Zobel 2025-10-07 00:57:45 UTC
Similar, but not exactly the same.

The term pdf is in the appstream data, for example Okular's
      <li>Supported Formats: PDF, PS, Tiff, DjVu, Images, DVI, XPS, Fiction Book, Comic Book, Plucker, EPub, Fax</li>
    <mediatype>application/pdf</mediatype>
    <mediatype>application/x-bzpdf</mediatype>
    <mediatype>application/x-gzpdf</mediatype>

The linked bug is about the name of the application.