ChocolateyGUI icon indicating copy to clipboard operation
ChocolateyGUI copied to clipboard

Chocolatey GUI first run window positioning is strange

Open ADTC opened this issue 10 years ago • 3 comments

I'm on Windows 7. When I run ChocolateyGUI for the first time after installing it, its window assumes the size of my screen. It is ignoring the fact that I have my taskbar always visible on screen (I keep it on the right instead of the bottom). Normally, maximized windows will only take up the remaining space or less. (ChocolateyGUI does so when it is maximized - but it doesn't open in a true maximized state).

Non-maximized (restored) programs that are started for the first time usually present a small window that is fully visible on screen in a so-called "default" position (letting Windows decide where to place it - resulting in a stacked look if multiple windows were opened). ChocolateyGUI seems to do this, thus placing the window offset from the top and left by some distance, but since the window itself is sized to match the screen size, the right and bottom parts of the ChocolateyGUI extend beyond the screen bounds. The user is then left to move and resize the window to fix the problem.

This bug report is related to feature request #275.

ADTC avatar Aug 07 '15 08:08 ADTC

@ADTC I have just added a Pull Request to persist the window size and position.

If you have some time, would you be able to take that PR for a spin to see if it corrects this issue?

Thanks

gep13 avatar Sep 26 '17 21:09 gep13

@gep13 I'm not sure if remembering user's chosen size and position would help with the size and position on the first run (before the user has ever gotten a chance to choose it).

I will let you know if and when I get to try it. Is there a build? I'll need a binary installer.

ADTC avatar Sep 27 '17 19:09 ADTC

@ADTC there are instructions on the readme of this repo that explain how to get the pre-release bits.

gep13 avatar Sep 27 '17 21:09 gep13