There should be black borders when the window size is not according to the video aspect ratio. Currently, the code does not account for this and changes the window size wrongly.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Well, this bug is only a small problem for Wayland because shm.c is rarely used.
But #18434 (closed), which is the same with OpenGL is a huge issue for GUI...