5zig-reborn / 5zig-reborn/The-5zig-Mod

Issue with Name History Dialog typing in names with the keybind character in them

Offen Anfängerfreundlich
#150 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bug
Vorherrschende Sprache
Java
Sterne
111
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When opening name history with a keybind and searching for a name, it will exit upon clicking that key again. For example, mapping Name History to N and then searching for `EvilMuffinHa` will exit when it hits the `n` in muffin.

**To Reproduce**
Steps to reproduce the behavior:
1. Map name history keybind to some character
2. Search for a name with that character in the dialog

**Expected behavior**
Expected it to print the letter without exiting, only exiting on `Esc`.

**Desktop (please complete the following information):**
- OS: Mac OS X
- Version 3.14.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look for the name history dialog UI code, likely in a GUI or keybind handling class. The issue is that the keybind character triggers dialog closure when typed during search. Find where key events are processed for the dialog and modify to ignore the bound key while the search field is focused, only closing on Esc. Test by mapping a keybind and searching for a name containing that character.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.