So, I guess this is mostly related to the changes in gnome-terminal that now uses GApplication instead of the old factory.
It also doesn't support anymore the "--class" parameter as it used to be in the past, but this shouldn't be related to this issue.
I gave a quick look (not with code yet), but it seems that at this point for BAMF is quite tricky to understand who has launched that window, and thus using the right icon (since the new terminal window is create by the same main process of the other terminals). Passing a --class or --window-role parameter (together with a StartupWMClass .desktop file paramter) might help in doing this matching, but at this point things seems quite tricky.
So, I guess this is mostly related to the changes in gnome-terminal that now uses GApplication instead of the old factory.
It also doesn't support anymore the "--class" parameter as it used to be in the past, but this shouldn't be related to this issue.
I gave a quick look (not with code yet), but it seems that at this point for BAMF is quite tricky to understand who has launched that window, and thus using the right icon (since the new terminal window is create by the same main process of the other terminals). Passing a --class or --window-role parameter (together with a StartupWMClass .desktop file paramter) might help in doing this matching, but at this point things seems quite tricky.