Closed Loreinator closed 7 years ago
wouldn't it be better to check if the saved position is offscreen and automatically reset it if it is? Don't know if you can check for that, I never worked with windows api.
Just added in the fix, with an automatic move back to the 'default location' of the screen if the window is moved, or tries to move, to an offscreen position.
You can disable this safety by adding this line to your preferences.txt file:
BOOLEAN WINDOW_SAFETY_ENABLED false
I just tested, and yes - if you had a window off screen and then started the program with this safety enabled, then it automatically forces the move chooser back to the default location (centre of primary monitor).
In general, I don't think the safety will be much of an issue to most users. Still, I included the override just in case some setup somewhere is adversely affected.
great work, thanks for that!
See title. All popups that retain their position should have their position reset by a single option in the help menu. It could be called something like "Reset all popup locations".
The actual effect of it could be something like: Relocate all popups to "null", and save their new positions. This should center everything.