chocolatey / chocolatey/ChocolateyGUI

Chocolatey GUI first run window positioning is strange

Open
#276 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
C#
Stars
1.8k
Forks
272
Avg merge
4d 13h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the first-run launch on Windows and inspect the GUI startup and window-positioning code. Confirm how the initial size and position interact with a taskbar placed on the right. Done means the first window is fully visible within the available work area without requiring manual resizing, while maximized behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.