kicad/pagelayout_editor/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
..
pl_actions.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
pl_actions.h Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
pl_drawing_tools.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
pl_drawing_tools.h Move footprint & symbol tree context menus to tool infrastructure. 2019-06-05 20:16:48 +01:00
pl_edit_tool.cpp Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
pl_edit_tool.h Real-time highlighting for PlEditor delete tool. 2019-06-25 21:10:21 +01:00
pl_editor_control.cpp MRU for page size and orientation, and clearer info that this is all preview data only. 2019-07-10 23:17:50 +01:00
pl_editor_control.h pl_editor rework: add a design inspector (similar to what was existing previously, but as a dialog) 2019-06-14 20:48:50 +02:00
pl_point_editor.cpp Allow move tool to run on top of other tools. 2019-07-01 22:15:25 +01:00
pl_point_editor.h Overhaul cursor code for new tool/action framework. 2019-06-27 22:37:11 +01:00
pl_selection.cpp Convert separate-compilation of selection.cpp to polymorphism. 2019-06-10 23:46:00 +01:00
pl_selection.h Convert separate-compilation of selection.cpp to polymorphism. 2019-06-10 23:46:00 +01:00
pl_selection_tool.cpp Cleanup and commenting. 2019-07-14 10:36:48 +01:00
pl_selection_tool.h Cleanup and commenting. 2019-07-14 10:36:48 +01:00