Jaded-Encoding-Thaumaturgy / vs-preview

Previewer for VapourSynth scripts.
Apache License 2.0
63 stars 19 forks source link

Bug: reloading script causes plugins pane to close #185

Open emotion3459 opened 2 months ago

LightArrowsEXE commented 2 months ago

This is tied to the user settings: image

LightArrowsEXE commented 2 months ago

For clarification, the bug is that if you refresh the window (ctrl+r), it improperly tries to reload the plugins bar state when it doesn't have to. This means that if you're not storing that state (like with Save Plugins Bar Position: No), it will forcibly close it, as there is no state information for it to read.

Instead, the state should only be reset upon a hard reload (closing the window and reopening it), and no checks should be performed during a window refresh.