Bug 470712 - Can't launch Okular using KRunner in Plasma 6
Summary: Can't launch Okular using KRunner in Plasma 6
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-06 17:49 UTC by Nate Graham
Modified: 2023-06-09 15:17 UTC (History)
3 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 Nate Graham 2023-06-06 17:49:12 UTC
STEPS TO REPRODUCE
1. Alt+Space to activate KRunner
2. Type "Okular"
3. Activate the app result

OBSERVED RESULT
Notification from Plasma Workspace saying:
> Launching Okular (Failed)
> No Exec field in okularTxt.desktop 

EXPECTED RESULT
Okular launches

ADDITIONAL INFORMATION
Launching Okular works from Task Manager or Kickoff (including after searching for it, which uses KRunner internally), so there must be a difference in what specifically KRunner is doing.

The referenced file lives on my system at ~/kde/usr5/share/kservices5/okularTxt.desktop--presumably since Okular is still building with KF5--and it's lived there in KF5 times too. I'm in a Plasma 6 session though, so theoretically the contents of that folder shouldn't be relevant as my P6 stuff lives at ~/kde/usr6. Additionally, if I copy the file to ~/kde/usr6/share/kservices6/, nothing changes.
Comment 1 Nicolas Fella 2023-06-06 19:48:30 UTC
I haven't checked yet, but if my theory is right then it will be fixed with https://invent.kde.org/frameworks/kservice/-/merge_requests/145
Comment 2 Nate Graham 2023-06-09 15:17:18 UTC
It was. And that was merged; marking this as fixed now, since it's fixed now.