GenieClient / Genie4

.NET 6 Update of Genie
GNU General Public License v3.0
21 stars 14 forks source link

Restoring after Minimizing causes Genie to Reload Layout. #35

Closed mrfarnan closed 2 years ago

mrfarnan commented 2 years ago

When you minimize the genie window, and then restore it, rather the retaining the current layout, it reloads the default layout.

dantiadr commented 2 years ago

@mrfarnan I'm unable to replicate this. Are you using a saved layout before minimizing/restoring?

mj-colonel-panic commented 2 years ago

This has been a longstanding irritation for me for years.

mrfarnan commented 2 years ago

Rather than the default layout, it looks like it just reloads whatever layout is saved with your profile. So if you've made changes to your layout and haven't saved them to profile yet, you lose all those changes.

It would not surprise me to hear this is a long-standing issue, and that I only noticed it because I had to redo my layout due to having a 4k screen.

Kiriawen commented 2 years ago

it loads the sized default layout. It's assuming if you are maximizing the window you are doing so to a new size and is setting the layout accordingly. If you don't have a sized default layout I believe it uses the default layout instead.

if you have a profile saved with a specific layout you can load it with #profile load to restore the layout saved for that profile.

This isn't a bug. It's an intended feature.

mj-colonel-panic commented 2 years ago

I found the solution. This occurs when your resolution changes to a layout which has a sized default. Save your maximized default ass just the default, not a sized default. Delete the sized default. We need to just use default layouts for maximized on our preferred desktop, and deal with it when we do go to default sizes. But the maximized default we should not be our sized default.