Bug 503222

Summary: Two "Discover" options in "Open with" submenu of context menu in Dolphin
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: minor CC: aleixpol, john.liptrot, nate, stoicaalin79
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot when Discover is the default app

Description Patrick Silva 2025-04-23 11:55:26 UTC
Created attachment 180563 [details]
screenshot

STEPS TO REPRODUCE
1. have a .flatpakref or .flatpak file
2. open Dolphin
3. right-click on a .flatpakref or .flatpak file
4. hover over "Open with" submenu

OBSERVED RESULT
as seen in the attached screenshot, there are two "Discover" options in "Open with" submenu 

EXPECTED RESULT
just one "Discover" entry

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-04-23 12:00:33 UTC
I can reproduce this issue if I set an application other than Discover to open .Flatpakref files by default.

However I can't reproduce it if I set KWrite to open .ppt files by default; then I don't get two entries for LibreOffice Impress in the menu.
Comment 2 Patrick Silva 2025-04-23 12:06:21 UTC
Created attachment 180565 [details]
screenshot when Discover is the default app

On my system there are two "Discover" options even when Discover is set as default.
Comment 3 Nate Graham 2025-04-23 13:21:27 UTC
How that I switched it back to Discover by default, I can reproduce that as well.
Comment 4 john.liptrot 2025-10-11 08:55:29 UTC
Is this really a Discover bug?

Should this not be reported as a Dolphin bug?