Endilll / vapoursynth-preview

Preview for VapourSynth scripts
Apache License 2.0
69 stars 21 forks source link

Window width resets on restart #8

Open Endilll opened 4 years ago

Endilll commented 4 years ago

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

shssoichiro commented 3 years ago

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 commented 3 years ago

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?

Endilll commented 3 years ago

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.