vapoursynth-preview icon indicating copy to clipboard operation
vapoursynth-preview copied to clipboard

Window width resets on restart

Open Endilll opened this issue 4 years ago • 3 comments

Even though window geometry and state are being properly saved and restored. Definitely has something to do with layouts. (sigh)

Endilll avatar Jul 02 '20 10:07 Endilll

It seems that, for me at least, this is working on a per-file basis. i.e. if I open a file, then close vspreview and reopen the same file, the dimensions are restored.

I'm wondering if it's possible to make this global, so if I open a different file, it keeps whatever dimensions the previous file had?

shssoichiro avatar Sep 28 '21 17:09 shssoichiro

Ah, I see what the other part of the issue is now... for HD videos, if the video is wider than the size of the window you have saved, it forces the window to grow. Unless that behavior is intentional?

shssoichiro avatar Sep 29 '21 01:09 shssoichiro

Window should grow to fit the video by default, but if window was smaller before closing VSP for that file (and saving window state), then it should be the same on reopening that file, I believe.

It also worth mentioning that toolbars can mess this up, because they resize window.

Endilll avatar Sep 29 '21 16:09 Endilll