The ubuntu-software is launched as snap-store in an ubuntu session from the autostart tool
At times we get to a point in which the snap store service is launched as the snap-store app, and not as the ubuntu-app, leading to desktop files matching issues.
So, for example snap routine portal-info $(pidof snap-store)
returns DesktopFile=snap-store_snap-store.desktop
instead of DesktopFile=snap-store_ubuntu-software.desktop
(and same for the /proc/$(pidof snap-store)/attr/current
that mutter looks at), causing matching issues in gnome shell.
It's not clear to me what is causing this, because the autostart file is properly calling snap-store.ubuntu-software
.
Once I removed the autostart file and then added it again after a login/logout cycle and it worked, but in general this is not working as it should be.