WindowLayoutManager icon indicating copy to clipboard operation
WindowLayoutManager copied to clipboard

Option to restore sizes but not open/closed state

Open MartinKolarik opened this issue 3 years ago • 0 comments

Let's say I have a layout with the project window on the left, terminal at the bottom and database on the right. I store this layout, minimize (close) the database window and then restore the layout.

Currently, restoring the layout will make the database window open again - it makes sense, it restores everything exactly to the state as it was.

I have, however, found, that in most cases I'd actually prefer a different behavior: restoring the size of each tool window, but not changing whether the window is open or not. In my previous example, that would mean the window size of project/terminal/database would be restored, but the database window would stay closed.

Why? My main use case of this plugin is restoring the sizes of windows when switching between monitors with different resolutions. When I make the switch, I don't really want to change which windows are open - I just want to restore the correct sizes that got messed up by the resolution change.

MartinKolarik avatar Nov 15 '21 01:11 MartinKolarik