The challenge with the desktop display name is the one to many relationship of snaps to apps.
Here's a couple of cases: 1. A single snap with a single (graphical) app. This is probably going to be the vast majority of snaps used on desktop. In this case using the "Name" field from the is both desirable and most appropriate since this ensures the installed icon matches the name shown in GNOME Software (or other client). 2. A single snap with multiple (graphical) apps. While this is probably less likely than case 1 there are some examples: 2a. A snap with a number of top-level apps. In this case the snap acts as an app bundle. An example of this is Libreoffice. We could either: - Show a name that is a combination of the "Name" fields from each .desktop file. e.g. "Libreoffice Writer, Libreoffice Calc, ..." - Show a "bundle name" as taken from the "title" field of the snap, e.g. "Libreoffice". - Split the snap into an item for each app in the libreoffice snap in GNOME Software. This going to be a complex user experience (installing one will install multiple apps, GNOME Software doesn't really support this concept). 2b. A snap with a primary app and one or more supporting apps. In this case the supporting apps are probably not worth explicitly mentioning. We could use case 1 for this. However, there's no way to determine between case 2a and 2b. My thoughts on this is the best solution is to have a "title" field in the snap, but if that isn't present fall back on the "Name" field from the first .desktop file and the snap name after that. This gives the snap developer the maximum flexibility to do the right thing for the type of snap and matches the field they've already entered in the snap store. Snapcraft would ideally check if the title field is absent but .desktop files are provided and prompt the user to keep the snap metadata fields set and in sync. I'm not sure what the vision is for snaps and desktop but I'd highly recommend that we discourage case 2 above (multiple graphical apps per snap) as I think it's a bad user experience. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1663060 Title: Add a title field to snap metadata To manage notifications about this bug go to: https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs