kicad/common/tool
Ian McInerney 9f66ddb27f Attempt to use IsAttached to identify if a menu is a menubar menu
We can't get a mouse position for a menubar menu's event, because the
mouse may be outside our canvas. The original hack to detect menubar
menus may not work fully, and there have been some crashes appearing on
macOS where menubar menus attempted to get mouse position information.

Instead of the hack, try using IsAttached() to detect if the menu is
attached to a menubar, and then gate mouse position access accordingly.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16738
2024-01-27 20:59:14 +00:00
..
action_manager.cpp Update CERN copyrights 2023-11-08 21:34:14 +00:00
action_menu.cpp Attempt to use IsAttached to identify if a menu is a menubar menu 2024-01-27 20:59:14 +00:00
action_toolbar.cpp wx 3.3 compatibility. 2024-01-24 19:58:12 +03:00
actions.cpp Fix action tool friendly name string capitalization. 2023-12-13 08:15:19 -05:00
common_control.cpp Move About dialog to an action 2023-10-04 22:17:47 +01:00
common_tools.cpp Fix a few Coverity warnings. 2023-11-25 11:44:01 +01:00
conditional_menu.cpp Make sub menus conditional on them having child items. 2024-01-18 00:21:15 +00:00
edit_constraints.cpp Improve EC_CONVERGING behaviour when lines are almost collinear. 2023-03-16 05:41:58 +03:00
edit_points.cpp Support point editing of inverted rectangles. 2024-01-17 15:27:48 +00:00
editor_conditions.cpp Painter base class should just live in gal instead of being in denial 2023-09-06 20:23:19 -04:00
grid_helper.cpp Fail GAL on its header leaking audit 2023-09-18 19:52:27 -04:00
grid_menu.cpp Grids: Support X and Y for all grids, add optional names 2023-08-30 11:22:19 -04:00
picker_tool.cpp Picker Tools: make sure we know what tool we are 2023-05-01 12:43:09 -04:00
properties_tool.cpp ADDED: Properties panel for schematic editor 2023-06-22 22:32:24 -04:00
selection.cpp Make comparison operators const. 2023-06-21 08:49:26 +00:00
selection_conditions.cpp Flags: remove unused IS_DRAGGING 2022-12-28 12:27:57 -05:00
selection_tool.cpp Add reselectItem action. 2023-10-08 02:41:17 +00:00
tool_action.cpp Update CERN copyrights 2023-11-08 21:34:14 +00:00
tool_base.cpp Push tool framework base down into TOOL_HOLDER. 2020-03-24 19:00:25 +00:00
tool_dispatcher.cpp Try reusing the TOOL_DISPATCHER menu hack for libtree previews. 2024-01-05 14:20:33 +00:00
tool_event.cpp Add more tool stack tracing 2023-12-29 00:37:38 +00:00
tool_interactive.cpp Add more tool stack tracing 2023-12-29 00:37:38 +00:00
tool_manager.cpp Stop clearing tool transitions when running tools 2023-12-29 00:37:38 +00:00
tool_menu.cpp ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
tools_holder.cpp Introduce action friendly names 2023-10-27 23:58:29 +01:00
zoom_menu.cpp Simplify forcing action parameters to have a specific type 2023-06-20 21:52:50 +01:00
zoom_tool.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00