Application name changes after installation and cannot be uninstalled
gnome-software-41~beta-3.fc36.x86_64
- Open Software, Search for Evince
- Click Evince, hit install button
- Immediately after installation, Software window change title from "Evince" to "Document Viewer"
- Go back to default Software page
- Search for Evince -> It's Document Viewer now Software probably switches the name available in appstream-data for the name from .desktop file, I know it's probably not a big deal, but it's confusing.
- when you try to uninstall the application it changes the name back to evince for a split second and then it silently fails, the Remove button remain shown and when clicked again shows an error message "no packages to remove". This lasts until gnome-software is killed and restarted.
The reproducer works fine with e.g. GNOME Connections, in that case, the name of the application is not changed and it can be unninstalled.
Edited by mkrajnak