Hello,
I installed Z18-core gnome (from scratch on one side [work PC], upgrade on the other [personal PC]), and the behavior is the same on each laptop.
When I have a .tar.gz file, I create a launcher shortcut for it, and put it in both /usr/share/applications and/or ~/.local/share/applications.
The icon appears in the search results, and I can pin it, but when I launch it, I get a separate container that is not linked to the icon I clicked on.
In other words, I click for example on Datagrip (DG) and it opens the app with another container associated with an executable with a random icon.
Another way you could try is to switch to Xorg if you are on Wayland (at loginscreen click on your username then a cog wheal appears at the bottom right corner, there you can switch between Xorg and Wayland).
Start from Xorg instead wayland and StartWMClass : same result as before
Put desktop launcher only on .local only : fail
Put desktop launcher only on usr only : fail
Put desktop launcher on both : fail
Maybe it is only the jetbrains apps which have the problem?
Let see. Wait yes. It is only pycharm and the jetbrains suit
When i make gtk-default pycharm, i get a lot of errors. I will analyze this and compare between my 17.3 zorin (old computer has no problem) and my 18 ones.
Thanks for the tips !