https://bugs.kde.org/show_bug.cgi?id=431864
Bug ID: 431864
Summary: matrix: scheme tries to open kio slave
Product: kde-cli-tools
Version: 5.20.4
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I registered a my application as a handler for the matrix: scheme, see here:
https://github.com/Nheko-Reborn/nheko/blob/f47bedff23400e3b0788891f0ab0257dfc03a447/resources/nheko.desktop#L11
When installed globally, xdg-open works if I set the desktop platform to
generic like this:
XDG_CURRENT_DESKTOP="X-Generic" xdg-open
'matrix:user/test:neko.dev?action=chat'
But if I use the default or kde-open5, it fails to open my application and
complains about matrix: being an unknown protocol. It seems to know about my
application though.
STEPS TO REPRODUCE
1. Install Nheko 0.8.0
2. xdg-open a matrix URI, like matrix:user/test:neko.dev?action=chat
3. Watch it not open Nheko but instead open an error message box.
OBSERVED RESULT
# LANG=C kde-open5 --interactive matrix:user/asdfhajsdf
command= "nheko" args= ("nheko", "matrix:user/asdfhajsdf")
kf.kio.core: Protocol Class of url QUrl("matrix:user/asdfhajsdf") , isn't
':local', cancelling job.
Copying QUrl("matrix:user/asdfhajsdf") to
QUrl("file:///home/nicolas/.cache/kioexec/krun/18898_0/asdfhajsdf")
kf.kio.core: couldn't create slave: "klauncher said: Unbekanntes Protokoll
?matrix?.\n"
All files downloaded, will call slotRunApp shortly
No files downloaded -> exiting
EXPECTED RESULT
It opens Nheko.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: 5.20.4
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
(No idea, if this is the right component)
--
You are receiving this mail because:
You are watching all bug changes.