https://bugs.documentfoundation.org/show_bug.cgi?id=172506

            Bug ID: 172506
           Summary: Duplicate *-flat-xml MIME types in .desktop files
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: Installation
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Currently, *-flat-xml entries
(application/vnd.oasis.opendocument.text-flat-xml, etc.) are written in two
.desktop files: the module file in sysui/desktop/menus/*.desktop and
sysui/desktop/menus/xsltfilter.desktop.

This results in two entries for opening .fod* files in the system context menu:
the desired module (e.g., LibreOffice Writer) and the filter (LibreOffice XSLT
based filter).

These MIME types were apparently moved to a separate .desktop file due to this
issue: https://bugzilla.redhat.com/show_bug.cgi?id=799525, but the
corresponding entries in the module .desktop files have not yet been removed.
This leaves the user confused about which of the two options they should
select, even though both seem to lead to the same result. Can we remove these
MIME types from the .desktop module files to avoid duplicate entries?

Steps to Reproduce:
1. Create and save a .fodt file
2. Right-click on the desktop or in File Explorer and select "Open With..."

Actual Results:
Two entries are available, LibreOffice Writer and LibreOffice XSLT based filter

Expected Results:
Only 1 entry is available (for example, LibreOffice XSLT based filter)


Reproducible: Always


User Profile Reset: No

Additional Info:
The issue reproduces with Gnome (tested on Fedora 42) and KDE. It has existed
since at least version 7.2, and is still relevant with the version installed
from https://downloadarchive.documentfoundation.org/libreoffice/old/:

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 94d987edc257cc697637042ad778667fcb172ea1
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to