I’m not sure why it’s not doing that. It tends to launch immediately from the terminal, but not from the application launcher (tends to take at least 3 tries).
$ snap run thunderbird
Gtk-Message: 01:34:01.311: Failed to load module "colorreload-gtk-module"
Gtk-Message: 01:34:01.311: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 01:34:01.311: Failed to load module "appmenu-gtk-module"
[GFX1-]: glxtest: libpci missing
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource:///modules/gloda/GlodaConstants.jsm
Missing chrome or resource URL: resource:///modules/gloda/GlodaConstants.sys.mjs
This often happens with many snaps. But, most probably it has something to do with the desktop file itself. When you type snap run *****, the binary file under /snap/bin is directly triggered. But when you click the desktop file, it first triggers which is in the Exec=....., then that command is executed within its confinement, and then in most cases it triggers the binary file under /snap/bin, which again triggers the binary file under $SNAP/usr/bin or where it’s located. I guess this chain of executions makes it late.
I’m still experiencing it with Brave and Thunderbird.
Doesn’t seem to happen with Firefox, though
Nov 14 20:12:55 Y4M1-II systemd[9205]: Started snap.thunderbird.thunderbird-218c47bb-9cdf-4585-8487-1e76547933b3.scope.
Nov 14 20:12:55 Y4M1-II systemd[9205]: Started app-thunderbird_thunderbird-4758a597c99d427f91814da5b05c365a.scope - Thunderbird Mail - Mail Client.
Nov 14 20:12:55 Y4M1-II plasmashell[133984]: /user.slice/user-1000.slice/user@1000.service/app.slice/app-thunderbird_thunderbird-4758a597c99d427f91814da5b05c365a.scope is not a snap cgroup
Nov 14 20:18:39 systemd[9205]: Started snap.brave.brave-0149a21f-9f53-4774-9189-d26c3e467622.scope.
Nov 14 20:18:39 systemd[9205]: Started app-brave_brave-ef45525cece44fb8aec48a679c000d9d.scope - Brave Web Browser - Web Browser.
Nov 14 20:18:39 kwin_x11[9529]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9515, resource id: 33557375, major code: 18 (ChangeProperty), minor code: 0
Nov 14 20:18:39 plasmashell[136250]: /user.slice/user-1000.slice/user@1000.service/app.slice/app-brave_brave-ef45525cece44fb8aec48a679c000d9d.scope is not a snap cgroup
Nov 14 20:18:39 kwin_x11[9529]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9550, resource id: 33557376, major code: 18 (ChangeProperty), minor code: 0
still happening from time to time (u22.04). Looking at bug ticket posted above, I wonder if the fix is only for 23.04 and later versions, or if there is a fix at all (it’s not clear)