Dear maintainer,
I did some fiddling around. It appears that the .destkop files that are
created work fine in other directories that are in $XDG_DATA_DIRS.
As a workaround I use
sudo ln -s /var/lib/snapd/desktop/applications
/usr/share/applications/snapd
This works (sometimes logging out and in again is required).
I think the issue is caused by the apparmor configuration. The menu
generating process may not be allowed to access /var/lib/snapd/desktop.
I do not have enough experience with apparmor to fully debug that. I
tried looking in the apparmor config files, but could not find the cause
of the issue.
Best regards,
Ruben Vorderman