From time to time I get this weird situation where I click on an application icon, the spinner spins for couple of second and stops and nothing is happening. At the same time, launching application by command line works without problem. Usually the issue goes away by itself, faster in some cases, slower for others, like just now with thunderbird I had this problem for solid couple of minutes, and it also was solved by itself. It lasted long enough for me to observe it for couple of minutes, then get some logs, then write most of this post.
While it was happening, clicking aplication icon on desktop panel was producing such messages in syslog:
Jul 1 20:54:16 pc systemd[2875]: Started snap.thunderbird.thunderbird.a930894d-7b4e-4ea6-ba79-f7d864c451bd.scope.
Jul 1 20:54:16 pc systemd[2875]: Started Application launched by gnome-shell.
Jul 1 20:54:16 pc thunderbird_thunderbird.desktop[688945]: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-thunderbird_thunderbird-688945.scope is not a snap cgroup
DBUS_SESSION_BUS_ADDRESS env var seems to be ok:
echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
My system:
$ snap version
snap 2.59.5
snapd 2.59.5
series 16
ubuntu 22.04
kernel 5.15.0-75-generic
This time it was with thunderbird snap, but I do not think it is specific to any particular snap; I had it with others.
Next time it happens I would like to get neccesary information required for filing proper bug report, so any sugestions what info I could get are welcome. Or maybe we will solve the mystery here