Save user-defined window position

I cannot get the “Save user-defined window position” to work. I have reset settings, toggled various Main Window options, nothing seems to work for me. It won’t remember size or position.

Can you check this for an issue or offer advice?.

Screenshot 2024-10-15 171854

I believe I found a bug and the source.

The “Save user-defined window position” stops working when the “Enable Tray Icon” is enabled. Otherwise it works.

So when the “Save user-defined window position” is checked, it will not save the a new position or size. The project will load the last saved position but not save it.

I experienced similar long ago using EXEOut. Discovered that I needed to “reset” which apparently flushes cache. Build again. Might not be your issue, but give it a try:

@oldteacher thanks … I just tried that too but it did not work either…

It happens when using the tray menu to exit the application. So, if you have the option “The Close Button Minimizes the Main Window” checked, it never can save positions.

So, the only way it really saves any new positions is when you close the app using the window close button.

It’s easy to duplicate this behavior here every time:

First make sure "Save user-defined window position” is enabled or checked.

Now on the Main window application settings screen:

  1. Check the box “Enable Tray Icon”
  2. Save and compile and run the app.
  3. Change the window position and using the tray menu “Exit Application”
  4. Open the app again

The Window does not load in the new position.

  1. Change the position of the Window again
  2. Exit the app using the upper right window close button.
  3. Open the app again.

The Window should now be loaded in the last position.

1 Like

Got ya. Just gave it a try and same issue as you.

Really acted strange on dual monitors. @gdgsupport will be interested in this :slight_smile:

1 Like

Thank you for the report. We’ll investigate and fix this in the next release if possible.

There is another issue with this too.

If you have a Tray Icon menu item, where the action uses the available Global HEScript to Restore the window, HERestoreFromTray. The window never displays using the stored position, only double clicking the tray icon uses the stored position.

I believe this issue only exists when the “ShowMinimized on Start” tray Icon settings is checked on.