kicad/include
Seth Hillbrand 4c8f556b80 Prevent UI updates from changing zoom selection
The zoom selection should only change when requested by the user, not in
response to UI updates.  This can cause unexpected zoom shifts when the
calculated zoom is within a range of one of the presets.  It also adds
unneeded calls during the UI update cycle

Fixes https://gitlab.com/kicad/code/kicad/issues/10498

(cherry picked from commit 6810479a19)
2022-01-20 10:10:06 -08:00
..
bitmaps Add code and dialog to create/add/remove teardrops, step 1 2022-01-10 20:04:40 +01:00
core Fix test failure. 2021-12-25 15:34:50 +00:00
dialogs Remove UpdateUI from preferences pdf viewer option 2021-12-30 11:36:01 -05:00
drawing_sheet Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
font Font outline decomposition fixes 2022-01-15 12:51:09 +00:00
gal Some more EDA_ANGLE cleanup. 2022-01-16 19:16:18 +00:00
kicad_curl Code cleaning. 2021-09-07 15:18:42 -04:00
libeval Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
libeval_compiler Add field access to custom DRC rules. 2021-12-24 18:13:00 +00:00
plotters EDA_ANGLE for plotters. 2022-01-16 01:19:45 +00:00
plugins Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
preview_items More VECTOR2D -> VECTOR2I and wxPoint cleanup. 2022-01-11 14:20:14 +00:00
project Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
settings Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
tool Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
view Some more EDA_ANGLE cleanup. 2022-01-16 19:16:18 +00:00
widgets Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
advanced_config.h prepare teardrops, round 2 2022-01-08 16:56:41 +01:00
array_axis.h Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
asset_archive.h Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
base64.h Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.h Update BASE_SCREEN to VECTOR2I 2022-01-01 11:30:33 -05:00
base_units.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
bin_mod.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap_base.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
bitmap_store.h Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
bitmaps.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board_design_settings.h Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
board_item.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
board_printout.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
build_version.h Avoid calling deprecated wxPlatformInfo::GetArchName() in more than one place. 2021-11-13 09:52:08 +01:00
callback_gal.h Plot fonts in outline mode, not triangulated 2022-01-13 17:04:14 -08:00
class_draw_panel_gal.h Add profile counters for PCB mouse and paint events 2021-12-05 15:16:08 -05:00
collector.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
commit.h Suppress leaking eda_item so much via undo_redo_container.h 2021-06-08 19:12:30 -04:00
common.h Use individual parameter version of wxExecute. 2021-09-26 15:03:06 +01:00
config_map.h
config_params.h Header clean up round 1. 2020-12-18 09:04:26 -05:00
confirm.h Overhaul file locking system. 2021-08-31 15:04:31 +01:00
convert_to_biu.h Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
dialog_shim.h Make sure standard OK/Cancel buttons respond to current language. 2021-12-24 18:13:11 +00:00
dsnlexer.h pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.h Reduce duplication of settings. 2021-12-24 21:10:28 +00:00
eda_dde.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_doc.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_draw_frame.h Prevent UI updates from changing zoom selection 2022-01-20 10:10:06 -08:00
eda_item.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
eda_item_flags.h Add missing cstdint include 2021-06-08 19:51:35 -04:00
eda_list_dialog.h Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
eda_pattern_match.h Fix shadow variable defn. 2021-12-02 11:40:31 +00:00
eda_rect.h Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
eda_shape.h Fix bounding boxes and hittesting for arcs in eeschema. 2022-01-16 23:54:59 +00:00
eda_text.h More EDA_ANGLE changes. 2022-01-14 16:08:19 +00:00
eda_units.h Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
enum_vector.h Comment-only changes 2020-01-10 16:43:01 -08:00
env_paths.h Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.h Namespace the env_vars.h functions 2021-06-27 00:38:19 -04:00
executable_names.h
filehistory.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
filename_resolver.h Fully resolve path list for Kicad2Step. 2021-08-14 11:21:25 +01:00
filter_reader.h Cleanup wx includes in the filter reader 2021-06-04 01:26:58 +01:00
footprint_editor_settings.h Move rotation angle increments to UNIT_BINDER and EDA_ANGLE. 2022-01-19 15:15:33 +00:00
footprint_filter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_info.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
fp_lib_table.h Fp editor: do not change item UUIDs when loading a footprint from library. 2021-03-30 12:58:22 +02:00
frame_type.h Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
gbr_metadata.h Header clean up round 2. 2020-12-19 13:55:28 -05:00
gbr_netlist_metadata.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
gestfich.h Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
gl_context_mgr.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
gl_utils.h Force Mesa to use its own call 2022-01-08 17:13:52 -08:00
gr_basic.h Remove dead code. 2022-01-18 01:40:03 +00:00
gr_text.h Cleanup GRText APIs, 3D Viewer <-> board APIs, and Plotter APIs. 2022-01-10 14:17:11 +00:00
grid_tricks.h Promote to cell selection for spreadsheet-style paste. 2021-12-24 16:29:23 +00:00
hash_eda.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
hashtables.h Nix the deprecated binary/unary base class that aren't actually needed 2022-01-04 18:58:42 -05:00
hotkey_store.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
hotkeys_basic.h Fix Linux build issue. 2021-12-24 08:51:51 -05:00
html_window.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
i18n_utility.h
id.h Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
ignore.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
import_export.h
inspectable.h Coverity issue fixes. 2021-06-30 18:08:49 -04:00
intrusive_list.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
ki_exception.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
kiface_base.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiface_ids.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiid.h Don't generate duplicate IDs in line/wire/bus tool. 2021-11-24 13:20:44 +00:00
kiway.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiway_express.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.h KIWAY_HOLDER doesnt need wx/frame.h 2021-06-03 18:59:11 -04:00
kiway_mgr.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
launch_ext.h Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_ids.h Add show/hide controls for ERC markers. 2021-12-24 17:38:50 +00:00
lib_id.h Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table_base.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
lib_table_grid.h Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_item.h Evict some more eda_item.h includes 2021-06-08 19:12:29 -04:00
lib_tree_model.h Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
lib_tree_model_adapter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
locale_io.h Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
logging.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
macros.h Overhaul arc internal model to not over-specify information. 2021-10-15 12:45:43 +01:00
macros_swig.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
mail_type.h Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
marker_base.h Another batch of point changes 2022-01-01 13:17:12 -05:00
markup_parser.h PEGTL 2.x->3.x 2022-01-10 23:22:23 +00:00
menus_helpers.h Remove transitive inclusion of bitmaps.h 2021-03-07 16:08:57 -05:00
multivector.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
netclass.h Return new string to avoid losing the reference 2021-08-22 16:56:41 -07:00
newstroke_font.h
observable.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_transforms.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_viewitem.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
outline_mode.h python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py 2020-10-21 13:23:06 +02:00
pad_shapes.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
page_info.h Yeet wxPoint/wxSize out of PLOTTER 2021-12-29 19:02:50 +00:00
painter.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
panel_hotkeys_editor.h Expunge update UI event handler from paged dialog object. 2021-12-27 18:40:12 -05:00
panel_text_variables.h Variable substitution framework. 2020-03-30 14:15:59 +01:00
paths.h fixe paths 2021-12-02 20:23:00 +00:00
pcb_base_frame.h Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
pcb_display_options.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_group.h Move BOARD_ITEM::Rotate() to EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_screen.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
pgm_base.h Prevent dereferencing frame on exit 2021-11-15 10:07:28 -08:00
printout.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
profile.h Add legacy CTOR for PROF_COUNTER 2021-12-15 12:52:08 -08:00
progress_reporter.h Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
project.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
properties.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
property.h common: add PROPERTY::IsValueDefined() 2021-05-03 23:45:54 +02:00
property_mgr.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
ptree.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
rc_item.h Fix compil issue on c++17/msys2 (and perhaps some other compilers) 2022-01-10 09:15:26 +01:00
refdes_utils.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.h Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
reporter.h Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
scintilla_tricks.h Dark theme support for SPICE model editor 2021-12-03 03:41:32 +01:00
scoped_set_reset.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
search_stack.h Fix broken search stack behavior. 2021-11-13 07:52:25 -05:00
status_popup.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
streamwrapper.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
string_utils.h Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
stroke_params.h Another batch of point changes 2022-01-01 13:17:12 -05:00
sync_queue.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
systemdirsappend.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
template_fieldnames.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
textentry_tricks.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
title_block.h Fix issue with predefined variable texts ${COMMENT0} to ${COMMENT9} 2021-02-21 18:29:14 +01:00
trace_helpers.h Trace logging for fonts. 2022-01-18 14:08:47 +00:00
undo_redo_container.h Fix compil warnings (UNDO_REDO::GROUP renamed to UNDO_REDO::REGROUP to fix 2021-08-28 11:44:01 +02:00
utf8.h Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
wildcards_and_files_ext.h altium: Allow extraction of names of footprints stored in *.PcbLib file 2022-01-17 19:51:51 +01:00
wx_filename.h Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wxdataviewctrl_helpers.h
wxstream_helper.h Use heap instead of stack for CopyStreamData 2021-11-10 22:05:44 -05:00
xnode.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
zoom_defines.h Increase maximum zoom for pcbnew and gerbview 2021-06-11 14:26:38 -07:00