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

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

未关闭 适合新手
#150 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug
主要语言
Java
星标
111
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。