Different behaviour with wayland compared with X

I have an X program (UPSmart) which I run under Rocky 9 and Rocky 10.

Under Rocky 9 (using X), the program window has a kill button and a minimise button in the top right-hand corner.

Under Rocky 10 (using xwayland) , the minimise button is missing.

It’s a wayland thing, might be some hints here: Google Search

Using gnome tweaks does add a minimise button but the minimised window is invisible and can only be recovered by clicking the top left-hand work space icon. Not very intuitive. X put it in the bottom task bar where it was easy to see.