linuxmint / mintinstall

Software Manager
137 stars 98 forks source link

Added more readable flatpak name in the banner #377

Closed wilfison closed 1 year ago

wilfison commented 1 year ago

I understand that more experienced flatpak users will understand that the name com.todoist.Todoist refers to the Todoist: To-Do List & Tasks application, but that may not be true for more lay users.

With that in mind, I added a display_name to each package in featured.json and filled it in all flatpaks to make it easier for the user to read and identify the package.

mtwebster commented 1 year ago

This is caused by a bug from an upstream package, same cause as https://github.com/linuxmint/mintinstall/issues/373

Nice display names and summaries are not provided by flatpak, but from another datasource (appstream info compiled by flathub). They recently added support for additional markup symbols (like being able to place emphasis on words in an app's description), but didn't take into account the fact that not every distribution is using the latest version of the library that parses this data.

If you have a look at /var/lib/flatpak/appstream/flathub/x86_64/active/appstream.xml you'll see all of these proper names and descriptions are there, but this file is unable to be parsed currently.

This is fixed in the upcoming Mint 21.2 and will be fixed in previous versions soon. The fixed package must work its way down from Ubuntu.

image