Bug 451106 - Dolphin opens man:/ entries in browser instead of KInfoCenter
Summary: Dolphin opens man:/ entries in browser instead of KInfoCenter
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-03 21:08 UTC by Nicolas Fella
Modified: 2022-03-03 21:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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