<snip>
Anyway, with the window size fixed, it's not an issue, and I suspect it might be specific to the Linux build - though it might be interesting to know if any Windows users have encountered this.
I am glad you worked around the issue using your WM.
In response to your question, personally, I have not encountered it on Windows or Mac although that is not to say it doesn't impact these OSes as I rarely if ever play with window size.
Also nice tip from
@Plotinus about deleting winpos.dat file (especially if it works as hoped).
I am all ears to see what Sami & Erkka will say on this bug report.
Meanwhile my uneducated guess is it is due to an SDL regression.
Yesterday, reading your messages I did take a look at the SDL issues on GitHub
https://github.com/libsdl-org/SDL/issues?q=is%3Aissue+is%3Aopen+resizeFor the search word 'resize' there are 42 open issues and 167 closed.
(SDL has a track record of regressions so it wouldn't surprise me if the active issue actual count is more than the 42 listed there).
With a quick look I found one that could be the cause here:
https://github.com/libsdl-org/SDL/issues/3217That issue is reported by Kyle Rawlins on macOS on SDL2 v.2.0.7.
A follow up by blumens advises they too experience it on linux and on much later version v.2.0.14
For reference, on UrW v.3.70, in my UrW directory I see v.2.0.4 which is of course in between the two reports and presumably is also impacted by the sdl2 bug.
If it is indeed an SDL bug, it means the bug will probably get fixed in a future version of this game when it bundles a future and fixed version of SDL, without UrW devs lifting a finger - the more preferable kind of bug!
If you still have the time and appetite to test some more, perhaps you could try (after disabling your WM setting) whether the bug occurs when you resize the window to a part of your desktop that does not intersect a dock/applet/screen boundary etc.