Bug 509232

Summary: Discover should register as a handler for the kns:// schema
Product: [Applications] Discover Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: KNewStuff BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: aleixpol, leinir, nate
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/288#note_3087501
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roke Julian Lockhart Beedell 2025-09-07 14:51:51 UTC
# SUMMARY

Discover isn't registered as a handler for the KNS URI schema.

# STEPS TO REPRODUCE

> ~~~
> #!/usr/bin/env sh
> kde-open kns://wallpaperplugin.knsrc/2139746
> xdg-mime query default x-scheme-handler/kns
> plasma-discover kns://wallpaperplugin.knsrc/2139746
> ~~~

# OBSERVED RESULT

> ~~~
> RokeJulianLockhart@Beedell:~$ kde-open kns://wallpaperplugin.knsrc/2139746
> Could not read file kns://wallpaperplugin.knsrc/2139746.
> kf.notifications: Playing audio notification failed: Destroyed
> RokeJulianLockhart@Beedell:~$ xdg-mime query default x-scheme-handler/kns
> RokeJulianLockhart@Beedell:~$
> ~~~

# EXPECTED RESULT

It should invoke `plasma-discover kns://wallpaperplugin.knsrc/2139746`.

# SOFTWARE/OS VERSIONS

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.4
> KDE Frameworks Version: 6.17.0
> Qt Version: 6.9.1
> Kernel Version: 6.16.4-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~

# ADDITIONAL INFORMATION

Originally reported at https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/288#note_3087501.