kicad/eeschema
John Beard e20a11cbb3 Eeschema: Fix selection of items inside filled shapes
The selection heuristic broke down when one item was a filled
shape. Because all hit tests would succeed with distance 0 for
these shapes, they would always be considered the closest item
to the exclusion of all else, which made it very hard to
click on a graphic inside a filled shape.

Now, recognise when an item would be "dominating" and
decline to promote it to the "closet" spot. It will still
be selectable if there are no other items nearby, or if
there are multiple shapes.

(cherry picked from commit fd4c15517f)
2024-05-23 15:41:28 +08:00
..
dialogs The user can cancel the opening of many editors. 2024-05-09 23:36:32 +01:00
import_gfx Don't import invalid polygons. 2024-02-25 12:29:02 +00:00
navlib Introduce action friendly names 2023-10-27 23:58:29 +01:00
netlist_exporters Make IBIS errors visible / more obvious. 2024-05-19 01:44:16 +03:00
printing Don't draw the selection if it's not from the current screen. 2024-03-02 18:56:57 +00:00
python_scripts Respect exclude from bom in all python files 2024-01-05 16:11:20 +00:00
sch_io Legacy Libraries: fix Description field clobbering user field 2024-05-06 12:15:14 -04:00
sim Make IBIS errors visible / more obvious. 2024-05-19 01:44:16 +03:00
symbol_editor Fix warnings. 2024-05-03 00:09:24 +03:00
tools Eeschema: Fix selection of items inside filled shapes 2024-05-23 15:41:28 +08:00
widgets Property grid navigation improvements. 2024-04-28 08:25:24 -04:00
CMakeLists.txt Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated 2024-05-16 19:53:23 +02:00
annotate.cpp More globals eradication. 2023-11-12 23:43:30 +00:00
autoplace_fields.cpp Eeschema: Autoplace fields offset correction 2024-01-24 00:24:16 +00:00
bom_plugins.cpp More wxSing 2023-01-16 23:14:38 -05:00
bom_plugins.h
bus-wire-junction.cpp Performance SCH_EDIT_FRAME::SchematicCleanUp 2024-02-23 14:36:36 -05:00
bus_alias.h
cmp_library.keywords
connection_graph.cpp Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
connection_graph.h Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
cross-probing.cpp Update net navigator when cross probing from board editor net highlight. 2024-03-03 08:57:54 -05:00
default_values.h Schematic Lines: add marker for unselected, connected line ends 2022-12-12 14:45:06 -05:00
ee_collectors.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
ee_collectors.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
eeschema.cpp Fix crash if we exit lib table setup 2024-02-11 21:05:23 -05:00
eeschema.icns Add document type icons 2024-02-09 15:55:57 -08:00
eeschema_config.cpp Save project settings after Schematic Setup. 2024-04-28 21:54:16 +01:00
eeschema_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
eeschema_helpers.cpp Remember to set the root sheet before loading 2024-04-18 10:48:15 -07:00
eeschema_helpers.h USe setactive in cli in the LoadSchematic helper too 2024-02-16 00:08:10 -05:00
eeschema_id.h Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER. 2023-09-29 00:13:12 +01:00
eeschema_jobs_handler.cpp kicad-cli sym export svg: Ensure bounding box is correctly calculated 2024-05-21 21:59:38 +02:00
eeschema_jobs_handler.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
eeschema_settings.cpp EEschema, net navigator: save settings when closing Eeschema. 2024-02-01 12:53:33 +01:00
eeschema_settings.h FromDIP symbol and footprint editor aui panes 2024-01-17 23:08:38 -05:00
erc.cpp Default is a valid netclass, even if it's not in m_NetClasses. 2024-03-14 18:07:48 +00:00
erc.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
erc_item.cpp Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
erc_item.h Now that we allow open-text netclass references we need to ERC check them. 2023-11-04 13:59:28 +00:00
erc_report.cpp Add $schema prop to drc/erc 2024-02-13 19:08:55 -05:00
erc_report.h Dump the ERC report as part of the erc failure 2024-01-21 16:10:43 -05:00
erc_sch_pin_context.cpp Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
erc_sch_pin_context.h Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
erc_settings.cpp ERC: set default setting ERCE_SIMULATION_MODEL to ignore 2023-04-14 17:21:09 +02:00
erc_settings.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
fields_data_model.cpp Update labels when editing field names. 2024-01-23 14:58:56 +00:00
fields_data_model.h Symbol Fields Table: better column moving 2023-12-06 09:39:10 -05:00
fields_grid_table.cpp The user can cancel the opening of many editors. 2024-05-09 23:36:32 +01:00
fields_grid_table.h Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
files-io.cpp Don't abort on failure to backup file if it was never saved. 2024-05-05 14:59:07 +01:00
general.h
generate_alias_info.cpp Improve editing values with {return} in text fields; Add hyperlink detection. 2023-10-15 01:45:39 +03:00
generate_alias_info.h
gfx_import_utils.cpp ConvertImageToPolygons: fix images with no alpha. 2024-02-06 21:38:00 +03:00
gfx_import_utils.h ADDED: Importers for EasyEDA (JLCEDA) Standard / Professional. 2023-09-07 11:02:40 +03:00
invoke_sch_dialog.h Rename files and classes to match dialog name. 2022-12-11 18:42:57 +00:00
lib_field.cpp Allow to set LIB_FIELD size through property manager 2024-05-16 20:45:26 +08:00
lib_field.h Allow to set LIB_FIELD size through property manager 2024-05-16 20:45:26 +08:00
lib_item.cpp Fix merge error. 2024-03-29 18:26:14 +00:00
lib_item.h Correctly report body style in symbol checker. 2024-01-26 18:11:23 +00:00
lib_pin.cpp ADDED: Expose units and DeMorgan to properties system. 2024-03-29 17:49:48 +00:00
lib_pin.h Honour alternates when getting SCH_PIN description. 2023-12-23 13:30:15 +00:00
lib_shape.cpp ADDED: Expose units and DeMorgan to properties system. 2024-03-29 17:49:48 +00:00
lib_shape.h Cleanup. 2023-11-25 13:12:45 +00:00
lib_symbol.cpp Check for valid shared pointer before locking 2024-04-11 14:42:53 -07:00
lib_symbol.h Fix deduplication of already-placed symbols 2024-05-03 11:39:01 -04:00
lib_text.cpp Keep selected flags on undo/redo items. 2023-12-22 17:30:14 +00:00
lib_text.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
lib_textbox.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
lib_textbox.h _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
libarch.cpp Upgrade many editing actions to SCHEMATIC_COMMIT. 2023-06-09 22:41:47 +01:00
libedit.icns macOS: add a few more known file types 2023-11-16 12:11:42 -05:00
libedit_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
menubar.cpp Eeschema menubar, view menu: group Show/Hide Net Navigator with other Show/hide menus 2024-01-31 12:40:21 +01:00
net_navigator.cpp Net navigator: Unescape net names 2023-10-31 22:19:48 -04:00
picksymbol.cpp Update a few strings based on new string freeze policy. 2024-02-05 15:49:57 +00:00
pin_numbers.cpp More wxSing 2023-01-16 23:14:38 -05:00
pin_numbers.h
pin_type.cpp Internationalise pin info when language changes. 2024-04-28 21:54:16 +01:00
pin_type.h Refactor pin orientation to be an enum class 2023-07-26 23:46:15 -04:00
project_rescue.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
project_rescue.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
project_sch.cpp Tear out the eeschema conditional compile of PROJECT 2023-09-27 23:05:30 -04:00
project_sch.h Tear out the eeschema conditional compile of PROJECT 2023-09-27 23:05:30 -04:00
sch_base_frame.cpp Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
sch_base_frame.h Prevent multiple reloads when saving 2024-01-11 19:01:31 -08:00
sch_bitmap.cpp Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_bitmap.h Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_bus_entry.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_bus_entry.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_commit.cpp Fix warnings. 2024-05-03 00:09:24 +03:00
sch_commit.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_connection.cpp Fix uninitialized variable. (Coverity) 2024-01-04 14:58:59 +00:00
sch_connection.h Add explicit copy ctor for SCH_CONNECTION 2023-12-28 15:30:25 -05:00
sch_draw_panel.cpp More changes for SCH_COMMIT independence from frames. 2023-06-10 20:53:44 +01:00
sch_draw_panel.h
sch_edit_frame.cpp Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
sch_edit_frame.h Fix renaming sheet check 2024-05-03 13:23:51 -07:00
sch_field.cpp Don't assume all glyphs are outline with an outline font. 2024-03-18 22:20:44 +00:00
sch_field.h Expose text size for SCH_FIELDs. 2024-02-29 17:38:18 +00:00
sch_file_versions.h Parse generator_version and improve error output on mismatch 2023-11-29 16:17:41 +00:00
sch_item.cpp Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_item.h Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_junction.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_junction.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_label.cpp Repair variable resolution recursion guard. 2024-05-17 11:24:37 +01:00
sch_label.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_line.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_line.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_marker.cpp EDA_ITEM::SwapData() must not swap the parent pointer. 2024-02-09 20:10:12 +00:00
sch_marker.h Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_no_connect.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_no_connect.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_painter.cpp Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated 2024-05-16 19:53:23 +02:00
sch_painter.h Symbol Editor do not display bounding box of invisible pins and fields 2024-03-15 15:03:38 +01:00
sch_pin.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_pin.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_plotter.cpp Fix HPGL color mode being set. 2024-01-15 22:35:35 +03:00
sch_plotter.h Coverity warning fixes. 2023-10-27 16:48:14 -04:00
sch_preview_panel.cpp Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible. 2023-10-14 23:51:37 +01:00
sch_preview_panel.h
sch_reference_list.cpp More globals eradication. 2023-11-12 23:43:30 +00:00
sch_reference_list.h More globals eradication. 2023-11-12 23:43:30 +00:00
sch_rtree.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
sch_screen.cpp Fix renaming sheet check 2024-05-03 13:23:51 -07:00
sch_screen.h Fix renaming sheet check 2024-05-03 13:23:51 -07:00
sch_shape.cpp Add bezier icon 2024-02-14 02:01:01 +01:00
sch_shape.h Cleanup. 2023-11-25 13:12:45 +00:00
sch_sheet.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet_path.cpp Use correct project name when adding new symbol instances. 2024-04-28 07:06:03 -04:00
sch_sheet_path.h Use correct project name when adding new symbol instances. 2024-04-28 07:06:03 -04:00
sch_sheet_pin.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet_pin.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_symbol.cpp Do not show click to start wire cursor for hidden pins. 2024-04-28 07:39:34 -04:00
sch_symbol.h Do not show click to start wire cursor for hidden pins. 2024-04-28 07:39:34 -04:00
sch_text.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
sch_text.h Handle justification for vertical text when mirroring. 2023-11-17 21:50:16 +00:00
sch_text_help.md
sch_text_help_md.h
sch_textbox.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
sch_textbox.h Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
sch_validators.cpp Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
sch_validators.h Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
sch_view.cpp Coverity warning fix. 2023-10-28 13:25:30 -04:00
sch_view.h Add PIN_NAME and PIN_NUM to the layer ordering 2023-09-06 19:15:35 +00:00
schematic.cpp Clear field listener when quitting 2024-05-17 00:50:48 +00:00
schematic.h Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
schematic.keywords Parse generator_version and improve error output on mismatch 2023-11-29 16:17:41 +00:00
schematic_settings.cpp BOM Export: remember filename per project 2024-05-06 11:38:15 +01:00
schematic_settings.h BOM Export: remember filename per project 2024-05-06 11:38:15 +01:00
schematic_undo_redo.cpp Update hierarchy navigator when undoing or redoing sheet name changes. 2024-04-11 10:51:04 -04:00
sheet.cpp Fix renaming sheet check 2024-05-03 13:23:51 -07:00
symb_transforms_utils.cpp Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated 2024-05-16 19:53:23 +02:00
symb_transforms_utils.h Eeschema, Pin helpers: fix wrong label orientation if the symbol is rotated 2024-05-16 19:53:23 +02:00
symbol_async_loader.cpp Handle non-IOE exceptions in symbol loader 2023-11-15 12:27:34 -05:00
symbol_async_loader.h
symbol_checker.cpp Update a few strings based on new string freeze policy. 2024-02-05 15:49:57 +00:00
symbol_chooser_frame.cpp Add bottom panel to have correct background in fp/sym chooser frames. 2024-02-24 15:17:28 +00:00
symbol_chooser_frame.h Filter must return true for libraries. 2023-11-13 17:18:15 +00:00
symbol_diff_frame.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
symbol_diff_frame.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
symbol_lib_table.cpp Make sure database library has updated pointer to library table 2024-05-03 11:39:01 -04:00
symbol_lib_table.h Introduce base IO_MGR class and unify RELEASER objects 2023-12-29 00:37:38 +00:00
symbol_library.cpp Kick the wildcards and file exts into a static class, export it from kicommon 2023-12-27 21:10:01 -05:00
symbol_library.h Initial rename of file plugin infrastructure components to IO 2023-12-24 01:22:21 +00:00
symbol_library_common.h ADDED: Export symbols from schematic to library 2022-09-23 21:23:01 -04:00
symbol_library_manager.cpp Introduce base IO_MGR class and unify RELEASER objects 2023-12-29 00:37:38 +00:00
symbol_library_manager.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
symbol_tree_model_adapter.cpp Performance optimizations for database libraries. 2024-02-23 17:22:20 +00:00
symbol_tree_model_adapter.h Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
symbol_tree_synchronizing_adapter.cpp Check known m_Desc field before m_Fields. 2024-02-22 23:37:15 +00:00
symbol_tree_synchronizing_adapter.h Clearer naming. 2023-11-09 14:05:35 +00:00
symbol_viewer_frame.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
symbol_viewer_frame.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
toolbars_sch_editor.cpp Repair over-zealous application of grid origin dialog. 2023-08-29 12:21:21 +01:00
toolbars_symbol_viewer.cpp Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER. 2023-09-29 00:13:12 +01:00