kicad/pagelayout_editor
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
..
dialogs Pl_editor rework: refinements in Design inspector. 2019-06-15 09:58:23 +02:00
tools Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
CMakeLists.txt Push Eeschema & PLEditor PICKER_TOOLs down into common. 2019-07-16 00:44:01 +01:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
design_inspector.cpp Pl_editor rework: refinements in Design inspector. 2019-06-15 09:58:23 +02:00
design_inspector.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
files.cpp Fix OSX button order issue in Unsaved Changes dialog. 2019-06-17 17:01:57 +01:00
invoke_pl_editor_dialog.h Use consistent PageLayout data structure names. 2019-05-27 11:55:58 +01:00
menubar.cpp Partial fix for missing language selection menu. 2019-06-16 20:35:57 +02:00
pl_draw_panel_gal.cpp pl_editor:make the option "show formatted texts" working. 2019-06-15 19:54:05 +02:00
pl_draw_panel_gal.h pl_editor: show the page limits and the coord reference corner position. 2019-06-07 12:42:28 +02:00
pl_editor.cpp Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
pl_editor.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
pl_editor.rc Initial release of pl_editor, the page layout and title block editor. 2013-07-19 20:27:22 +02:00
pl_editor_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
pl_editor_frame.cpp Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
pl_editor_frame.h Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
pl_editor_id.h Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00
pl_editor_layout.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
pl_editor_layout.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
pl_editor_screen.cpp Minor fixes in page layout editor 2019-05-31 12:06:29 +02:00
pl_editor_screen.h Remove CurItem() architecture and legacy routers and drawing code. 2019-05-29 00:26:30 +01:00
pl_editor_undo_redo.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
properties_frame.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
properties_frame.h Use consistent PageLayout data structure names. 2019-05-27 11:55:58 +01:00
toolbars_pl_editor.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00