> Wayland won't allow window size/position to be remembered between sessions
It's not on the program itself to restore its position, but on the compositor, who has every right and control to do just that. AFAIK it does work in plasma Wayland.
That sounds great, but I don't fully agree... IMO a compositor should be able to provide a data structure (unchangeable, mostly or fully opaque) that the app can save/restore across sessions.
But then what's the point, what do you do with it that the compositor can't?
Then instead have stable window IDs so the compositor can do its job properly - there is absolutely no need to self-position and outside of certain privileged apps I absolutely don't want random programs to move their windows around.
That's the problem. The compositor can't reliably distinguish windows, and it definitely doesn't know when the data should be deleted in case the same window never opens again.
It's not on the program itself to restore its position, but on the compositor, who has every right and control to do just that. AFAIK it does work in plasma Wayland.