Bug 451106

Summary: Dolphin opens man:/ entries in browser instead of KInfoCenter
Product: [Frameworks and Libraries] kio-extras Reporter: Nicolas Fella <nicolas.fella>
Component: defaultAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicolas Fella 2022-03-03 21:08:37 UTC
STEPS TO REPRODUCE
1. In Dolphin, navigate to man:/(1)/ 
2. Click on e.g. "cvs (1)"

OBSERVED RESULT
Chrome opens with "/home/nico/.cache/kioexec/krun/12320_0/cvs.1.gz"

EXPECTED RESULT
KInfoCenter opens with the cvs manpage

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.92
Qt Version: 5.15-kde

ADDITIONAL INFORMATION
This worked before https://invent.kde.org/system/dolphin/-/merge_requests/343

Now Dolphin opens things based on their mime type (which is text/html here) instead of the scheme (man:/)

A possible way to fix this is to introduce an artificial mime type (something like application/x-vnd.kde.man) and register kinfocenter as a handler for it