Bug 421292 - PDF files when opened from KRunner's Document result section open in Gnome evince instead of Okular
Summary: PDF files when opened from KRunner's Document result section open in Gnome ev...
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.17.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-10 16:08 UTC by Syam
Modified: 2020-06-06 13:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Syam 2020-05-10 16:08:31 UTC
I have Fedora 31 KDE spin (Gnome desktop is not installed). Okular is the default application set for PDF files. 

STEPS TO REPRODUCE
1. Open KRunner by Alt+F2 and type "pdf" in the box
2. Click on any PDF file from the search result in "Document" category
3. The file is opened in Gnome evince

The problem is only with KRunner results belonging to "Document" section. PDF files in "Recent Documents" section open in Okular. When opened from Dolphin or by xdg-open, PDF files are opened in Okular, as expected.
In File Associations in System Settings, Okular is the first handler for application/pdf and evince is second.

This is possibly related to a particular KRunner plugin. I couldn't correctly guess it (file search or places, probably).
Comment 1 Syam 2020-06-06 13:27:16 UTC
Today, I tested it again and it is working like expected. PDF files are getting opened in Okular, as expected.
I have no idea how this got fixed. I had installed several updates from Fedora over these days. So no idea what fixed this.
Closing the report for now.