I noticed that in flatpak list
output some flatpaks erroneously show the developer name as the app name. The app names are also shown wrong in the Warehouse app, which for itself also shows the wrong name. But their app name on the Flathub website and in their desktop launchers is correct.
These (Discourse won’t let me link them all): ASCII Draw , Bottles , Ear Tag , io.gitlab.adhami3310.Impression, io.gitlab.librewolf-community, io.gitlab.adhami3310.Converter and io.github.flattool.Warehouse.
I’m on Arch Linux with flatpak 1.15.6.
I assume some issue with the metadata in these apps? I’d like to help fix it but don’t know enough yet about where this data is coming from. How can I find that out?
Here’s LibreWolf metadata:
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.gitlab.librewolf-community</id>
<launchable type="desktop-id">io.gitlab.librewolf-community.desktop</launchable>
<name>LibreWolf</name>
<developer_name>LibreWolf Community</developer_name>
<summary>LibreWolf Web Browser</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MPL-2.0</project_license>
<screenshots>
<screenshot type="default">
<image type="source" width="1121" height="902">https://librewolf.net/screenshot.png</image>
</screenshot>
</screenshots>
<description>
<p>LibreWolf</p>
<p>This project is an independent fork of Firefox, with the primary goals of privacy security and user freedom. It is the community run successor to LibreFox.</p>
<p>LibreWolf uses more than 500 privacy/security/performance settings, patches, LibreWolf-Addons (optional) and is designed to minimize data collection and telemetry as much as possible (updater, crashreporter and Firefox’s integrated addons that don’t respect privacy are removed).</p>
<p>LibreWolf is NOT associated with Mozilla or its products.</p>
<p>Features:</p>
This file has been truncated. show original
Looks fine to me.
I also have this issue, Flatpak 1.14.4 on Ubuntu 22.04
You could print metadata this way (example for com.usebottles.bottles
):
appstreamcli dump com.usebottles.bottles
1 Like
This is a bug in flatpak:
opened 03:10PM - 21 Feb 24 UTC
closed 01:31PM - 12 Mar 24 UTC
bug
### Checklist
- [X] I agree to follow the [Code of Conduct](https://github.com/… flatpak/flatpak/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/flatpak/flatpak/issues) for a bug that matches the one I want to file, without success.
- [X] If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
- [X] This issue is not a report of a security vulnerability (see [here](https://github.com/flatpak/flatpak/blob/main/SECURITY.md) if you need to report a security issue).
### Flatpak version
1.15.6
### What Linux distribution are you using?
Fedora Linux
### Linux distribution version
39
### What architecture are you using?
x86_64
### How to reproduce
1. Run `flatpak list --app`
2. Look at the Name column
3. Apps which have `<developer><name>FOO</name></developer>` tag ([documentation](https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer)) in their manifest display **FOO** as the app name, instead of the actual app name
### Expected Behavior
App name should be displayed correctly in `flatpak list`
### Actual Behavior
Developer name is displayed instead of the app name.
### Additional Information
Here's a trimmed example of selected apps installed from Flathub:
```
$ flatpak list --app
Name Application ID Version Branch Origin Installation
Janne Pulkkinen com.github.Matoking.protontricks 1.11.1 stable flathub system
Xournalpp Developers com.github.xournalpp.xournalpp 1.2.2 stable flathub system
Bottles Contributors com.usebottles.bottles 51.11 stable flathub system
Zenju org.freefilesync.FreeFileSync 13.4 beta flathub-beta system
```
As you can see, the **Name** column displays the [developer name](https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer) instead of the app name.
It will be fixed in the next release, but unfortunately the listing will remain broken for each app until the next time it’s updated or reinstalled.
1 Like
Appreciate the link and thank you for fixing it! I’m okay with it taking a while to roll down to every app, this explains why.
And @faveoled thanks for the handy command!
hub
Closed
March 18, 2024, 12:00pm
6
This topic was automatically closed after 34 hours. New replies are no longer allowed.