Open rugk opened 3 months ago
I'm not sure there's a bug here. You can only have one 'active' installation for a given app ID. This is a well-established limitation of the whole stack.
The fact the Firefox RPM and flatpak originally had different .desktop file names was pure happenstance.
I'll expand a bit more on the forum thread.
Describe the bug After updating to Fedora 40, with an installation, which also had/has Firefox installed from Flathub as a flatpak, only the flatpak version is shown in the GNOME dash.
To Reproduce I have Firefox from Flathub as a flatpak installed. Also, obviously, the default base image Firerox is installed.
In Fedora 39 I had and could pin them both to the dash, one was named "Firefox Web Browser" and the other one "Firefox" IIRC.
Now, i updated to Fedora 40. After the upgrade, only ne entry is there – the one named "Firefox" – and it starts the flatpak version.
I see no easy way – as a user – to (also) get "back" the "old"/"layered" (by default) Firefox. As it starts different Firefox profiles (obviously), that is immediately visible.
I know this is likely due to https://fedoraproject.org/wiki/Changes/RenameFirefoxDesktopFile.
So, as I previously reported this in the Fedora discussions, I had found a solution, which has worked in Fedora Silverblue 40.20240430.0 (2024-04-30T00:37:35Z) at least:
However, at least since Fedora Silverblue 40.20240519.0 (2024-05-19T00:40:18Z), it is broken again. If
/usr/local/share/applications/org.mozilla.firefox-rpm.desktop
is named differently, the layered Firefox cannot be started at all, it starts/does nothing then. Also links are not resolved when this version is set as the default browser in GNOME Settings.Expected behavior Two entries, one for Firefox flatpak and one for layered Firefox (rpm):
Screenshots See above
OS version:
Additional context Originally reported in Fedora Discussions: https://discussion.fedoraproject.org/t/after-fedora-40-upgrade-desktop-icon-for-default-base-image-firefox-is-missing-in-dash/114934 (there are also more details)