Bug 451134 - MimeType text/html isn't working in context menus
Summary: MimeType text/html isn't working in context menus
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 16:56 UTC by Sadi
Modified: 2022-03-04 16:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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