Steps to reproduce: - Launch gnome-terminal from Application Menu - Right click on its TaskManager item on the panel > Pin - Close the gnome-terminal and click on that pinned icon. Expected result: - gnome-terminal launches Actual result: - gnome-terminal will NOT launch Read more here: https://github.com/psifidotos/Latte-Dock/issues/996#issuecomment-384974270
This is a bug in Gnome Terminal. It's WM_CLASS is "Gnome-terminal" but its .desktop file is "org.gnome.Terminal.desktop", which doesn't match up (neither absolute nor the part after org.gnome.*). The .desktop file also doesn't set an appropriate StartupWMClass to mitigate this. Finally, our fallback codepaths for handling non-standard-compliant apps (such as getting the command out of /proc and matching it up with Exec keys in the .desktop db) fail due to its architecture (the actual thing running is gnome-terminal-server).