Tauri noob here (but loving it so far). Trying to remember window size, so I played with the official window state plugin. I noticed that on each restart my app window would get bigger than the previous run, basically adding ~100 pixels to width and height on each start. That's odd.
Testing without window_state plugin doing it manually, I noticed when I start my window with e.g. 800x600 (in tauri config) and then read inner_size() I get something slightly bigger, e.g. 890x690. As higher the size is, as bigger the diff gets. For initial 1000x800 inner_size says 1090x938.
This difference makes remember the window size unreliable and basically impossible.
Running on Linux with KDE on Wayland. Did not try on Windows yet.
I tried searching for this and found some similar comment from a few months ago, but no real result other than the problem was observed.