Created attachment 116893 [details] duplicated "Another World" app in the repo Installed Flatpak apps can be duplicated in Installed and Repository lists. Following conditions seems have to be met for the problem to show up: - the app must be exported to some local repo - the app must be installed (from the local repo or directly from build-dir, doesn't matter) - the app must contain AppData xml - the AppStream must be exported to the repo from app's build-dir, and then updated to flatpak itself: $ flatpak build-export --update-appstream repo build-dir $ flatpak update --appstream Seems related to https://bugs.kde.org/show_bug.cgi?id=393110
Created attachment 116894 [details] duplicated app in the Installed list
Can you provide the commands you follow to create the repository? It will help to reproduce locally and work into the fix.
Aleix, it's just as simple as this: $ flatpak-builder --force-clean --user --repo=repo build-dir org.flatpak.Hello.json You can use random manifest here. Just make sure you have installed the same app
To add the repo: $ flatpak remote-add --no-gpg-verify --user test repo
Important note: the App ID should not be present in any other repositories than local repo!
Nate, it would be fine if you try to reproduce this. I can't check non-flatpak version
I found to causes for duplicated entries: 1. appdata.xml is split from the main package example: kdenlive in Ubuntu /usr/share/applications/org.kde.kdenlive.desktop in package "kdenlive" /usr/share/metainfo/org.kde.kdenlive.appdata.xml in package "kdenlive-data" 2. distribution package doesn't ship a appdata.xml file example: blender, dolphin-emu
Of course, the third should be well known: 3. The <id> tag in the appdata.xml files don't match and <provides> is not used.
Yes. These are problems caused by the packaging and unfortunately not something Discover can fix. We can make the duplicated display look less duplicatey though. Marking as a duplicate of that *** This bug has been marked as a duplicate of bug 399530 ***