Bug 2242495

Summary: firefox package installs (broken) desktop files for firefox-x11/firefox-wayland
Product: [Fedora] Fedora Reporter: Nicolas Fella <nicolas.fella>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: erack, gecko-bugs-nobody, jhorak, klaas, rstrode, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-06 15:05:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicolas Fella 2023-10-06 14:47:03 UTC
Installing the firefox package installs three desktop files: firefox.desktop, firefox-x11.desktop, and firefox-wayland.desktop. All three show up in the Plasma application launcher.

The latter two seem to allow to explicitly start Firefox in X11/Wayland mode. Presenting those as user-visible options is a bad idea in the first place IMO as those are implementation details that most users are not concerned about.

What's worse though is that launching firefox-x11.desktop/firefox-wayland.desktop doesn't actually work unless the separate firefox-x11/firefox-wayland packages are installed. 

Reproducible: Always

Steps to Reproduce:
1.Use Fedora 38 KDE
2.Open application launcher 
3. Search for Firefox
Actual Results:  
Three search results: "Firefox", "Firefox on X11", "Firefox on Wayland".

Launching the latter two doesn't work because of missing executables

Expected Results:  
Launching all of them works, or ideally only one "Firefox" result

Comment 1 Martin Stransky 2023-10-06 15:05:53 UTC

*** This bug has been marked as a duplicate of bug 2242454 ***