You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Flatpak app uses multiple desktop entries (such as LibreOffice, which has separate files for each component), the launcher only displays the first desktop entry located in ~/.local/share/flatpak/exports/share/applications. This occurs because all desktop entry files have the same X-FLATPAK value, even though the Exec commands differ. This de-duplication behavior change was introduced in commit 8cc0d28.
The relevant code is:
if deduplicator.contains(de.appid.as_ref()) {
// Treat Flatpak and system apps differently in the cache so they don't
// override each other
let appid = de.flatpak().unwrap_or_else(|| de.appid.as_ref());
if deduplicator.contains(appid) {
return None;
}
}
Steps to Reproduce:
Install a Flatpak app with multiple desktop entries (e.g., LibreOffice).
Ensure that the desktop entry files contain different Exec commands but the same X-FLATPAK value. This happens by default with the LibreOffice installation via FlatPak.
Launch the launcher and search for any of the app components listed in separate desktop entry files.
Only the first desktop entry is shown in the launcher, while the others are ignored.
Expected Behavior:
All desktop entries for a Flatpak app with different Exec commands should be displayed individually in the launcher, even if they share the same X-FLATPAK value.
The text was updated successfully, but these errors were encountered:
When a Flatpak app uses multiple desktop entries (such as LibreOffice, which has separate files for each component), the launcher only displays the first desktop entry located in
~/.local/share/flatpak/exports/share/applications
. This occurs because all desktop entry files have the same X-FLATPAK value, even though the Exec commands differ. This de-duplication behavior change was introduced in commit 8cc0d28.The relevant code is:
Steps to Reproduce:
Expected Behavior:
All desktop entries for a Flatpak app with different Exec commands should be displayed individually in the launcher, even if they share the same X-FLATPAK value.
The text was updated successfully, but these errors were encountered: