godotengine / godotengine/godot

Duplicate shortctut names are not handled correctly when clearing filter

Open
#116,554 2 comments 0 reactions 0 assignees View on GitHub
bug topic:editor usability
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.6

### System information

W10

### Issue description

The new behavior added in #110690 is bugged. When 2 shortcuts from different sections have the same name, clearing the filter may leave wrong one selected. The editor should probably remember section in addition to shortcut name.

https://github.com/user-attachments/assets/23a662c8-c8f5-40cb-b549-436a7d5cb324

### Steps to reproduce

1. Open Editor -> Editor Settings -> Shortcuts
2. Search for Select Mode and select the one from Canvas Item Editor
3. Clear filter field
4. Wrong Select Mode is selected

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.