Bug 1524209

Summary: Duplicated application icon
Product: [Fedora] Fedora Reporter: Douglas <doug.hs>
Component: FlightGearAssignee: Fabrice Bellet <fabrice>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 27CC: doug.hs, fabrice
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: FlightGear-2017.3.1-3.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-28 02:49:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of duplicated icon
none
GNOME Software showing two different FlightGear instances. Only one existed previously. none

Description Douglas 2017-12-10 19:49:37 UTC
Created attachment 1365704 [details]
screenshot of duplicated icon

Description of problem:
After installing FlightGear, I see two FlightGear launchers in GNOME.

Version-Release number of selected component (if applicable):
FlightGear-2017.3.1-1.fc27

How reproducible:
Always

Steps to Reproduce:
1. Install FlightGear
2. Check in GNOME 3 "All Applications"

Actual results:
There are now two files:

/usr/share/applications/FlightGear.desktop
Exec=fgfs-wrapper

and

/usr/share/applications/org.flightgear.FlightGear.desktop
Exec=fgfs --launcher

Expected results:
Only one launcher icon.

Additional info:
Persists after a reboot.

Comment 1 Douglas 2017-12-10 19:57:32 UTC
Created attachment 1365705 [details]
GNOME Software showing two different FlightGear instances. Only one existed previously.

GNOME Software showing two different FlightGear instances. Only one existed previously.

Comment 2 Douglas 2017-12-10 20:23:48 UTC
I just noticed that "/usr/share/applications/org.flightgear.FlightGear.desktop" which has the line "Exec=fgfs --launcher" is the GUI launcher for FlightGear, while the other icon takes you inside the simulator automatically.

It seems to me that the solution is to hide the launcher at "/usr/share/applications/FlightGear.desktop"

I can hide it myself with "Hidden=true", but it will keep showing up whenever FlightGear updates.

This way, only one icon remains, and that is the one launching the pretty setup screen instead of just taking you directly in without choosing location, weather, airplane and such.

Comment 3 Fedora Update System 2017-12-15 08:35:50 UTC
FlightGear-2017.3.1-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a91ddba172

Comment 4 Fedora Update System 2017-12-15 11:30:41 UTC
FlightGear-2017.3.1-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a91ddba172

Comment 5 Fedora Update System 2017-12-28 02:49:44 UTC
FlightGear-2017.3.1-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.