Your link is private bro, but I agree with you. I create a cli to help to fix that but there is more problem than it looks like. While we are using proton games x11 its just fine, everything is just steam_app_{game_id} but natives and wayland proton its different. I am investigating this issue for a while and there is no pattern when we are talking about native games and even worst, wayland games (generally follow the name of the exe game but not always). And there is a problem even bigger that we can have the same game running natively, x11, wayland and all that is different from each other so there is not reliable way to know this value (as far as know).
On the worst scenario, the only way to fix that on gnome is a GUI to let the user say what is the version he/she is using and for sure we should hardcode every wmclass for each non x11 game possible, its not hard but its too tiring.
Nothing extracted yet.
https://github.com/ublue-os/bazzite/pull/2874
@EPOCHvoyager
would be nice if the Steam client would include above in the
.desktopfile when creating a new shortcut