In the kcmshell for a component chooser we use the open with dialog to select services for various scheme handlers.
If you select a binary instead of a .desktop file a temporary .desktop file is created in ~/.local/share/applications
This is in the format Exec=someBinary MimeType=x-scheme-handler/http
When we then use this application for launching KIO::DesktopExecParser then (sort of correctly) determines that that the chosen service cannot handle the http scheme because even though it is a scheme handler it does not have a "%u" in the exec line.
This leads to us potentially loading websites via kioclient or kio-fuse.
- kcmshell5 component chooser
- web browser -> other -> type "/usr/bin/firefox"
- kde-open5 http://kde.org
- Previously this gave a local URL, now it is correct