Bug 420384

Summary: "Open with" submenu of the context menu of Dolphin lists "Okular" twice when a TIFF file is right-clicked
Product: [Applications] okular Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: aacid, luigi.toscano, yurchor
Priority: NOR    
Version First Reported In: 21.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=505512
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: TIFF file
screenshot showing the issue

Description Patrick Silva 2020-04-21 14:23:01 UTC
Created attachment 127747 [details]
TIFF file

STEPS TO REPRODUCE
1. make sure TIFF files are associated with any app but Okular
2. download the attached TIFF file
3. open Dolphin, right-click on the downloaded TIFF file, hover over "Open with" submenu 

OBSERVED RESULT
two "Okular" entries. See the attached screenshot please.

EXPECTED RESULT
Only one "Okular" entry in "Open with" submenu

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1
Comment 1 Patrick Silva 2020-04-21 14:23:41 UTC
Created attachment 127748 [details]
screenshot showing the issue
Comment 2 Yuri Chornoivan 2020-04-21 14:36:17 UTC
TIFF MIME is in the okularApplication_kimgio.desktop and in the okularApplication_tiff.desktop.
Comment 3 Albert Astals Cid 2025-06-27 10:30:00 UTC
This is a "dolphin/KIO" bug imho, we do install a gazillion .desktop files and the "K menu" is smart enough to only show one, so this submenu seems like it should also be smart enough to only show one instead of two