Designer will start sized to minimum

Posts   
 
    
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 04-Oct-2016 13:54:32   

Often, like 90 of the time, the designer will start in top left corner of the center screen in a minimized state (sized to minimum). Not sure what triggers it.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 04-Oct-2016 16:45:33   

In C:\Users<your user>\AppData\Roaming\LLBLGen Pro there's a file, guistate50.xml

Delete it.

Start the designer. it will not be maximized, but start on the monitor that's active. Maximize it, move it to another monitor. Close it. Restart designer, it should open on the monitor you closed it last, in the state it had last.

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 05-Oct-2016 07:39:55   

Indeed, WindowSizeState.Height was stuck at -17 for some reason and after I closed the designer in non-maximized state it'd start minimum sized.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 05-Oct-2016 10:28:32   

mihies wrote:

Indeed, WindowSizeState.Height was stuck at -17 for some reason and after I closed the designer in non-maximized state it'd start minimum sized.

This is still the case? You use the latest v5 build?

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 05-Oct-2016 12:00:54   

Yes, it still happens - looks randomly. Using 5.0.6. Will try to figure out what triggers it (using 3 monitors, 150% size and displayfusion app)

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 05-Oct-2016 16:19:33   

I think I see what could trigger it: if I have it minimized and then close the window with the right mouse button (or I close windows, which will kill the process) I get this state you describe.

This is a bug: a minimized designer shouldn't preserve its state as minimized. (which is what happens when you open it again: it opens minimized. )

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 05-Oct-2016 23:18:29   

Yep, that's most probably the cause.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 06-Oct-2016 10:38:19   

Fixed in new 5.0.7 hotfix build which is now available simple_smile (the tiny window in the top left corner is just 0 sized btw, you can drag it open, and with the next build it will stay normal sized and won't be tricked into saving 0 sized windows again when minimized (or maximized)

Frans Bouma | Lead developer LLBLGen Pro