Completely fair point! There is no association between the binary file and its window(s) and it can be misleading to the user in some cases.
As you said, this is fixable with server-side decoration rendering but it isn't when the client renders everything. I guess we could actually display the name of the binary in the compositor when hovering the mouse on top of the application bar but that's not obvious to most users.