Bug 451134

Summary: MimeType text/html isn't working in context menus
Product: [Applications] dolphin Reporter: Sadi <sadiyumusak>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sadi 2022-03-04 16:56:14 UTC
SUMMARY
***
It's not possible to define service menu action for html files.
***


STEPS TO REPRODUCE
1. Create file: ~/.local/share/kservices5/ServiceMenus/document-conversion-actions-ODT_servicemenu.desktop
2. Add line: MimeType=text/html;
3. Add command to be executed: for filename in "${@}"; do libreoffice --headless --convert-to odt "$filename" && rm "$filename"; done

OBSERVED RESULT
Dolphin context menu does not show this action when an HTML file is selected but it is shown when another mime-type such as text/plain is used.

EXPECTED RESULT
Dolphin should display a service menu action for mime-type html when an html file is selected.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3