Bug 341505

Summary: webshortcuts do not work from krunner in plasma 5
Product: [Plasma] krunner Reporter: Christian Trippe <christiandehne>
Component: webshortcutsAssignee: Rohan Garg <rohan>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alexander.lohnau, e.m.a.t.i.r.o.v, kdeu
Priority: NOR    
Version First Reported In: 5.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Error message after using webshortcuts in krunner

Description Christian Trippe 2014-12-02 20:42:03 UTC
I use Plasma 5 and have configured konqueror (konqbrowser) as my default Webbrowser in systemsettings. If I try to search for example in wikipedia via the "wp:searchterm" I get the attached error message

Reproducible: Always

Steps to Reproduce:
1.type wp:searchterm in krunner
2.error message appears
Comment 1 Christian Trippe 2014-12-02 20:42:51 UTC
Created attachment 89813 [details]
Error message after using webshortcuts in krunner
Comment 2 Mikhail Ivchenko 2014-12-09 17:59:15 UTC
Commented by GCI student:
Hello, I have same problem. (latest KF5 from Kubuntu CI unstable daily)
Konqueror tries to open "/var/tmp/kdecache-ematirov/krun/7191_0_Special:Search"
Firefox works correctly, so maybe it's bug of Konqueror.
Comment 3 Lukas Ba. 2017-01-16 23:05:34 UTC
Something like this can happen when the .desktop file of the default browser is misconfured.
For example, if you remove the %u from the firefox .desktop file.
> Exec=firefox
> Exec=firefox %u
This will happen.

So go to systemsettings > applications > Webbrowser and select
"with the following browser",
then click on "..." and select the browser you want.
The text box will contain something like
>browser %u

Make sure that there is a %u, and that the browser supports the format
browser %u for opening urls, when %u is an url.
Comment 4 Bug Janitor Service 2020-06-28 06:52:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/konqueror/-/merge_requests/4