Open PlayOnLinux, close it, open it, close it, open it, ..., the window height keeps increasing every time.
This is a simple bug. The developer should not rely on any fixed number to subtract or add. It should get the window size immediately after [setting window size and creating the window], and then compare the retrieved window size with set windows size to derive the OS/UI window size biase.
For example, you set window size to be {width:100, height:100} and create the window, then you get window size {width:100, height:128}, so you know there is an offset of 128-100=28, then you subtract 28 from window height when saving window size before exitting.
Open PlayOnLinux, close it, open it, close it, open it, ..., the window height keeps increasing every time.
This is a simple bug. The developer should not rely on any fixed number to subtract or add. It should get the window size immediately after [setting window size and creating the window], and then compare the retrieved window size with set windows size to derive the OS/UI window size biase.
For example, you set window size to be {width:100, height:100} and create the window, then you get window size {width:100, height:128}, so you know there is an offset of 128-100=28, then you subtract 28 from window height when saving window size before exitting.