chunky-dev / chunky-dev/chunky

Launcher fails to resize properly on version string change

Open
#1,282 0 comments 0 reactions 0 assignees View on GitHub
bug GUI launcher
Dominant language
Java
Stars
738
Forks
78
Avg merge
10h 5m
Merged PRs (30d)
3

Description

**Initial state:**
have only stable versions installed (therefore having short version names, e.g. `2.4.0`)

**State change:**
update to snapshot version

**New state:**
selected version is now set to latest (very long version name, e.g. `2.5.0-SNAPSHOT.###.#########`)

**Problem:**
larger version string resizes / stretches some input fields, therefore moving the launch button (anchored on the right side) outside the view

**Workaround:**
resize the window manually

**Suggested fix:**
- auto resize the window
- truncate overflow of version string with ellipsis (only in field, not in dropdown)
- or check the used panels for their resizing strategy, anchoring them to the right (probably introduces scrollbars)

**Priority:**
not very high, but might confuse new users

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the launcher: switch from a stable version with a short name to a snapshot version with a long name and inspect the window layout and version field. Done means the launch button remains visible after the version changes and the long version is handled without requiring manual window resizing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.