kicad/eeschema/tools
Jeff Young 77334628c4 Change default tool behaviour to skip unhandled events.
The problem is that wxEVT_CHAR_HOOK doesn’t do the key translation
properly.  wxEVT_CHAR does, but we only get to that if we skip the
event at the end of the tool’s event processing loop, which most tools
don’t do.  (Selection tools, point editors, pickers, and a couple of
others do skip, which is probably why this didn’t get reported earlier.)

I played around with a couple of ways to fix wxEVT_CHAR_HOOK.  Most of
them don’t work, and the few egregious hacks I tried weren't cross-
platform.

So I’m changing it so that most tools now skip at the end of their
event loops.  I left out a couple that I felt were high risk (length
tuning, for instance).  But there’s still enough risk that I’m 100%
sure it will break something, I just haven’t a clue what.

Fixes: lp:1836903
* https://bugs.launchpad.net/kicad/+bug/1836903
2019-07-26 12:21:24 -06:00
..
backanno.cpp Fix build error. 2019-06-16 18:31:10 -04:00
ee_actions.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
ee_actions.h Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
ee_inspection_tool.cpp Implement I18N for ACTIONs. 2019-06-17 10:45:23 +01:00
ee_inspection_tool.h Yet more command conversions to ACTIONs. 2019-06-02 21:10:56 +01:00
ee_point_editor.cpp Symbol editor: fix an issue when editing LIB_RECTANGLE graphic items. 2019-07-26 10:40:40 +02:00
ee_point_editor.h Overhaul cursor code for new tool/action framework. 2019-06-27 22:37:11 +01:00
ee_selection.cpp Convert separate-compilation of selection.cpp to polymorphism. 2019-06-10 23:46:00 +01:00
ee_selection.h Convert separate-compilation of selection.cpp to polymorphism. 2019-06-10 23:46:00 +01:00
ee_selection_tool.cpp Homogenize selection tools around our HIG. 2019-07-09 21:59:46 +01:00
ee_selection_tool.h Homogenize selection tools around our HIG. 2019-07-09 21:59:46 +01:00
ee_tool_base.h Remove selection condition from conditional menu separators. 2019-06-15 20:43:51 +01:00
lib_control.cpp Implement I18N for ACTIONs. 2019-06-17 10:45:23 +01:00
lib_control.h Move a few more things to ACTIONs. 2019-06-16 19:53:30 +01:00
lib_drawing_tools.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
lib_drawing_tools.h Push/pop tools even when selected from the toolbar. 2019-06-18 20:24:15 +01:00
lib_edit_tool.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
lib_edit_tool.h Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00
lib_move_tool.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
lib_move_tool.h Immediate-action hotkeys (and context menu actions) for eeschema. 2019-06-15 20:43:51 +01:00
lib_pin_tool.cpp Symbol Editor: clear IS_NEW flag after placing a pin 2019-07-03 13:32:47 +02:00
lib_pin_tool.h Immediate-action hotkeys (and context menu actions) for eeschema. 2019-06-15 20:43:51 +01:00
sch_drawing_tools.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
sch_drawing_tools.h Immediate-action hotkeys (and context menu actions) for eeschema. 2019-06-15 20:43:51 +01:00
sch_edit_tool.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
sch_edit_tool.h Add Global Edit Text and Graphics Properties to Eeschema. 2019-07-01 22:15:25 +01:00
sch_editor_control.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
sch_editor_control.h Cleanup. 2019-07-17 21:45:43 +01:00
sch_line_wire_bus_tool.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
sch_line_wire_bus_tool.h A more robust fix for 36f1d023f0. 2019-07-15 14:15:24 +01:00
sch_move_tool.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
sch_move_tool.h eeschema: Insert junctions when repeating 2019-06-18 20:12:08 -07:00