← Back to team overview

kicad-developers team mailing list archive

6.0 task proposal


Once we remove PCBNew’s legacy canvas I’d like to propose that we simplify the hotkey architecture:

Get rid of the HotKey data-structures; have Actions specify a hotkey key-combination.

1) Actions are already grouped into common, schematic, pcb, etc. so this will get rid of the parallel hotkey grouping definitions.
2) Actions already have IDs, so this will get rid of both the hotkey IDs and the wxWidgets-style IDs to link hotkeys to actions.
3) This will also get rid of the various TranslateLegacyId maps.

Today all these parallel data structures can get out of sync and are hard to maintain.

1) You won’t be able to see all the key-combinations in one place in the code (but you can run Kicad to see them together).

Follow ups