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

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

Aperta Adatta ai principianti
#150 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Bug
Lingua principale
Java
Stelle
111
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
desktop
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.